
Dear Aneesh V,
In message 1305472900-4004-10-git-send-email-aneesh@ti.com you wrote:
Adapted from: nand_spl/board/samsung/smdk6400/Makefile
- Add the SPL makefile for OMAP4430 SDP
- Add the necessary CONFIG flags in the board config file
Signed-off-by: Aneesh V aneesh@ti.com
V2:
- Changed CONFIG_SYS_SPL_TEXT_BASE to 0x40304350 from 0x40304360. This exact address is needed for EMU devices.
- Removed un-necessary compiler options from CFLAGS and AFLAGS. These are already set by .mk files in U-Boot
- Reorganize the make files to re-use common rules between boards
board/ti/sdp4430/config.mk | 3 +- include/configs/omap4_sdp4430.h | 19 +++++ spl/board/ti/omap4.mk | 77 ++++++++++++++++++++ spl/board/ti/rules-omap.mk | 74 +++++++++++++++++++ .../config.mk => spl/board/ti/sdp4430/Makefile | 21 +++--- 5 files changed, 183 insertions(+), 11 deletions(-) create mode 100644 spl/board/ti/omap4.mk create mode 100644 spl/board/ti/rules-omap.mk
See previous comments. Please comine into plain Makefile.
diff --git a/board/ti/sdp4430/config.mk b/board/ti/sdp4430/config.mk index 33901a7..c62965d 100644 --- a/board/ti/sdp4430/config.mk +++ b/board/ti/sdp4430/config.mk @@ -28,4 +28,5 @@ # Linux-Kernel is expected to be at 8000'8000, entry 8000'8000 # (mem base + reserved)
-CONFIG_SYS_TEXT_BASE = 0x80e80000 +# 1MB into the SDRAM to allow for SPL's bss at the beginning of SDRAM +CONFIG_SYS_TEXT_BASE = 0x80100000
Please move #define into board header and get rid of the config.mk
Best regards,
Wolfgang Denk