summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTimur Tabi <timur@freescale.com>2007-01-31 15:54:29 -0600
committerKim Phillips <kim.phillips@freescale.com>2007-03-02 11:05:54 -0600
commit7a78f148d6a7298e4fface680dc7eacd877b1aba (patch)
tree67e86d3f073a66ee4f7744920a84ee3974dca39d /Makefile
parentfab16807adad350f618024350c6950165c247c72 (diff)
downloadu-boot-imx-7a78f148d6a7298e4fface680dc7eacd877b1aba.zip
u-boot-imx-7a78f148d6a7298e4fface680dc7eacd877b1aba.tar.gz
u-boot-imx-7a78f148d6a7298e4fface680dc7eacd877b1aba.tar.bz2
mpc83xx: Add support for the MPC8349E-mITX-GP
Add support for the MPC8349E-mITX-GP, a stripped-down version of the MPC8349E-mITX. Bonus features include support for low-boot (BMS bit in HRCW is 0) for the ITX and a README for the ITX and the ITX-GP. Signed-off-by: Timur Tabi <timur@freescale.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 13 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 3e4afcc..47008ee 100644
--- a/Makefile
+++ b/Makefile
@@ -1642,8 +1642,19 @@ MPC832XEMDS_SLAVE_config: unconfig
MPC8349EMDS_config: unconfig
@$(MKCONFIG) $(@:_config=) ppc mpc83xx mpc8349emds
-MPC8349ITX_config: unconfig
- @$(MKCONFIG) $(@:_config=) ppc mpc83xx mpc8349itx
+MPC8349ITX_config \
+MPC8349ITX_LOWBOOT_config \
+MPC8349ITXGP_config: unconfig
+ @mkdir -p $(obj)include
+ @mkdir -p $(obj)board/mpc8349itx
+ @echo "#define CONFIG_$(subst _LOWBOOT,,$(@:_config=))" >> $(obj)include/config.h
+ @if [ "$(findstring GP,$@)" ] ; then \
+ echo "TEXT_BASE = 0xFE000000" >$(obj)board/mpc8349itx/config.tmp ; \
+ fi
+ @if [ "$(findstring LOWBOOT,$@)" ] ; then \
+ echo "TEXT_BASE = 0xFE000000" >$(obj)board/mpc8349itx/config.tmp ; \
+ fi
+ @$(MKCONFIG) -a -n $(@:_config=) MPC8349ITX ppc mpc83xx mpc8349itx
MPC8360EMDS_config \
MPC8360EMDS_HOST_33_config \