sh: kfr2r09 board support - SCIF console
PATCH 1/1 sh: kfr2r09 board support - SCIF console
From: Magnus Damm <[email protected]>
This patch adds basic kfr2r09 board support. Only the SCIF1 console is supported with this patch, but this patch and a proper sh7724 configuration is all that is needed. Combine with an initramfs to have a small RAM based kernel and distribution booted as zImage from RAM via JTAG.
Signed-off-by Magnus Damm <[email protected]>
---
I'll post a defconfig later on when we have agreed on how to handle the zImage boot loader stuff.
arch/sh/Makefile | 1 arch/sh/boards/Kconfig | 7 ++++ arch/sh/boards/mach-kfr2r09/Makefile | 1 arch/sh/boards/mach-kfr2r09/setup.c | 48 ++++++++++++++++++++++++++++++++++ 4 files changed, 57 insertions(+)
arch/sh/Makefile +1 -0
@@ -136,6 +136,7 @@ machdir-$(CONFIG_SH_7751_SYSTEMH) += ma machdir-$(CONFIG_SH_EDOSK7705) += mach-edosk7705 machdir-$(CONFIG_SH_HIGHLANDER) += mach-highlander machdir-$(CONFIG_SH_MIGOR) += mach-migor +machdir-$(CONFIG_SH_KFR2R09) += mach-kfr2r09 machdir-$(CONFIG_SH_SDK7780) += mach-sdk7780 machdir-$(CONFIG_SH_X3PROTO) += mach-x3proto machdir-$(CONFIG_SH_SH7763RDP) += mach-sh7763rdp
arch/sh/boards/Kconfig +7 -0
@@ -193,6 +193,13 @@ config SH_AP325RXA Renesas "AP-325RXA" support. Compatible with ALGO SYSTEM CO.,LTD. "AP-320A" +config SH_KFR2R09 + bool "KFR2R09" + depends on CPU_SUBTYPE_SH7724 + select ARCH_REQUIRE_GPIOLIB + help + "Kit For R2R for 2009" support. + config SH_SH7763RDP bool "SH7763RDP" depends on CPU_SUBTYPE_SH7763
arch/sh/boards/mach-kfr2r09/Makefile new file +1 -0
@@ -0,0 +1 @@ +obj-y := setup.o
arch/sh/boards/mach-kfr2r09/setup.c new file +48 -0
48 lines not on this page · raw message