From 135ae0062f358c644d3c6a40adea3e2de6269157 Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Sat, 22 Jul 2006 01:20:03 +0200 Subject: [PATCH] Add configuration for cam5200 board (based on TQM5200S). --- CHANGELOG | 2 ++ Makefile | 8 ++++---- board/tqm5200/tqm5200.c | 4 ++-- include/configs/TQM5200.h | 12 ++++++------ 4 files changed, 14 insertions(+), 12 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 557e319605..ee832bc866 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -2,6 +2,8 @@ Changes since U-Boot 1.1.4: ====================================================================== +* Add configuration for cam5200 board (based on TQM5200S). + * More code cleanup * Disabled kvme080 board in MAKEALL because of build problems. diff --git a/Makefile b/Makefile index 42ea681ee3..5879079ba1 100644 --- a/Makefile +++ b/Makefile @@ -406,18 +406,18 @@ TQM5200_B_HIGHBOOT_config \ TQM5200S_config \ TQM5200S_HIGHBOOT_config \ TQM5200_STK100_config \ -cameron_config \ +cam5200_config \ MiniFAP_config: unconfig @ >include/config.h @[ -z "$(findstring MiniFAP,$@)" ] || \ { echo "#define CONFIG_MINIFAP" >>include/config.h ; \ echo "... TQM5200_AC on MiniFAP" ; \ } - @[ -z "$(findstring cameron,$@)" ] || \ - { echo "#define CONFIG_CAMERON" >>include/config.h ; \ + @[ -z "$(findstring cam5200,$@)" ] || \ + { echo "#define CONFIG_CAM5200" >>include/config.h ; \ echo "#define CONFIG_TQM5200S" >>include/config.h ; \ echo "#define CONFIG_TQM5200_B" >>include/config.h ; \ - echo "... TQM5200S on Cameron" ; \ + echo "... TQM5200S on Cam5200" ; \ } @[ -z "$(findstring STK100,$@)" ] || \ { echo "#define CONFIG_STK52XX_REV100" >>include/config.h ; \ diff --git a/board/tqm5200/tqm5200.c b/board/tqm5200/tqm5200.c index 8ed44d84a1..d6f7737d5b 100644 --- a/board/tqm5200/tqm5200.c +++ b/board/tqm5200/tqm5200.c @@ -288,8 +288,8 @@ int checkboard (void) # define CARRIER_NAME "STK52xx" #elif defined(CONFIG_TB5200) # define CARRIER_NAME "TB5200" -#elif defined(CONFIG_CAMERON) -# define CARRIER_NAME "Cameron" +#elif defined(CONFIG_CAM5200) +# define CARRIER_NAME "Cam5200" #else # error "Unknown carrier board" #endif diff --git a/include/configs/TQM5200.h b/include/configs/TQM5200.h index 342cf1be45..717af86b90 100644 --- a/include/configs/TQM5200.h +++ b/include/configs/TQM5200.h @@ -37,7 +37,7 @@ #define CONFIG_TQM5200 1 /* ... on TQM5200 module */ #undef CONFIG_TQM5200_REV100 /* define for revision 100 modules */ -#ifndef CONFIG_CAMERON /* On a Cameron board or ... */ +#ifndef CONFIG_CAM5200 /* On a Cameron board or ... */ #define CONFIG_STK52XX 1 /* ... on a STK52XX board */ #endif @@ -132,7 +132,7 @@ #define ADD_USB_CMD 0 #endif -#ifndef CONFIG_CAMERON +#ifndef CONFIG_CAM5200 /* POST support */ #define CONFIG_POST (CFG_POST_MEMORY | \ CFG_POST_CPU | \ @@ -218,7 +218,7 @@ "cp.b 200000 FC000000 ${filesize};" \ "protect on FC000000 FC05FFFF\0" # endif /* CONFIG_TQM5200_B */ -#elif defined (CONFIG_CAMERON) +#elif defined (CONFIG_CAM5200) # define ENV_UPDT \ "update=protect off FC000000 FC03FFFF;" \ "erase FC000000 FC03FFFF;" \ @@ -331,7 +331,7 @@ #define CFG_MAX_FLASH_SECT 512 /* max num of sects on one chip */ #define CFG_FLASH_USE_BUFFER_WRITE 1 -#if defined (CONFIG_CAMERON) +#if defined (CONFIG_CAM5200) # define CFG_ENV_ADDR (CFG_FLASH_BASE + 0x00040000) #elif defined(CONFIG_TQM5200_B) # define CFG_ENV_ADDR (CFG_FLASH_BASE + 0x00080000) @@ -371,7 +371,7 @@ "8m(misc)," \ "16m(big-fs)" # endif /* CONFIG_TQM5200_B */ -#elif defined (CONFIG_CAMERON) +#elif defined (CONFIG_CAM5200) # define MTDPARTS_DEFAULT "mtdparts=TQM5200-0:768k(firmware)," \ "1792k(kernel)," \ "3584k(small-fs)," \ @@ -421,7 +421,7 @@ # define CFG_RAMBOOT 1 #endif -#if defined (CONFIG_CAMERON) +#if defined (CONFIG_CAM5200) # define CFG_MONITOR_LEN (256 << 10) /* Reserve 256 kB for Monitor */ #elif defined(CONFIG_TQM5200_B) # define CFG_MONITOR_LEN (512 << 10) /* Reserve 512 kB for Monitor */ -- 2.39.5