blob: 92eb8783a3ae3818399b54319911c2b28a0a6b33 [file] [log] [blame]
Heiko Stübner5c43acb2017-02-18 19:46:26 +01001/*
2 * (C) Copyright 2017 Heiko Stuebner <heiko@sntech.de>
3 *
4 * SPDX-License-Identifier: GPL-2.0
5 */
6
7#ifndef _ASM_ARCH_BOOTROM_H
8#define _ASM_ARCH_BOOTROM_H
9
10/*
11 * Saved Stack pointer address.
12 * Access might be needed in some special cases.
13 */
14extern u32 SAVE_SP_ADDR;
15
Simon Glassef0ab852017-04-15 13:11:31 -060016/**
Heiko Stübner5c43acb2017-02-18 19:46:26 +010017 * Hand control back to the bootrom to load another
18 * boot stage.
19 */
Simon Glassef0ab852017-04-15 13:11:31 -060020void back_to_bootrom(void);
21
22/**
23 * Assembler component for the above (do not call this directly)
24 */
25void _back_to_bootrom_s(void);
Heiko Stübner5c43acb2017-02-18 19:46:26 +010026
27#endif