[U-Boot] [PATCH] Remove config.mk for da8xxevm based boards.

Move CONFIG_SYS_TEXT_BASE to the board's config file, and remove the now unnecessary config.mk file.
Signed-off-by: Sughosh Ganu urwithsughosh@gmail.com --- board/davinci/da8xxevm/config.mk | 43 -------------------------------------- include/configs/da830evm.h | 1 + include/configs/da850evm.h | 1 + 3 files changed, 2 insertions(+), 43 deletions(-) delete mode 100644 board/davinci/da8xxevm/config.mk
diff --git a/board/davinci/da8xxevm/config.mk b/board/davinci/da8xxevm/config.mk deleted file mode 100644 index e176f7d..0000000 --- a/board/davinci/da8xxevm/config.mk +++ /dev/null @@ -1,43 +0,0 @@ -# -# (C) Copyright 2008, Texas Instruments, Inc. http://www.ti.com/ -# -# Copyright (C) 2007 Sergey Kubushyn ksi@koi8.net -# -# (C) Copyright 2002 -# Gary Jennejohn, DENX Software Engineering, gj@denx.de -# David Mueller, ELSOFT AG, d.mueller@elsoft.ch -# -# 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 -# - -# Texas Instruments DA8xx EVM board (ARM925EJS) cpu -# see http://www.ti.com/ for more information on Texas Instruments -# -# DA8xx EVM has 1 bank of 64 MB SDRAM (2 16Meg x16 chips). -# Physical Address: -# C000'0000 to C400'0000 -# -# Linux-Kernel is expected to be at C000'8000, entry C000'8000 -# (mem base + reserved) -# -# we load ourself to C108 '0000 - - -#Provide at least 16MB spacing between us and the Linux Kernel image -CONFIG_SYS_TEXT_BASE = 0xC1080000 diff --git a/include/configs/da830evm.h b/include/configs/da830evm.h index 160ece2..4d93482 100644 --- a/include/configs/da830evm.h +++ b/include/configs/da830evm.h @@ -42,6 +42,7 @@ #define CONFIG_SYS_HZ 1000 #define CONFIG_SKIP_LOWLEVEL_INIT #define CONFIG_SKIP_RELOCATE_UBOOT /* to a proper address, init done */ +#define CONFIG_SYS_TEXT_BASE 0xc1080000
/* * Memory Info diff --git a/include/configs/da850evm.h b/include/configs/da850evm.h index 7bf6336..523002d 100644 --- a/include/configs/da850evm.h +++ b/include/configs/da850evm.h @@ -40,6 +40,7 @@ #define CONFIG_SYS_HZ_CLOCK clk_get(DAVINCI_AUXCLK_CLKID) #define CONFIG_SYS_HZ 1000 #define CONFIG_SKIP_LOWLEVEL_INIT +#define CONFIG_SYS_TEXT_BASE 0xc1080000
/* * Memory Info

On Fri, Oct 22, 2010 at 3:28 PM, Sughosh Ganu urwithsughosh@gmail.com wrote:
Move CONFIG_SYS_TEXT_BASE to the board's config file, and remove the now unnecessary config.mk file.
Signed-off-by: Sughosh Ganu urwithsughosh@gmail.com
Applies cleanly to fff6ec382c139eb242bd85356e66a0bc43becb63. No checkstyle warnings.
Tested with da850evm + nand and env.oob.
Tested-by: Ben Gardiner bengardiner@nanometrics.ca
Best Regards, Ben Gardiner
--- Nanometrics Inc. http://www.nanometrics.ca

Dear Sughosh Ganu,
In message 1287775683-17887-1-git-send-email-urwithsughosh@gmail.com you wrote:
Move CONFIG_SYS_TEXT_BASE to the board's config file, and remove the now unnecessary config.mk file.
Signed-off-by: Sughosh Ganu urwithsughosh@gmail.com
board/davinci/da8xxevm/config.mk | 43 -------------------------------------- include/configs/da830evm.h | 1 + include/configs/da850evm.h | 1 + 3 files changed, 2 insertions(+), 43 deletions(-) delete mode 100644 board/davinci/da8xxevm/config.mk
Applied, thanks.
Dear Sandeep, hope it's OK that I pulled this directly.
Best regards,
Wolfgang Denk
participants (3)
-
Ben Gardiner
-
Sughosh Ganu
-
Wolfgang Denk