Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 56386f64 authored by Magnus Damm's avatar Magnus Damm Committed by Paul Mundt
Browse files

sh: intc - add support for SH7750 and its variants



This patch converts the cpu specific 7750 setup code to use the
new intc controller. Many new vectors are added and multiple
processor variants including 7091, 7750, 7750s, 7750r, 7751 and
7751r should all have the correct vectors hooked up.

IRLM interrupts can be enabled using ipr_irq_enable_irlm() which
now is marked as __init.

Signed-off-by: default avatarMagnus Damm <damm@igel.co.jp>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 339547bf
Loading
Loading
Loading
Loading
+6 −0
Original line number Original line Diff line number Diff line
@@ -212,6 +212,7 @@ config SOLUTION_ENGINE
config SH_SOLUTION_ENGINE
config SH_SOLUTION_ENGINE
	bool "SolutionEngine"
	bool "SolutionEngine"
	select SOLUTION_ENGINE
	select SOLUTION_ENGINE
	select CPU_HAS_IPR_IRQ
	depends on CPU_SUBTYPE_SH7709 || CPU_SUBTYPE_SH7750
	depends on CPU_SUBTYPE_SH7709 || CPU_SUBTYPE_SH7750
	help
	help
	  Select SolutionEngine if configuring for a Hitachi SH7709
	  Select SolutionEngine if configuring for a Hitachi SH7709
@@ -244,6 +245,7 @@ config SH_7722_SOLUTION_ENGINE
config SH_7751_SOLUTION_ENGINE
config SH_7751_SOLUTION_ENGINE
	bool "SolutionEngine7751"
	bool "SolutionEngine7751"
	select SOLUTION_ENGINE
	select SOLUTION_ENGINE
	select CPU_HAS_IPR_IRQ
	depends on CPU_SUBTYPE_SH7751
	depends on CPU_SUBTYPE_SH7751
	help
	help
	  Select 7751 SolutionEngine if configuring for a Hitachi SH7751
	  Select 7751 SolutionEngine if configuring for a Hitachi SH7751
@@ -321,6 +323,7 @@ config SH_MPC1211
config SH_SH03
config SH_SH03
	bool "Interface CTP/PCI-SH03"
	bool "Interface CTP/PCI-SH03"
	depends on CPU_SUBTYPE_SH7751 && BROKEN
	depends on CPU_SUBTYPE_SH7751 && BROKEN
	select CPU_HAS_IPR_IRQ
	select SYS_SUPPORTS_PCI
	select SYS_SUPPORTS_PCI
	help
	help
	  CTP/PCI-SH03 is a CPU module computer that is produced
	  CTP/PCI-SH03 is a CPU module computer that is produced
@@ -330,6 +333,7 @@ config SH_SH03
config SH_SECUREEDGE5410
config SH_SECUREEDGE5410
	bool "SecureEdge5410"
	bool "SecureEdge5410"
	depends on CPU_SUBTYPE_SH7751R
	depends on CPU_SUBTYPE_SH7751R
	select CPU_HAS_IPR_IRQ
	select SYS_SUPPORTS_PCI
	select SYS_SUPPORTS_PCI
	help
	help
	  Select SecureEdge5410 if configuring for a SnapGear SH board.
	  Select SecureEdge5410 if configuring for a SnapGear SH board.
@@ -384,6 +388,7 @@ config SH_LANDISK
config SH_TITAN
config SH_TITAN
	bool "TITAN"
	bool "TITAN"
	depends on CPU_SUBTYPE_SH7751R
	depends on CPU_SUBTYPE_SH7751R
	select CPU_HAS_IPR_IRQ
	select SYS_SUPPORTS_PCI
	select SYS_SUPPORTS_PCI
	help
	help
	  Select Titan if you are configuring for a Nimble Microsystems
	  Select Titan if you are configuring for a Nimble Microsystems
@@ -392,6 +397,7 @@ config SH_TITAN
config SH_SHMIN
config SH_SHMIN
	bool "SHMIN"
	bool "SHMIN"
	depends on CPU_SUBTYPE_SH7706
	depends on CPU_SUBTYPE_SH7706
	select CPU_HAS_IPR_IRQ
	help
	help
	  Select SHMIN if configuring for the SHMIN board.
	  Select SHMIN if configuring for the SHMIN board.


+1 −1
Original line number Original line Diff line number Diff line
@@ -217,7 +217,7 @@ CONFIG_SH_FPU=y
# CONFIG_SH_DSP is not set
# CONFIG_SH_DSP is not set
# CONFIG_SH_STORE_QUEUES is not set
# CONFIG_SH_STORE_QUEUES is not set
CONFIG_CPU_HAS_INTEVT=y
CONFIG_CPU_HAS_INTEVT=y
CONFIG_CPU_HAS_IPR_IRQ=y
CONFIG_CPU_HAS_INTC_IRQ=y
CONFIG_CPU_HAS_SR_RB=y
CONFIG_CPU_HAS_SR_RB=y
CONFIG_CPU_HAS_PTEA=y
CONFIG_CPU_HAS_PTEA=y


+1 −1
Original line number Original line Diff line number Diff line
@@ -222,7 +222,7 @@ CONFIG_SH_FPU=y
# CONFIG_SH_DSP is not set
# CONFIG_SH_DSP is not set
# CONFIG_SH_STORE_QUEUES is not set
# CONFIG_SH_STORE_QUEUES is not set
CONFIG_CPU_HAS_INTEVT=y
CONFIG_CPU_HAS_INTEVT=y
CONFIG_CPU_HAS_IPR_IRQ=y
CONFIG_CPU_HAS_INTC_IRQ=y
CONFIG_CPU_HAS_SR_RB=y
CONFIG_CPU_HAS_SR_RB=y
CONFIG_CPU_HAS_PTEA=y
CONFIG_CPU_HAS_PTEA=y


+1 −1
Original line number Original line Diff line number Diff line
@@ -218,7 +218,7 @@ CONFIG_SH_FPU=y
# CONFIG_SH_DSP is not set
# CONFIG_SH_DSP is not set
# CONFIG_SH_STORE_QUEUES is not set
# CONFIG_SH_STORE_QUEUES is not set
CONFIG_CPU_HAS_INTEVT=y
CONFIG_CPU_HAS_INTEVT=y
CONFIG_CPU_HAS_IPR_IRQ=y
CONFIG_CPU_HAS_INTC_IRQ=y
CONFIG_CPU_HAS_SR_RB=y
CONFIG_CPU_HAS_SR_RB=y
CONFIG_CPU_HAS_PTEA=y
CONFIG_CPU_HAS_PTEA=y


+1 −1
Original line number Original line Diff line number Diff line
@@ -226,7 +226,7 @@ CONFIG_SH_FPU=y
# CONFIG_SH_DSP is not set
# CONFIG_SH_DSP is not set
# CONFIG_SH_STORE_QUEUES is not set
# CONFIG_SH_STORE_QUEUES is not set
CONFIG_CPU_HAS_INTEVT=y
CONFIG_CPU_HAS_INTEVT=y
CONFIG_CPU_HAS_IPR_IRQ=y
CONFIG_CPU_HAS_INTC_IRQ=y
CONFIG_CPU_HAS_SR_RB=y
CONFIG_CPU_HAS_SR_RB=y
CONFIG_CPU_HAS_PTEA=y
CONFIG_CPU_HAS_PTEA=y


Loading