summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTsiChungLiew <Tsi-Chung.Liew@freescale.com>2007-10-25 17:16:22 -0500
committerTsiChungLiew <Tsi-Chung.Liew@freescale.com>2007-10-25 17:16:22 -0500
commite8ee8f3ade2a06c1893dd5e68f223070d650c7ed (patch)
tree00743ecb1a2ae9f679ce61b86b01bd4e48e779ca /Makefile
parent688e8eb414ac111cca7ce60bdf30e805ab9a7bcb (diff)
downloadu-boot-imx-e8ee8f3ade2a06c1893dd5e68f223070d650c7ed.zip
u-boot-imx-e8ee8f3ade2a06c1893dd5e68f223070d650c7ed.tar.gz
u-boot-imx-e8ee8f3ade2a06c1893dd5e68f223070d650c7ed.tar.bz2
ColdFire 54455: Fix correct boot location for atmel and intel
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ce7b07f..850c68e 100644
--- a/Makefile
+++ b/Makefile
@@ -1733,9 +1733,13 @@ M54455EVB_i66_config : unconfig
>include/config.h ; \
if [ "$${FLASH}" == "INTEL" ] ; then \
echo "#undef CFG_ATMEL_BOOT" >> $(obj)include/config.h ; \
+ echo "TEXT_BASE = 0x00000000" > $(obj)board/freescale/m54455evb/config.tmp ; \
+ cp $(obj)board/freescale/m54455evb/u-boot.int $(obj)board/freescale/m54455evb/u-boot.lds ; \
echo "... with INTEL boot..." ; \
else \
echo "#define CFG_ATMEL_BOOT" >> $(obj)include/config.h ; \
+ echo "TEXT_BASE = 0x04000000" > $(obj)board/freescale/m54455evb/config.tmp ; \
+ cp $(obj)board/freescale/m54455evb/u-boot.atm $(obj)board/freescale/m54455evb/u-boot.lds ; \
echo "... with ATMEL boot..." ; \
fi; \
echo "#define CFG_INPUT_CLKSRC $${FREQ}" >> $(obj)include/config.h ; \