summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authordzu@denx.de <dzu@eddie.localdomain>2006-04-19 11:52:46 +0200
committerDetlev Zundel <dzu@eddie.localdomain>2006-04-19 11:52:46 +0200
commita367d42640e3cb10afeb4950bd5beb1c7f6cf107 (patch)
tree7c41a069cee7f9e38be792819cdc535524fdc8ab /Makefile
parent8419c013048b1f15f3fa2fc7c0463d860a04ee3e (diff)
downloadu-boot-imx-a367d42640e3cb10afeb4950bd5beb1c7f6cf107.zip
u-boot-imx-a367d42640e3cb10afeb4950bd5beb1c7f6cf107.tar.gz
u-boot-imx-a367d42640e3cb10afeb4950bd5beb1c7f6cf107.tar.bz2
Update for NC650 board. Add NC650 based CP850 configuration.
Signed-off-by: dzu@denx.de <dzu@denx.de>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 15 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 9b93463..249c9f0 100644
--- a/Makefile
+++ b/Makefile
@@ -633,8 +633,21 @@ NETTA2_config: unconfig
}
@./mkconfig -a $(call xtract_NETTA2,$@) ppc mpc8xx netta2
-NC650_config: unconfig
- @./mkconfig $(@:_config=) ppc mpc8xx nc650
+NC650_Rev1_config \
+NC650_Rev2_config \
+CP850_config: unconfig
+ @ >include/config.h
+ @[ -z "$(findstring CP850,$@)" ] || \
+ { echo "#define CONFIG_CP850 1" >>include/config.h ; \
+ echo "#define CONFIG_IDS852_REV2 1" >>include/config.h ; \
+ }
+ @[ -z "$(findstring Rev1,$@)" ] || \
+ { echo "#define CONFIG_IDS852_REV1 1" >>include/config.h ; \
+ }
+ @[ -z "$(findstring Rev2,$@)" ] || \
+ { echo "#define CONFIG_IDS852_REV2 1" >>include/config.h ; \
+ }
+ @./mkconfig -a NC650 ppc mpc8xx nc650
NX823_config: unconfig
@./mkconfig $(@:_config=) ppc mpc8xx nx823