summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDipen Dudhat <dipen.dudhat@freescale.com>2009-10-07 15:47:47 -0400
committerJustin Waters <justin.waters@timesys.com>2009-10-07 15:47:47 -0400
commit51fad42204d5b1cdd3bdc89fd8685fcd3414a2a0 (patch)
tree7c910f08583af9021c44657c7656a45ad1dc931c /Makefile
parent6225e77f84d77a661222dbc2b1bcd6dbf0842d7a (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--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index fb2536ef68..81f806fd10 100644
--- a/Makefile
+++ b/Makefile
@@ -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