summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2010-10-04 00:21:51 +0200
committerWolfgang Denk <wd@denx.de>2010-10-19 23:05:19 +0200
commit7c957c0e7427e8bc1039e39850de1fead26b3c53 (patch)
tree901d4cc5a31cd342f72f928dca361831ba49ac05
parentf97e9c65b3906cd656c14ed0fd35eae0c1649857 (diff)
downloadu-boot-imx-7c957c0e7427e8bc1039e39850de1fead26b3c53.zip
u-boot-imx-7c957c0e7427e8bc1039e39850de1fead26b3c53.tar.gz
u-boot-imx-7c957c0e7427e8bc1039e39850de1fead26b3c53.tar.bz2
Build: PXA: Fix TrizepsIV build variants
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
-rwxr-xr-xMAKEALL5
-rw-r--r--Makefile8
-rw-r--r--board/trizepsiv/conxs.c2
-rw-r--r--boards.cfg2
4 files changed, 4 insertions, 13 deletions
diff --git a/MAKEALL b/MAKEALL
index 5eb8570..51312dd 100755
--- a/MAKEALL
+++ b/MAKEALL
@@ -468,10 +468,7 @@ LIST_at91=" \
## Xscale Systems
#########################################################################
-LIST_pxa="$(boards_by_cpu pxa)
- polaris \
- trizepsiv \
-"
+LIST_pxa="$(boards_by_cpu pxa)"
LIST_ixp="$(boards_by_cpu ixp)
pdnb3 \
diff --git a/Makefile b/Makefile
index 8078d71..9dcd59d 100644
--- a/Makefile
+++ b/Makefile
@@ -1010,14 +1010,6 @@ scpu_config: unconfig
fi
@$(MKCONFIG) -n $@ -a pdnb3 arm ixp pdnb3 prodrive
-polaris_config \
-trizepsiv_config : unconfig
- @mkdir -p $(obj)include
- @if [ "$(findstring polaris,$@)" ] ; then \
- echo "#define CONFIG_POLARIS 1" >>$(obj)include/config.h ; \
- fi;
- @$(MKCONFIG) -n $@ -a trizepsiv arm pxa trizepsiv
-
#########################################################################
## ARM1136 Systems
#########################################################################
diff --git a/board/trizepsiv/conxs.c b/board/trizepsiv/conxs.c
index 7fac73d..0c67367 100644
--- a/board/trizepsiv/conxs.c
+++ b/board/trizepsiv/conxs.c
@@ -45,7 +45,7 @@ extern struct serial_device serial_ffuart_device;
extern struct serial_device serial_btuart_device;
extern struct serial_device serial_stuart_device;
-#if CONFIG_POLARIS
+#if CONFIG_MK_POLARIS
#define BOOT_CONSOLE "serial_stuart"
#else
#define BOOT_CONSOLE "serial_ffuart"
diff --git a/boards.cfg b/boards.cfg
index 9717ed3..3960bef 100644
--- a/boards.cfg
+++ b/boards.cfg
@@ -63,6 +63,8 @@ lubbock arm pxa
palmld arm pxa
palmtc arm pxa
pleb2 arm pxa
+polaris arm pxa trizepsiv - - trizepsiv:POLARIS
+trizepsiv arm pxa
vpac270_nor_128 arm pxa vpac270 - - vpac270:NOR,RAM_128M
vpac270_nor_256 arm pxa vpac270 - - vpac270:NOR,RAM_256M
vpac270_ond_256 arm pxa vpac270 - - vpac270:ONENAND,RAM_256M