From 33d346464adb8dc206d1f9adf73bdfe2ed959502 Mon Sep 17 00:00:00 2001 From: Stefan Roese Date: Mon, 27 Aug 2012 12:50:59 +0200 Subject: SPL: Add NOR flash booting support SPL NOR flash booting support is quite simple. Only copying of the images is needed. On MPC5xxx we need to make sure to only use the standard memcpy() implementation and not the MPC5xxx specific one. As the MPC5xxx version has some complexity which is not needed for this SPL booting. Signed-off-by: Stefan Roese Signed-off-by: Tom Rini --- common/spl/spl.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'common/spl/spl.c') diff --git a/common/spl/spl.c b/common/spl/spl.c index 3b4fcba4c..3156401fd 100644 --- a/common/spl/spl.c +++ b/common/spl/spl.c @@ -142,6 +142,11 @@ void board_init_r(gd_t *dummy1, ulong dummy2) spl_nand_load_image(); break; #endif +#ifdef CONFIG_SPL_NOR_SUPPORT + case BOOT_DEVICE_NOR: + spl_nor_load_image(); + break; +#endif #ifdef CONFIG_SPL_YMODEM_SUPPORT case BOOT_DEVICE_UART: spl_ymodem_load_image(); -- cgit v1.2.3-70-g09d2