summaryrefslogtreecommitdiffstats
path: root/include/spl.h
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2014-10-31 08:31:00 +0100
committerTom Rini <trini@ti.com>2014-11-17 08:47:17 -0500
commit0c3117b1f740405ae16f267b4d0534906df433ba (patch)
tree0cd63bedcc0f162894694ea1348886711e4969a6 /include/spl.h
parentbd1bb3c6a7364145fd781aeef56fa661e918f707 (diff)
downloadblackbird-obmc-uboot-0c3117b1f740405ae16f267b4d0534906df433ba.tar.gz
blackbird-obmc-uboot-0c3117b1f740405ae16f267b4d0534906df433ba.zip
spl, nand: add option to boot raw u-boot.bin image only
enable to boot only a raw u-boot.bin image from nand with the CONFIG_SPL_NAND_RAW_ONLY define. This option saves space on boards where spl space is low. Signed-off-by: Heiko Schocher <hs@denx.de> Reviewed-by: Andreas Bießmann <andreas.devel@googlemail.com> Reviewed-by: Bo Shen <voice.shen@atmel.com> Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
Diffstat (limited to 'include/spl.h')
-rw-r--r--include/spl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/spl.h b/include/spl.h
index 16b3566a94..b2e5bf726f 100644
--- a/include/spl.h
+++ b/include/spl.h
@@ -35,6 +35,7 @@ extern struct spl_image_info spl_image;
void preloader_console_init(void);
u32 spl_boot_device(void);
u32 spl_boot_mode(void);
+void spl_set_header_raw_uboot(void);
void spl_parse_image_header(const struct image_header *header);
void spl_board_prepare_for_linux(void);
void __noreturn jump_to_image_linux(void *arg);
OpenPOWER on IntegriCloud