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>
Showing
- README 5 additions, 0 deletionsREADME
- arch/arm/cpu/armv7/am33xx/board.c 1 addition, 1 deletionarch/arm/cpu/armv7/am33xx/board.c
- arch/arm/cpu/armv7/omap-common/Makefile 0 additions, 7 deletionsarch/arm/cpu/armv7/omap-common/Makefile
- arch/arm/cpu/armv7/omap-common/boot-common.c 1 addition, 1 deletionarch/arm/cpu/armv7/omap-common/boot-common.c
- arch/arm/cpu/armv7/omap-common/hwinit-common.c 1 addition, 1 deletionarch/arm/cpu/armv7/omap-common/hwinit-common.c
- arch/arm/cpu/armv7/omap-common/spl_nand.c 1 addition, 1 deletionarch/arm/cpu/armv7/omap-common/spl_nand.c
- arch/arm/cpu/armv7/omap3/board.c 1 addition, 1 deletionarch/arm/cpu/armv7/omap3/board.c
- arch/arm/include/asm/spl.h 0 additions, 40 deletionsarch/arm/include/asm/spl.h
- common/spl/Makefile 37 additions, 0 deletionscommon/spl/Makefile
- common/spl/spl.c 2 additions, 3 deletionscommon/spl/spl.c
- common/spl/spl_ymodem.c 1 addition, 2 deletionscommon/spl/spl_ymodem.c
- drivers/mmc/Makefile 4 additions, 1 deletiondrivers/mmc/Makefile
- drivers/mmc/spl_mmc.c 1 addition, 1 deletiondrivers/mmc/spl_mmc.c
- include/configs/am335x_evm.h 1 addition, 0 deletionsinclude/configs/am335x_evm.h
- include/configs/am3517_crane.h 1 addition, 0 deletionsinclude/configs/am3517_crane.h
- include/configs/am3517_evm.h 1 addition, 0 deletionsinclude/configs/am3517_evm.h
- include/configs/devkit8000.h 1 addition, 0 deletionsinclude/configs/devkit8000.h
- include/configs/igep00x0.h 1 addition, 0 deletionsinclude/configs/igep00x0.h
- include/configs/mcx.h 1 addition, 0 deletionsinclude/configs/mcx.h
- include/configs/omap3_beagle.h 1 addition, 0 deletionsinclude/configs/omap3_beagle.h
Loading
Please register or sign in to comment