
This is an extention of Daniel Schwierzeck's work [1] on a new SPL framework and is intented only as a prototype to facilitate further discussion.
Please refer [2] for an overview of this approach:
I have extended his work to make it a little more generic, did some minor modifications and adapted it for OMAP4 as a prototype.
Appreciate your feedback.
[1] https://github.com/danielschwierzeck/u-boot-spl/commits/spl [2] http://marc.info/?l=u-boot&m=130823112116502&w=2
Aneesh V (3): armv7: adapt Makefile for spl building omap: common spl support for OMAP3/4 omap4: adapt Makefile for spl building
Daniel Schwierzeck (4): Adapt config.mk for usage in spl/Makefile Use ALL-y style instead of ifeq blocks for better readability and upgradeability Add new folder and build system for SPL Hook spl directory into main Makefile
Makefile | 26 ++++---- arch/arm/cpu/armv7/Makefile | 9 ++- arch/arm/cpu/armv7/omap-common/Makefile | 9 ++- arch/arm/cpu/armv7/omap-common/spl.c | 56 ++++++++++++++++ arch/arm/cpu/armv7/omap-common/spl.lds | 62 ++++++++++++++++++ arch/arm/cpu/armv7/omap4/Makefile | 12 ++-- config.mk | 32 ++++++++-- include/configs/omap4_sdp4430.h | 8 +++ spl/Makefile | 105 +++++++++++++++++++++++++++++++ 9 files changed, 287 insertions(+), 32 deletions(-) create mode 100644 arch/arm/cpu/armv7/omap-common/spl.c create mode 100644 arch/arm/cpu/armv7/omap-common/spl.lds create mode 100644 spl/Makefile