sh: Add support Renesas Solutions R2D plus board
Subsystems (2)
PATCH 1/1 sh: Add support Renesas Solutions R2D plus board
R2D plus is SH reference board used with SH7751R. This board has 266Mhz CPU, 64MB SDRAM, Cardbus, CF interface, one PCI bus, VGA, and two Ethernet controller.
--- MAINTAINERS | 1 + MAKEALL | 1 + Makefile | 5 ++ board/r2dplus/Makefile | 43 +++++++++++ board/r2dplus/config.mk | 23 ++++++ board/r2dplus/lowlevel_init.S | 154 +++++++++++++++++++++++++++++++++++++++++ board/r2dplus/r2dplus.c | 76 ++++++++++++++++++++ board/r2dplus/u-boot.lds | 105 ++++++++++++++++++++++++++++ include/configs/r2dplus.h | 151 ++++++++++++++++++++++++++++++++++++++++ 9 files changed, 559 insertions(+), 0 deletions(-) create mode 100644 board/r2dplus/Makefile create mode 100644 board/r2dplus/config.mk create mode 100644 board/r2dplus/lowlevel_init.S create mode 100644 board/r2dplus/r2dplus.c create mode 100644 board/r2dplus/u-boot.lds create mode 100644 include/configs/r2dplus.h
MAINTAINERS +1 -0
@@ -696,6 +696,7 @@ Nobuhiro Iwmaatsu <[email protected]> MS7750SE SH7750 MS7722SE SH7722 + R2DPlus SH7751R Mark Jonas <[email protected]>
MAKEALL +1 -0
@@ -698,6 +698,7 @@ LIST_sh4=" \ ms7722se \ Migo-R \ r7780mp \ + r2dplus \ " LIST_sh3=" \
Makefile +5 -0
@@ -2850,6 +2850,11 @@ r7780mp_config: unconfig @echo "#define CONFIG_R7780MP 1" >> include/config.h @./mkconfig -a $(@:_config=) sh sh4 r7780mp +r2dplus_config : unconfig + @ >include/config.h + @echo "#define CONFIG_R2DPLUS 1" >> include/config.h + @./mkconfig -a $(@:_config=) sh sh4 r2dplus + ######################################################################### ######################################################################### #########################################################################
board/r2dplus/Makefile new file +43 -0
43 lines not on this page · raw message
board/r2dplus/config.mk new file +23 -0
@@ -0,0 +1,23 @@ +# +# Copyright (C) 2007,2008 +# Nobuhiro Iwamatsu <[email protected]> +# +# 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 +# +# +# NOTE: Must match value used in u-boot.lds (in this directory). +# +TEXT_BASE = 0x0FFC0000
board/r2dplus/lowlevel_init.S new file +154 -0
154 lines not on this page · raw message
board/r2dplus/r2dplus.c new file +76 -0
76 lines not on this page · raw message
board/r2dplus/u-boot.lds new file +105 -0
105 lines not on this page · raw message
include/configs/r2dplus.h new file +151 -0
151 lines not on this page · raw message
Signature · 1 line
1.5.4.3
PATCH 1/1 sh: Add support Renesas Solutions R2D plus board
include/configs/r2dplus.h line 12
Quoted 12 lines · Nobuhiro Iwamatsu
R2D plus is SH reference board used with SH7751R. This board has 266Mhz CPU, 64MB SDRAM, Cardbus, CF interface,
include/configs/r2dplus.h new file +10
-0+ +#undef DEBUG + +#define CONFIG_SH 1 +#define CONFIG_SH4 1 +#define CONFIG_CPU_SH7751 1 +#define CONFIG_CPU_SH_TYPE_R 1 +#define CONFIG_R2DPLUS 1 +/* OLD type R2D plus support*/ +/* #define CONFIG_R2DPLUS_OLD 1 */
^
Whitespace please remove
and if no need remove it
Quoted 15 lines
include/configs/r2dplus.h new file +15
-0+#define __LITTLE_ENDIAN__ 1 + +/* +* Command line configuration. +*/ +#include <config_cmd_default.h> + +#define CONFIG_CMD_DFL +#define CONFIG_CMD_CACHE +#define CONFIG_CMD_FLASH +#define CONFIG_CMD_PCI +#define CONFIG_CMD_NET +#define CONFIG_CMD_PING +#define CONFIG_CMD_IDE +#define CONFIG_CMD_EXT2
include/configs/r2dplus.h line 37
Quoted 10 lines
include/configs/r2dplus.h new file +10
-0+#define CONFIG_DOS_PARTITION + +/* SCIF */ +#define CFG_SCIF_CONSOLE 1 +#define CONFIG_BAUDRATE 115200 +#define CONFIG_CONS_SCIF1 1 +#define BOARD_LATE_INIT 1 + +#define CONFIG_BOOTDELAY -1 +#define CONFIG_BOOTARGS "console=ttySC0,115200"
^^^^
Whitespace please remove
Quoted 8 lines
include/configs/r2dplus.h new file +8
-0+#define CONFIG_ENV_OVERWRITE 1 + +/* Network setting */ +#define CONFIG_NETMASK 255.0.0.0 +#define CONFIG_IPADDR 10.0.192.51 +#define CONFIG_SERVERIP 10.0.0.1 +#define CONFIG_GATEWAYIP 10.0.0.1 +
include/configs/r2dplus.h line 88
Quoted 10 lines
include/configs/r2dplus.h new file +10
-0+/* SDRAM */ +#define CFG_SDRAM_BASE (0x8C000000) +#define CFG_SDRAM_SIZE (0x04000000) + +#define CFG_LONGHELP + +#else /* CONFIG_R2DPLUS_OLD */ + +#define CFG_FLASH_BASE (0xA0000000) +#define CFG_FLASH_CFI_WIDTH 0x04/* 32bit */
^
Whitespace please remove
include/configs/r2dplus.h line 90
Quoted 2 lines
include/configs/r2dplus.h new file +2
-0+#define CFG_MAX_FLASH_BANKS (2) +#define CFG_MAX_FLASH_SECT 270
^
Whitespace please remove
include/configs/r2dplus.h line 101
Quoted 11 lines
include/configs/r2dplus.h new file +11
-0+#define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE,\ + CFG_FLASH_BASE + 0x100000,\ + CFG_FLASH_BASE + 0x400000,\ + CFG_FLASH_BASE + 0x700000, } +#endif /* CONFIG_R2DPLUS_OLD */ + +#define CFG_ENV_IS_IN_FLASH +#define CFG_ENV_SECT_SIZE 0x20000 +#define CFG_ENV_SIZE (CFG_ENV_SECT_SIZE) +#define CFG_ENV_ADDR (CFG_MONITOR_BASE + CFG_MONITOR_LEN) +#define CFG_FLASH_ERASE_TOUT 120000
^^
Whitespace please remove
include/configs/r2dplus.h line 106
Quoted 5 lines
include/configs/r2dplus.h new file +5
-0+#define CFG_FLASH_WRITE_TOUT 500 + +/* +* SuperH Clock setting +*/
Best Regards,
J.
PATCH v2 1/1 sh: Add support Renesas Solutions R2D plus board
R2D plus is SH reference board used with SH7751R. This board has 266Mhz CPU, 64MB SDRAM, Cardbus, CF interface, one PCI bus, VGA, and two Ethernet controller.
--- MAINTAINERS | 1 + MAKEALL | 1 + Makefile | 5 ++ board/r2dplus/Makefile | 43 +++++++++++ board/r2dplus/config.mk | 23 ++++++ board/r2dplus/lowlevel_init.S | 154 +++++++++++++++++++++++++++++++++++++++++ board/r2dplus/r2dplus.c | 76 ++++++++++++++++++++ board/r2dplus/u-boot.lds | 105 ++++++++++++++++++++++++++++ include/configs/r2dplus.h | 152 ++++++++++++++++++++++++++++++++++++++++ 9 files changed, 560 insertions(+), 0 deletions(-) create mode 100644 board/r2dplus/Makefile create mode 100644 board/r2dplus/config.mk create mode 100644 board/r2dplus/lowlevel_init.S create mode 100644 board/r2dplus/r2dplus.c create mode 100644 board/r2dplus/u-boot.lds create mode 100644 include/configs/r2dplus.h
MAINTAINERS +1 -0
@@ -696,6 +696,7 @@ Nobuhiro Iwmaatsu <[email protected]> MS7750SE SH7750 MS7722SE SH7722 + R2DPlus SH7751R Mark Jonas <[email protected]>
MAKEALL +1 -0
@@ -698,6 +698,7 @@ LIST_sh4=" \ ms7722se \ Migo-R \ r7780mp \ + r2dplus \ " LIST_sh3=" \
Makefile +5 -0
@@ -2850,6 +2850,11 @@ r7780mp_config: unconfig @echo "#define CONFIG_R7780MP 1" >> include/config.h @./mkconfig -a $(@:_config=) sh sh4 r7780mp +r2dplus_config : unconfig + @ >include/config.h + @echo "#define CONFIG_R2DPLUS 1" >> include/config.h + @./mkconfig -a $(@:_config=) sh sh4 r2dplus + ######################################################################### ######################################################################### #########################################################################
board/r2dplus/Makefile new file +43 -0
43 lines not on this page · raw message
board/r2dplus/config.mk new file +23 -0
@@ -0,0 +1,23 @@ +# +# Copyright (C) 2007,2008 +# Nobuhiro Iwamatsu <[email protected]> +# +# 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 +# +# +# NOTE: Must match value used in u-boot.lds (in this directory). +# +TEXT_BASE = 0x0FFC0000
board/r2dplus/lowlevel_init.S new file +154 -0
154 lines not on this page · raw message
board/r2dplus/r2dplus.c new file +76 -0
76 lines not on this page · raw message
board/r2dplus/u-boot.lds new file +105 -0
105 lines not on this page · raw message
include/configs/r2dplus.h new file +152 -0
152 lines not on this page · raw message
Signature · 1 line
1.5.4.3
PATCH v2 1/1 sh: Add support Renesas Solutions R2D plus board
Quoted 8 lines
include/configs/r2dplus.h new file +2
-0@@ -0,0 +1,152 @@ +#ifndef __CONFIG_H +#define __CONFIG_H
include/configs/r2dplus.h line 12
Quoted 10 lines
include/configs/r2dplus.h new file +10
-0+ +#undef DEBUG + +#define CONFIG_SH 1 +#define CONFIG_SH4 1 +#define CONFIG_CPU_SH7751 1 +#define CONFIG_CPU_SH_TYPE_R 1 +#define CONFIG_R2DPLUS 1 +/* OLD type R2D plus support*/ +/* #define CONFIG_R2DPLUS_OLD 1 */
Please remove
include/configs/r2dplus.h line 19
Quoted 7 lines
include/configs/r2dplus.h new file +7
-0+#define __LITTLE_ENDIAN__ 1 + +/* +* Command line configuration. +*/ +#include <config_cmd_default.h> +
Best Regards,
J.