summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2011-05-10 08:13:56 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-05-23 08:36:46 +0200
commitc02d828059924d1d0ba8ce87b22fc01b43e5d838 (patch)
treeedad12b0893257f20de488193804b2957c74ae85
parentc08f68c2995ddaaf291efb2ec87a89c50b17ec96 (diff)
downloadu-boot-imx-c02d828059924d1d0ba8ce87b22fc01b43e5d838.zip
u-boot-imx-c02d828059924d1d0ba8ce87b22fc01b43e5d838.tar.gz
u-boot-imx-c02d828059924d1d0ba8ce87b22fc01b43e5d838.tar.bz2
MX51: vision2: Fix build for vision2 board.
config.mk should not be used in board directory and should be removed. Use the same approach for building the image as other MX51/MX53 boards. After this change vision2 board can be built again. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
-rw-r--r--board/ttcontrol/vision2/config.mk25
-rw-r--r--boards.cfg2
-rw-r--r--include/configs/vision2.h1
3 files changed, 2 insertions, 26 deletions
diff --git a/board/ttcontrol/vision2/config.mk b/board/ttcontrol/vision2/config.mk
deleted file mode 100644
index 952037e..0000000
--- a/board/ttcontrol/vision2/config.mk
+++ /dev/null
@@ -1,25 +0,0 @@
-#
-# Copyright 2009 Freescale Semiconductor, Inc. All Rights Reserved.
-#
-# See file CREDITS for list of people who contributed to this
-# project.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2 of
-# the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
-# MA 02111-1307 USA
-#
-
-CONFIG_SYS_TEXT_BASE = 0x97800000
-IMX_CONFIG = $(SRCTREE)/board/$(BOARDDIR)/imximage_hynix.cfg
-ALL += $(obj)u-boot.imx
diff --git a/boards.cfg b/boards.cfg
index c1ccd8b..5f7d69a 100644
--- a/boards.cfg
+++ b/boards.cfg
@@ -131,7 +131,7 @@ mx51evk arm armv7 mx51evk freesca
mx53evk arm armv7 mx53evk freescale mx5 mx53evk:IMX_CONFIG=board/freescale/mx53evk/imximage.cfg
mx53loco arm armv7 mx53loco freescale mx5 mx53loco:IMX_CONFIG=board/freescale/mx53loco/imximage.cfg
mx53smd arm armv7 mx53smd freescale mx5 mx53smd:IMX_CONFIG=board/freescale/mx53smd/imximage.cfg
-vision2 arm armv7 vision2 ttcontrol mx5
+vision2 arm armv7 vision2 ttcontrol mx5 vision2:IMX_CONFIG=board/ttcontrol/vision2/imximage_hynix.cfg
cm_t35 arm armv7 cm_t35 - omap3
omap3_overo arm armv7 overo - omap3
omap3_pandora arm armv7 pandora - omap3
diff --git a/include/configs/vision2.h b/include/configs/vision2.h
index dc3a028..66795b5 100644
--- a/include/configs/vision2.h
+++ b/include/configs/vision2.h
@@ -27,6 +27,7 @@
#define CONFIG_MX51 /* in a mx51 */
#define CONFIG_L2_OFF
+#define CONFIG_SYS_TEXT_BASE 0x97800000
#include <asm/arch/imx-regs.h>