summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-02-07 10:47:30 -0700
committerHans de Goede <hdegoede@redhat.com>2015-02-16 20:15:09 +0100
commit942cb0b6a29f74507adeb0bce7ff7f23f69faf84 (patch)
treedb87608a735d5920489af93a7d3c8afd60f8dfc2 /arch/arm/include/asm
parentc01c71bc16d2836c3ff81af54529dab0686bca00 (diff)
downloadtalos-obmc-uboot-942cb0b6a29f74507adeb0bce7ff7f23f69faf84.tar.gz
talos-obmc-uboot-942cb0b6a29f74507adeb0bce7ff7f23f69faf84.zip
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.h10
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 c3e636e1d9..60a5bd8c85 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
OpenPOWER on IntegriCloud