sh: add sh7757lcr board support
PATCH 1/1 sh: add sh7757lcr board support
Signed-off-by Yoshihiro Shimoda <[email protected]>
--- 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
@@ -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
@@ -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
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.
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