summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-rockchip/bootrom.h
blob: 92eb8783a3ae3818399b54319911c2b28a0a6b33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
 * (C) Copyright 2017 Heiko Stuebner <heiko@sntech.de>
 *
 * SPDX-License-Identifier:	GPL-2.0
 */

#ifndef _ASM_ARCH_BOOTROM_H
#define _ASM_ARCH_BOOTROM_H

/*
 * Saved Stack pointer address.
 * Access might be needed in some special cases.
 */
extern u32 SAVE_SP_ADDR;

/**
 * Hand control back to the bootrom to load another
 * boot stage.
 */
void back_to_bootrom(void);

/**
 * Assembler component for the above (do not call this directly)
 */
void _back_to_bootrom_s(void);

#endif