Skip to contentSkip to conversation

sh: add support for sh7757lcr board

PATCH Superseded Yoshihiro Shimoda 1 participant 1 message Jan 28, 2011

Subsystems (2)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 sh: add support for sh7757lcr board

The R0P7757LC0030RL board has SH7757, 256MB DDR3-SDRAM, SPI ROM, Ethernet, and more.

This patch supports the following functions:
- 256MB DDR3-SDRAM
- SPI ROM
- Ethernet

---
about v2:
- add MAINTAINERS
- remove config.mk of this board
- modify lowlevel_init.S
- remove unuse hardware registers on C source in cpu_sh7757.h
- change hardware registers to C structure
- fix some coding style
(This patch depends on "sh: add support the CONFIG_SYS_LDSCRIPT")

 MAINTAINERS                             |    1 +
 arch/sh/include/asm/cpu_sh4.h           |    2 +
 arch/sh/include/asm/cpu_sh7757.h        |  218 ++++++++++++
 board/renesas/sh7757lcr/Makefile        |   43 +++
 board/renesas/sh7757lcr/lowlevel_init.S |  558 +++++++++++++++++++++++++++++++
 board/renesas/sh7757lcr/sh7757lcr.c     |  454 +++++++++++++++++++++++++
 board/renesas/sh7757lcr/spi-boot.c      |  109 ++++++
 board/renesas/sh7757lcr/u-boot.lds      |  101 ++++++
 boards.cfg                              |    1 +
 doc/README.sh7757lcr                    |   64 ++++
 include/configs/sh7757lcr.h             |  146 ++++++++
 11 files changed, 1697 insertions(+), 0 deletions(-)
 create mode 100644 arch/sh/include/asm/cpu_sh7757.h
 create mode 100644 board/renesas/sh7757lcr/Makefile
 create mode 100644 board/renesas/sh7757lcr/lowlevel_init.S
 create mode 100644 board/renesas/sh7757lcr/sh7757lcr.c
 create mode 100644 board/renesas/sh7757lcr/spi-boot.c
 create mode 100644 board/renesas/sh7757lcr/u-boot.lds
 create mode 100644 doc/README.sh7757lcr
 create mode 100644 include/configs/sh7757lcr.h
MAINTAINERS +1 -0
index d7cd09c..7313542 100644
@@ -1020,6 +1020,7 @@ Mark Jonas <[email protected]>
 Yoshihiro Shimoda <[email protected]>
 
 	MS7720SE	SH7720
+	R0P77570030RL	SH7757
 	R0P77850011RL	SH7785
 
 #########################################################################
arch/sh/include/asm/cpu_sh4.h +2 -0
index fdcebd6..9b29d3a 100644
@@ -44,6 +44,8 @@
 # include <asm/cpu_sh7722.h>
 #elif defined (CONFIG_CPU_SH7723)
 # include <asm/cpu_sh7723.h>
+#elif defined (CONFIG_CPU_SH7757)
+# include <asm/cpu_sh7757.h>
 #elif defined (CONFIG_CPU_SH7763)
 # include <asm/cpu_sh7763.h>
 #elif defined (CONFIG_CPU_SH7780)
arch/sh/include/asm/cpu_sh7757.h new file +218 -0

218 lines not on this page · raw message

board/renesas/sh7757lcr/Makefile new file +43 -0

43 lines not on this page · raw message

board/renesas/sh7757lcr/lowlevel_init.S new file +558 -0

558 lines not on this page · raw message

board/renesas/sh7757lcr/sh7757lcr.c new file +454 -0

454 lines not on this page · raw message

board/renesas/sh7757lcr/spi-boot.c new file +109 -0

109 lines not on this page · raw message

board/renesas/sh7757lcr/u-boot.lds new file +101 -0

101 lines not on this page · raw message

boards.cfg +1 -0
index 0574bb2..417ed1d 100644
@@ -752,6 +752,7 @@ ms7750se                     sh          sh4         ms7750se            -
 ap325rxa                     sh          sh4         ap325rxa            renesas        -
 r2dplus                      sh          sh4         r2dplus             renesas        -
 r7780mp                      sh          sh4         r7780mp             renesas        -
+sh7757lcr                    sh          sh4         sh7757lcr           renesas        -
 sh7763rdp                    sh          sh4         sh7763rdp           renesas        -
 sh7785lcr                    sh          sh4         sh7785lcr           renesas        -
 sh7785lcr_32bit              sh          sh4         sh7785lcr           renesas        -           sh7785lcr:SH_32BIT=1
doc/README.sh7757lcr new file +64 -0

64 lines not on this page · raw message

include/configs/sh7757lcr.h new file +146 -0

146 lines not on this page · raw message

Signature · 1 line
1.7.1