summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-04-24 23:23:30 +0000
committerwdenk <wdenk>2004-04-24 23:23:30 +0000
commite9132ea94c0182400895423c21bb04fa81f0b3f4 (patch)
treef6b5dcb9afdc85d0ef74a4fe3cda6df0dd9c267c /Makefile
parent5cf91d6bdc3e60bd43f9ba1bbb97a43ee49b2b2d (diff)
downloadu-boot-imx-e9132ea94c0182400895423c21bb04fa81f0b3f4.zip
u-boot-imx-e9132ea94c0182400895423c21bb04fa81f0b3f4.tar.gz
u-boot-imx-e9132ea94c0182400895423c21bb04fa81f0b3f4.tar.bz2
Clean up the TQM8xx_YYMHz configurations; allow to use the same
binary image for all clock frequencies. Implement run-time optimization of flash access timing based on the actual bus frequency.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile46
1 files changed, 3 insertions, 43 deletions
diff --git a/Makefile b/Makefile
index 3eb1758..57caddf 100644
--- a/Makefile
+++ b/Makefile
@@ -486,66 +486,26 @@ TOP860_config: unconfig
@./mkconfig $(@:_config=) ppc mpc8xx top860 emk
# Play some tricks for configuration selection
-# All boards can come with 50 MHz (default), 66MHz, 80MHz or 100 MHz clock,
-# but only 855 and 860 boards may come with FEC
-# and 823 boards may have LCD support
-xtract_8xx = $(subst _66MHz,,$(subst _80MHz,,$(subst _100MHz,,$(subst _133MHz,,$(subst _LCD,,$(subst _config,,$1))))))
+# Only 855 and 860 boards may come with FEC
+# and only 823 boards may have LCD support
+xtract_8xx = $(subst _LCD,,$(subst _config,,$1))
FPS850L_config \
FPS860L_config \
NSCU_config \
TQM823L_config \
-TQM823L_66MHz_config \
-TQM823L_80MHz_config \
TQM823L_LCD_config \
-TQM823L_LCD_66MHz_config \
-TQM823L_LCD_80MHz_config \
TQM850L_config \
-TQM850L_66MHz_config \
-TQM850L_80MHz_config \
TQM855L_config \
-TQM855L_66MHz_config \
-TQM855L_80MHz_config \
TQM860L_config \
-TQM860L_66MHz_config \
-TQM860L_80MHz_config \
TQM862L_config \
-TQM862L_66MHz_config \
-TQM862L_80MHz_config \
TQM823M_config \
-TQM823M_66MHz_config \
-TQM823M_80MHz_config \
TQM850M_config \
-TQM850M_66MHz_config \
-TQM850M_80MHz_config \
TQM855M_config \
-TQM855M_66MHz_config \
-TQM855M_80MHz_config \
TQM860M_config \
-TQM860M_66MHz_config \
-TQM860M_80MHz_config \
TQM862M_config \
-TQM862M_66MHz_config \
-TQM862M_80MHz_config \
-TQM862M_100MHz_config \
TQM866M_config: unconfig
@ >include/config.h
- @[ -z "$(findstring _66MHz,$@)" ] || \
- { echo "#define CONFIG_66MHz" >>include/config.h ; \
- echo "... with 66MHz system clock" ; \
- }
- @[ -z "$(findstring _80MHz,$@)" ] || \
- { echo "#define CONFIG_80MHz" >>include/config.h ; \
- echo "... with 80MHz system clock" ; \
- }
- @[ -z "$(findstring _100MHz,$@)" ] || \
- { echo "#define CONFIG_100MHz" >>include/config.h ; \
- echo "... with 100MHz system clock" ; \
- }
- @[ -z "$(findstring _133MHz,$@)" ] || \
- { echo "#define CONFIG_133MHz" >>include/config.h ; \
- echo "... with 133MHz system clock" ; \
- }
@[ -z "$(findstring _LCD,$@)" ] || \
{ echo "#define CONFIG_LCD" >>include/config.h ; \
echo "#define CONFIG_NEC_NL6448BC20" >>include/config.h ; \