Skip to contentSkip to conversation

sh: add sh7757lcr board support

PATCH In review Yoshihiro Shimoda 2 participants 3 messages May 7, 2010 SuperH

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sh: add sh7757lcr board support

---
 arch/sh/boards/Kconfig              |    5 +
 arch/sh/boards/Makefile             |    1 +
 arch/sh/boards/board-sh7757lcr.c    |  381 ++++++++++++
 arch/sh/configs/sh7757lcr_defconfig | 1117 +++++++++++++++++++++++++++++++++++
 4 files changed, 1504 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 938e87d..87d9728 100644
@@ -164,6 +164,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 4f90f9b..6fe4f32 100644
@@ -9,3 +9,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 +381 -0

381 lines not on this page · raw message

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

1,117 lines not on this page · raw message

Signature · 1 line
1.5.5
#1 lore raw

arch/sh/boards/board-sh7757lcr.c line 363

Quoted 6 lines · Yoshihiro Shimoda
arch/sh/boards/board-sh7757lcr.c new file +6 -0
+static void sh7757lcr_power_off(void)
+{
+	while (1)
+		cpu_relax();
+}
+

If you don't have anything useful to do here, then don't bother defining it.

#2 lore raw
In reply to Yoshihiro Shimoda
Quoted 10 lines · Paul Mundt

arch/sh/boards/board-sh7757lcr.c line 363

Quoted 6 lines · Yoshihiro Shimoda
arch/sh/boards/board-sh7757lcr.c new file +6 -0
+static void sh7757lcr_power_off(void)
+{
+	while (1)
+		cpu_relax();
+}
+

If you don't have anything useful to do here, then don't bother defining it.

Thank you for your review.
I will remove it next week.

Thanks,
Yoshihiro Shiomda