diff options
author | Dipen Dudhat <dipen.dudhat@freescale.com> | 2009-10-07 15:47:47 -0400 |
---|---|---|
committer | Justin Waters <justin.waters@timesys.com> | 2009-10-07 15:47:47 -0400 |
commit | 51fad42204d5b1cdd3bdc89fd8685fcd3414a2a0 (patch) | |
tree | 7c910f08583af9021c44657c7656a45ad1dc931c /Makefile | |
parent | 6225e77f84d77a661222dbc2b1bcd6dbf0842d7a (diff) |
u-boot-2009.03-p2020rdb-RAMBOOT-support-over-SDCARD-boot
RAMBOOT support over SDCARD boot
RAMBOOT support to run uboot on uboot prompt itself,
Usage is,
tftp 0x11000000
go 11000000
Signed-off-by: Dipen Dudhat <dipen.dudhat@freescale.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -2446,6 +2446,7 @@ MPC8572DS_config: unconfig P2020RDB_config \ P2020RDB_SDCARD_config \ +P2020RDB_RAMBOOT_config \ P1021RDB_config \ P1020RDB_config: unconfig @mkdir -p $(obj)include @@ -2454,12 +2455,21 @@ P1020RDB_config: unconfig echo "#define CONFIG_SDCARD_U_BOOT" >> $(obj)include/config.h ; \ $(XECHO) "...SDCARD Boot" ; \ fi ; + @if [ "$(findstring _RAMBOOT_,$@)" ] ; then \ + echo "#define CONFIG_SDCARD_U_BOOT" >> $(obj)include/config.h ; \ + echo "#define CONFIG_SYS_RAMBOOT" >> $(obj)include/config.h ; \ + $(XECHO) "...RAM Boot" ; \ + fi ; @$(XECHO) "... setting CONFIG_MP." ; @$(MKCONFIG) -a P10XX_20XX_RDB ppc mpc85xx p10xx_p20xx_rdb freescale @if [ "$(findstring _SDCARD_,$@)" ] ; then \ echo "TEXT_BASE = 0x11001000" > $(obj)board/freescale/p10xx_p20xx_rdb/config.tmp ; \ echo "CONFIG_SDCARD_U_BOOT = y" >> $(obj)include/config.mk ; \ fi ; + @if [ "$(findstring _RAMBOOT_,$@)" ] ; then \ + echo "TEXT_BASE = 0x11001000" > $(obj)board/freescale/p10xx_p20xx_rdb/config.tmp ; \ + echo "CONFIG_SDCARD_U_BOOT = y" >> $(obj)include/config.mk ; \ + fi ; P1011RDB_config \ P1012RDB_config: unconfig |