[U-Boot] [PATCH 3/3 v2] MIPS: Add VCT board series support (Part 3/3)

Stefan Roese sr at denx.de
Tue Jan 6 11:36:12 CET 2009


This patch adds support for the Micronas VCT board series.
Currently the following platforms are supported:

  vct_premium
  vct_premium_small
  vct_premium_onenand
  vct_premium_onenand_small
  vct_platinum
  vct_platinum_small
  vct_platinum_onenand
  vct_platinum_onenand_small
  vct_platinumavc
  vct_platinumavc_small
  vct_platinumavc_onenand
  vct_platinumavc_onenand_small

One speciality of the VCT board is that it can't access NOR FLASH
memory-mapped. It has to use special access functions for this.

Signed-off-by: Stefan Roese <sr at denx.de>
---
v2:
- No changes

 MAINTAINERS |    4 ++++
 MAKEALL     |   12 ++++++++++++
 Makefile    |   35 +++++++++++++++++++++++++++++++++++
 3 files changed, 51 insertions(+), 0 deletions(-)

diff --git a/MAINTAINERS b/MAINTAINERS
index f048795..5418b6f 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -659,6 +659,10 @@ Thomas Lange <thomas at corelatus.se>
 Vlad Lungu <vlad.lungu at windriver.com>
 	qemu_mips	MIPS32
 
+Stefan Roese <sr at denx.de>
+
+	vct_xxx		MIPS32 4Kc
+
 #########################################################################
 # Nios-32 Systems:							#
 #									#
diff --git a/MAKEALL b/MAKEALL
index cc49a98..ea007cc 100755
--- a/MAKEALL
+++ b/MAKEALL
@@ -610,6 +610,18 @@ LIST_arm="		\
 LIST_mips4kc="		\
 	incaip		\
 	qemu_mips	\
+	vct_platinum	\
+	vct_platinum_small	\
+	vct_platinum_onenand	\
+	vct_platinum_onenand_small	\
+	vct_platinumavc	\
+	vct_platinumavc_small	\
+	vct_platinumavc_onenand	\
+	vct_platinumavc_onenand_small	\
+	vct_premium	\
+	vct_premium_small	\
+	vct_premium_onenand	\
+	vct_premium_onenand_small	\
 "
 
 LIST_mips5kc="		\
diff --git a/Makefile b/Makefile
index d6cd91a..f2b653c 100644
--- a/Makefile
+++ b/Makefile
@@ -3000,6 +3000,41 @@ incaip_config: unconfig
 tb0229_config: unconfig
 	@$(MKCONFIG) $(@:_config=) mips mips tb0229
 
+vct_premium_config		\
+vct_premium_small_config	\
+vct_premium_onenand_config	\
+vct_premium_onenand_small_config \
+vct_platinum_config		\
+vct_platinum_small_config	\
+vct_platinum_onenand_config	\
+vct_platinum_onenand_small_config \
+vct_platinumavc_config		\
+vct_platinumavc_small_config	\
+vct_platinumavc_onenand_config	\
+vct_platinumavc_onenand_small_config: unconfig
+	@mkdir -p $(obj)include
+	@if [ "$(findstring _premium,$@)" ] ; then \
+		echo "#define CONFIG_VCT_PREMIUM" > $(obj)include/config.h ; \
+		$(XECHO) "... on Premium board variant" ; \
+	fi
+	@if [ "$(findstring _platinum_,$@)" ] ; then \
+		echo "#define CONFIG_VCT_PLATINUM" > $(obj)include/config.h ; \
+		$(XECHO) "... on Platinum board variant" ; \
+	fi
+	@if [ "$(findstring _platinumavc,$@)" ] ; then \
+		echo "#define CONFIG_VCT_PLATINUMAVC" > $(obj)include/config.h ; \
+		$(XECHO) "... on PlatinumAVC board variant" ; \
+	fi
+	@if [ "$(findstring _onenand,$@)" ] ; then \
+		echo "#define CONFIG_VCT_ONENAND" >> $(obj)include/config.h ; \
+		$(XECHO) "... on OneNAND board variant" ; \
+	fi
+	@if [ "$(findstring _small,$@)" ] ; then \
+		echo "#define CONFIG_VCT_SMALL_IMAGE" >> $(obj)include/config.h ; \
+		$(XECHO) "... stripped down image variant" ; \
+	fi
+	@$(MKCONFIG) -a vct mips mips vct micronas
+
 #########################################################################
 ## MIPS32 AU1X00
 #########################################################################
-- 
1.6.1



More information about the U-Boot mailing list