summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-uniphier/boot-mode/boot-device.h
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-02-02 21:11:31 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2016-02-14 16:36:13 +0900
commitfec4816387a978e651da74c83bcdd5019a6d024c (patch)
tree0f35c45af79851593de6e3ba1236b8ac84190f49 /arch/arm/mach-uniphier/boot-mode/boot-device.h
parenta89be270e7eb42fca6c77bb25bd77971569f31ee (diff)
downloadtalos-obmc-uboot-fec4816387a978e651da74c83bcdd5019a6d024c.tar.gz
talos-obmc-uboot-fec4816387a978e651da74c83bcdd5019a6d024c.zip
ARM: uniphier: support USB boot mode for ProXstream2 / PH1-LD6b SoC
The USB boot code is too fat and complicated to be included in SPL (at least for now). So, it was implemented as a separate project (what we call USB-loader). The expected boot sequence is as follows: Boot ROM -> USB-loader -> SPL -> U-Boot proper The USB-loader loads the SPL and U-Boot proper from a USB memory onto the locked L2 cache. Then, SPL needs to copy the U-Boot proper to DRAM, so this mode looks like a NOR boot from the view of SPL. However, we want to distinguish between (genuine) NOR boot and USB boot in some places. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/arm/mach-uniphier/boot-mode/boot-device.h')
-rw-r--r--arch/arm/mach-uniphier/boot-mode/boot-device.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-uniphier/boot-mode/boot-device.h b/arch/arm/mach-uniphier/boot-mode/boot-device.h
index 2ab5a535fa..1c59aaa606 100644
--- a/arch/arm/mach-uniphier/boot-mode/boot-device.h
+++ b/arch/arm/mach-uniphier/boot-mode/boot-device.h
@@ -22,4 +22,6 @@ void ph1_ld4_boot_mode_show(void);
void ph1_pro5_boot_mode_show(void);
void proxstream2_boot_mode_show(void);
+u32 spl_boot_device_raw(void);
+
#endif /* _ASM_BOOT_DEVICE_H_ */
OpenPOWER on IntegriCloud