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 <sr@denx.de>
Signed-off-by: Tom Rini <trini@ti.com>
This commit is contained in:
Stefan Roese 2012-08-27 12:50:59 +02:00 committed by Tom Rini
parent 95a372b836
commit 33d346464a
4 changed files with 71 additions and 0 deletions

View file

@ -56,6 +56,9 @@ void spl_display_print(void);
/* NAND SPL functions */
void spl_nand_load_image(void);
/* NOR SPL functions */
void spl_nor_load_image(void);
/* MMC SPL functions */
void spl_mmc_load_image(void);