[U-Boot] [PATCH 4/4] m68k: Add ME2060_config (Macq Electronique MCF5484-based board)
Philippe De Muyter
phdm at macqel.be
Wed Jun 23 14:35:54 CEST 2010
---
Makefile | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
index 9a436fe..aa8738e 100644
--- a/Makefile
+++ b/Makefile
@@ -2188,6 +2188,7 @@ M5475GFE_config : unconfig
fi
@$(MKCONFIG) -a M5475EVB m68k mcf547x_8x m547xevb freescale
+ME2060_config \
M5485AFE_config \
M5485BFE_config \
M5485CFE_config \
@@ -2197,6 +2198,7 @@ M5485FFE_config \
M5485GFE_config \
M5485HFE_config : unconfig
@case "$@" in \
+ ME2060_config) BOOT=32;CODE=0;VID=0;USB=0;RAM=64;RAM1=0;; \
M5485AFE_config) BOOT=2;CODE=0;VID=0;USB=0;RAM=64;RAM1=0;; \
M5485BFE_config) BOOT=2;CODE=16;VID=0;USB=0;RAM=64;RAM1=0;; \
M5485CFE_config) BOOT=2;CODE=16;VID=1;USB=1;RAM=64;RAM1=0;; \
@@ -2220,6 +2222,19 @@ M5485HFE_config : unconfig
fi; \
if [ "$${USB}" == "1" ] ; then \
echo "#define CONFIG_SYS_USBCTRL" >> $(obj)include/config.h ; \
+ fi; \
+ if [ "$@" == "ME2060_config" ] ; then \
+ echo '#define CONFIG_HOSTNAME ME2060' >> $(obj)include/config.h ; \
+ echo '#define CONFIG_BOARD_NAME_STRING "Macq Electronique ME2060\n"' >> $(obj)include/config.h ; \
+ echo "#define CONFIG_NO_CMD_PCI" >> $(obj)include/config.h ; \
+ echo "#define CONFIG_CMD_DHCP" >> $(obj)include/config.h ; \
+ echo "#define CONFIG_SYS_ALT_MEMTEST" >> $(obj)include/config.h ; \
+ echo "#define CONFIG_SYS_CS0_BASE 0xFE000000" >> $(obj)include/config.h ; \
+ echo "#define CONFIG_SYS_MAX_FLASH_SECT 259" >> $(obj)include/config.h ; \
+ echo "#define CONFIG_ENV_OFFSET 0x8000" >> $(obj)include/config.h ; \
+ echo "#define CONFIG_ENV_SECT_SIZE 0x8000" >> $(obj)include/config.h ; \
+ echo "#define CONFIG_ENV_OFFSET_REDUND 0x10000" >> $(obj)include/config.h ; \
+ echo "TEXT_BASE = 0xFE000000" >$(obj)board/freescale/m548xevb/config.tmp ; \
fi
@$(MKCONFIG) -a M5485EVB m68k mcf547x_8x m548xevb freescale
--
1.6.3.3
More information about the U-Boot
mailing list