diff options
author | Simon Glass <sjg@chromium.org> | 2015-02-07 10:47:30 -0700 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2015-02-16 20:15:09 +0100 |
commit | 942cb0b6a29f74507adeb0bce7ff7f23f69faf84 (patch) | |
tree | db87608a735d5920489af93a7d3c8afd60f8dfc2 /arch/arm/include/asm | |
parent | c01c71bc16d2836c3ff81af54529dab0686bca00 (diff) | |
download | u-boot-imx-942cb0b6a29f74507adeb0bce7ff7f23f69faf84.zip u-boot-imx-942cb0b6a29f74507adeb0bce7ff7f23f69faf84.tar.gz u-boot-imx-942cb0b6a29f74507adeb0bce7ff7f23f69faf84.tar.bz2 |
sunxi: Normalise FEL support
Make sunxi's FEL code fit with the normal U-Boot boot sequence instead of
creating its own. There are some #ifdefs required in start.S. Future work
will hopefully remove these.
This series is available at u-boot-dm, branch sunxi-working.
Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'arch/arm/include/asm')
-rw-r--r-- | arch/arm/include/asm/arch-sunxi/sys_proto.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-sunxi/sys_proto.h b/arch/arm/include/asm/arch-sunxi/sys_proto.h index c3e636e..60a5bd8 100644 --- a/arch/arm/include/asm/arch-sunxi/sys_proto.h +++ b/arch/arm/include/asm/arch-sunxi/sys_proto.h @@ -13,4 +13,14 @@ void sdelay(unsigned long); +/* return_to_fel() - Return to BROM from SPL + * + * This returns back into the BROM after U-Boot SPL has performed its initial + * init. It uses the provided lr and sp to do so. + * + * @lr: BROM link register value (return address) + * @sp: BROM stack pointer + */ +void return_to_fel(uint32_t lr, uint32_t sp); + #endif |