SPL: Move the omap SPL framework to common/spl
authorTom Rini <trini@ti.com>
Mon, 13 Aug 2012 19:03:19 +0000 (12:03 -0700)
committerTom Rini <trini@ti.com>
Thu, 27 Sep 2012 16:49:59 +0000 (09:49 -0700)
commit47f7bcae8c0de8b2a8af7ca309744f041a6d1424
tree89bf4baf0ffa710a196545fff23992278b9232d5
parentd7cb93b28a41237b689c9d84230d7d72a2048021
SPL: Move the omap SPL framework to common/spl

Add a new flag, CONFIG_SPL_FRAMEWORK to opt into the common/spl SPL
framework, enable on all of the previously using boards.  We move the
spl_ymodem.c portion to common/ and spl_mmc.c to drivers/mmc/.  We leave
the NAND one in-place as we plan to replace it later in this series.

We use common/spl to avoid linker problems with respect to merging
constant strings in objects.   Otherwise all strings in common/ will be
linked in and kept which grows SPL in size too much.

Signed-off-by: Tom Rini <trini@ti.com>
28 files changed:
README
arch/arm/cpu/armv7/am33xx/board.c
arch/arm/cpu/armv7/omap-common/Makefile
arch/arm/cpu/armv7/omap-common/boot-common.c
arch/arm/cpu/armv7/omap-common/hwinit-common.c
arch/arm/cpu/armv7/omap-common/spl_nand.c
arch/arm/cpu/armv7/omap3/board.c
arch/arm/include/asm/spl.h
common/spl/Makefile [new file with mode: 0644]
common/spl/spl.c [moved from arch/arm/cpu/armv7/omap-common/spl.c with 98% similarity]
common/spl/spl_ymodem.c [moved from arch/arm/cpu/armv7/omap-common/spl_ymodem.c with 97% similarity]
drivers/mmc/Makefile
drivers/mmc/spl_mmc.c [moved from arch/arm/cpu/armv7/omap-common/spl_mmc.c with 99% similarity]
include/configs/am335x_evm.h
include/configs/am3517_crane.h
include/configs/am3517_evm.h
include/configs/devkit8000.h
include/configs/igep00x0.h
include/configs/mcx.h
include/configs/omap3_beagle.h
include/configs/omap3_evm_common.h
include/configs/omap3_overo.h
include/configs/omap4_common.h
include/configs/omap5_evm.h
include/configs/tam3517-common.h
include/configs/tricorder.h
include/spl.h [new file with mode: 0644]
spl/Makefile