2017-02-18 18:46:26 +00:00
|
|
|
/*
|
|
|
|
* (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;
|
|
|
|
|
2017-04-15 19:11:31 +00:00
|
|
|
/**
|
2017-02-18 18:46:26 +00:00
|
|
|
* Hand control back to the bootrom to load another
|
|
|
|
* boot stage.
|
|
|
|
*/
|
2017-04-15 19:11:31 +00:00
|
|
|
void back_to_bootrom(void);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Assembler component for the above (do not call this directly)
|
|
|
|
*/
|
|
|
|
void _back_to_bootrom_s(void);
|
2017-02-18 18:46:26 +00:00
|
|
|
|
|
|
|
#endif
|