diff options
author | wdenk <wdenk> | 2004-07-01 21:40:08 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2004-07-01 21:40:08 +0000 |
commit | e55ca7e2624988f82d6f77ddab54246621260c8b (patch) | |
tree | 4ad4972b23b77b712d1cc0d4894dadad17a811c9 /Makefile | |
parent | 93f6a6771ba04b217e4c8bbca9196fd16e364479 (diff) | |
download | u-boot-e55ca7e2624988f82d6f77ddab54246621260c8b.tar.gz u-boot-e55ca7e2624988f82d6f77ddab54246621260c8b.tar.xz u-boot-e55ca7e2624988f82d6f77ddab54246621260c8b.zip |
Patch by Andrea Marson, 11 Jun 2004:
Update for PPChameleon board:
- support for SysClk @ 25MHz
- support for Silicon Motion SM712 VGA controller
- some clean ups
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 20 |
1 files changed, 15 insertions, 5 deletions
@@ -606,7 +606,7 @@ wtk_config: unconfig ######################################################################### ## PPC4xx Systems ######################################################################### -xtract_4xx = $(subst _MODEL_BA,,$(subst _MODEL_ME,,$(subst _MODEL_HI,,$(subst _config,,$1)))) +xtract_4xx = $(subst _25,,$(subst _33,,$(subst _BA,,$(subst _ME,,$(subst _HI,,$(subst _config,,$1)))))) ADCIOP_config: unconfig @./mkconfig $(@:_config=) ppc ppc4xx adciop esd @@ -706,10 +706,12 @@ PLU405_config: unconfig PMC405_config: unconfig @./mkconfig $(@:_config=) ppc ppc4xx pmc405 esd -PPChameleonEVB_MODEL_BA_config \ -PPChameleonEVB_MODEL_ME_config \ -PPChameleonEVB_MODEL_HI_config \ -PPChameleonEVB_config: unconfig +PPChameleonEVB_BA_25_config \ +PPChameleonEVB_ME_25_config \ +PPChameleonEVB_HI_25_config \ +PPChameleonEVB_BA_33_config \ +PPChameleonEVB_ME_33_config \ +PPChameleonEVB_HI_33_config: unconfig @ >include/config.h @[ -z "$(findstring _MODEL_BA,$@)" ] || \ { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 0" >>include/config.h ; \ @@ -723,6 +725,14 @@ PPChameleonEVB_config: unconfig { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 2" >>include/config.h ; \ echo "... HIGH-END model" ; \ } + @[ -z "$(findstring _25,$@)" ] || \ + { echo "#define CONFIG_PPCHAMELEON_CLK_25" >>include/config.h ; \ + echo " SysClk = 25MHz" ; \ + } + @[ -z "$(findstring _33,$@)" ] || \ + { echo "#define CONFIG_PPCHAMELEON_CLK_33" >>include/config.h ; \ + echo " SysClk = 33MHz" ; \ + } @./mkconfig -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave VOH405_config: unconfig |