Patchwork [U-Boot,05/13] sh: Remove config.mk for rsk7203 board

login
register
mail settings
Submitter Nobuhiro Iwamatsu
Date Jan. 17, 2011, 12:50 p.m.
Message ID <1295268663-11004-5-git-send-email-iwamatsu@nigauri.org>
Download mbox | patch
Permalink /patch/79149/
State Accepted
Commit 4f9a5b06f83305e0998378728a2997c3128ea64d
Headers show

Comments

Nobuhiro Iwamatsu - Jan. 17, 2011, 12:50 p.m.
Move CONFIG_SYS_TEXT_BASE to the board's config file, and remove the
unnecessary config.mk file.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
---
 board/renesas/rsk7203/config.mk |   28 ----------------------------
 include/configs/rsk7203.h       |    1 +
 2 files changed, 1 insertions(+), 28 deletions(-)
 delete mode 100644 board/renesas/rsk7203/config.mk
Fabio Giovagnini - Jan. 17, 2011, 1:31 p.m.
I'm working on a rsk7203 derived board.
I do not have a eth interface.
How can I upgrade the kernel using uboot and the serial line?
When I finish can I send the support for my board?

Thanks





On Monday 17 January 2011 13:50:55 Nobuhiro Iwamatsu wrote:
> Move CONFIG_SYS_TEXT_BASE to the board's config file, and remove the
> unnecessary config.mk file.
> 
> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
> ---
>  board/renesas/rsk7203/config.mk |   28 ----------------------------
>  include/configs/rsk7203.h       |    1 +
>  2 files changed, 1 insertions(+), 28 deletions(-)
>  delete mode 100644 board/renesas/rsk7203/config.mk
> 
> diff --git a/board/renesas/rsk7203/config.mk
> b/board/renesas/rsk7203/config.mk deleted file mode 100644
> index 5b533f6..0000000
> --- a/board/renesas/rsk7203/config.mk
> +++ /dev/null
> @@ -1,28 +0,0 @@
> -#
> -# Copyright (C) 2007,2008 Nobuhiro Iwamatsu
> -# Copyright (C) 2008 Renesas Solutions Corp.
> -#
> -# u-boot/board/rsk7203/config.mk
> -#
> -# 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 refers to image _after_ relocation.
> -#
> -# NOTE: Must match value used in u-boot.lds (in this directory).
> -#
> -
> -CONFIG_SYS_TEXT_BASE = 0x0C7C0000
> diff --git a/include/configs/rsk7203.h b/include/configs/rsk7203.h
> index b3feaa8..0802140 100644
> --- a/include/configs/rsk7203.h
> +++ b/include/configs/rsk7203.h
> @@ -54,6 +54,7 @@
>  #define RSK7203_FLASH_BASE_1	0x20000000	/* Non cache */
>  #define RSK7203_FLASH_BANK_SIZE	(4 * 1024 * 1024)
> 
> +#define CONFIG_SYS_TEXT_BASE	0x0C7C0000
>  #define CONFIG_SYS_LONGHELP		/* undef to save memory	*/
>  #define CONFIG_SYS_PROMPT	"=> "	/* Monitor Command Prompt */
>  #define CONFIG_SYS_CBSIZE	256	/* Buffer size for input from the Console 
*/
Nobuhiro Iwamatsu - Jan. 23, 2011, 10:38 p.m.
Hi,

2011/1/17 Fabio Giovagnini <fabio.giovagnini@aurion-tech.com>:
> I'm working on a rsk7203 derived board.
> I do not have a eth interface.
> How can I upgrade the kernel using uboot and the serial line?

You use minicom and may put an u-boot image to memory.

> When I finish can I send the support for my board?
>

Sure.
There are few devices of sh2a.
It is very good :-).

Best regards,
  Nobuhiro

Patch

diff --git a/board/renesas/rsk7203/config.mk b/board/renesas/rsk7203/config.mk
deleted file mode 100644
index 5b533f6..0000000
--- a/board/renesas/rsk7203/config.mk
+++ /dev/null
@@ -1,28 +0,0 @@ 
-#
-# Copyright (C) 2007,2008 Nobuhiro Iwamatsu
-# Copyright (C) 2008 Renesas Solutions Corp.
-#
-# u-boot/board/rsk7203/config.mk
-#
-# 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 refers to image _after_ relocation.
-#
-# NOTE: Must match value used in u-boot.lds (in this directory).
-#
-
-CONFIG_SYS_TEXT_BASE = 0x0C7C0000
diff --git a/include/configs/rsk7203.h b/include/configs/rsk7203.h
index b3feaa8..0802140 100644
--- a/include/configs/rsk7203.h
+++ b/include/configs/rsk7203.h
@@ -54,6 +54,7 @@ 
 #define RSK7203_FLASH_BASE_1	0x20000000	/* Non cache */
 #define RSK7203_FLASH_BANK_SIZE	(4 * 1024 * 1024)
 
+#define CONFIG_SYS_TEXT_BASE	0x0C7C0000
 #define CONFIG_SYS_LONGHELP		/* undef to save memory	*/
 #define CONFIG_SYS_PROMPT	"=> "	/* Monitor Command Prompt */
 #define CONFIG_SYS_CBSIZE	256	/* Buffer size for input from the Console */