Skip to contentSkip to conversation

sh: add sh7757lcr board support

PATCH In review Yoshihiro Shimoda 3 participants 3 messages Jul 6, 2010 – Jul 8, 2010 SuperH

lore
Share & tools
lore
#0 lore raw

PATCH v2 6/6 sh: add sh7757lcr board support

This adds preliminary support for the sh7757lcr board.

---
 arch/sh/boards/Kconfig              |    5 +
 arch/sh/boards/Makefile             |    1 +
 arch/sh/boards/board-sh7757lcr.c    |  374 ++++++++++++
 arch/sh/configs/sh7757lcr_defconfig | 1126 +++++++++++++++++++++++++++++++++++
 arch/sh/tools/mach-types            |    1 +
 5 files changed, 1507 insertions(+), 0 deletions(-)
 create mode 100644 arch/sh/boards/board-sh7757lcr.c
 create mode 100644 arch/sh/configs/sh7757lcr_defconfig
arch/sh/boards/Kconfig +5 -0
index 65abfd4..90ed1ec 100644
@@ -165,6 +165,11 @@ config SH_HIGHLANDER
 	select SYS_SUPPORTS_PCI
 	select IO_TRAPPED if MMU
 
+config SH_SH7757LCR
+	bool "SH7757LCR"
+	depends on CPU_SUBTYPE_SH7757
+	select ARCH_REQUIRE_GPIOLIB
+
 config SH_SH7785LCR
 	bool "SH7785LCR"
 	depends on CPU_SUBTYPE_SH7785
arch/sh/boards/Makefile +1 -0
index 2049d95..38ef655 100644
@@ -10,3 +10,4 @@ obj-$(CONFIG_SH_EDOSK7760)	+= board-edosk7760.o
 obj-$(CONFIG_SH_ESPT)		+= board-espt.o
 obj-$(CONFIG_SH_POLARIS)	+= board-polaris.o
 obj-$(CONFIG_SH_TITAN)		+= board-titan.o
+obj-$(CONFIG_SH_SH7757LCR)	+= board-sh7757lcr.o
arch/sh/boards/board-sh7757lcr.c new file +374 -0

374 lines not on this page · raw message

arch/sh/configs/sh7757lcr_defconfig new file +1126 -0

1,126 lines not on this page · raw message

arch/sh/tools/mach-types +1 -0
index 120a211..9f56eb9 100644
@@ -53,6 +53,7 @@ RSK7201			SH_RSK7201
 RSK7203			SH_RSK7203
 AP325RXA		SH_AP325RXA
 SH2007			SH_SH2007
+SH7757LCR		SH_SH7757LCR
 SH7763RDP		SH_SH7763RDP
 SH7785LCR		SH_SH7785LCR
 SH7785LCR_PT		SH_SH7785LCR_PT
Signature · 1 line
1.7.1
#1 lore raw
Quoted 1 line · Yoshihiro Shimoda

This adds preliminary support for the sh7757lcr board.

Does the recent fit that Linus had about defconfig abundance (and other things) in ARM apply to SH too?

#2 lore raw
In reply to Yoshihiro Shimoda
Quoted 6 lines · Simon Horman
Quoted 1 line · Yoshihiro Shimoda

This adds preliminary support for the sh7757lcr board.

Does the recent fit that Linus had about defconfig abundance (and other things) in ARM apply to SH too?

Yes, and I'm working on getting rid of them completely, but it requires a pretty big rework of the Kconfig layout amongst other things. There's not enough time to rework all of that for the upcoming merge window, but it's on my todo list for the next one.