* [U-Boot] [PATCH] MX51: vision2: Fix build for vision2 board.
@ 2011-05-10 18:13 Fabio Estevam
2011-05-15 14:58 ` Stefano Babic
0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2011-05-10 18:13 UTC (permalink / raw)
To: u-boot
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>
---
board/ttcontrol/vision2/config.mk | 25 -------------------------
boards.cfg | 2 +-
include/configs/vision2.h | 1 +
3 files changed, 2 insertions(+), 26 deletions(-)
delete mode 100644 board/ttcontrol/vision2/config.mk
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 2b0900a..25c1a86 100644
--- a/boards.cfg
+++ b/boards.cfg
@@ -124,7 +124,7 @@ ca9x4_ct_vxp arm armv7 vexpress armltd
efikamx arm armv7 efikamx - mx5
mx51evk arm armv7 mx51evk freescale mx5 mx51evk:IMX_CONFIG=board/freescale/mx51evk/imximage.cfg
mx53evk arm armv7 mx53evk freescale mx5 mx53evk:IMX_CONFIG=board/freescale/mx53evk/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 4c8e7fa..b45113d 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>
--
1.6.0.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [PATCH] MX51: vision2: Fix build for vision2 board.
2011-05-10 18:13 [U-Boot] [PATCH] MX51: vision2: Fix build for vision2 board Fabio Estevam
@ 2011-05-15 14:58 ` Stefano Babic
0 siblings, 0 replies; 2+ messages in thread
From: Stefano Babic @ 2011-05-15 14:58 UTC (permalink / raw)
To: u-boot
On 05/10/2011 08:13 PM, Fabio Estevam wrote:
> 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>
Applied to u-boot-imx, thanks.
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-05-15 14:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-10 18:13 [U-Boot] [PATCH] MX51: vision2: Fix build for vision2 board Fabio Estevam
2011-05-15 14:58 ` Stefano Babic
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox