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

Commit 1db4e9bb authored by Paul Mundt's avatar Paul Mundt
Browse files

sh: Don't enable FPU for SH4AL-DSP.



This leads to invalid configurations where both FPU and DSP support
can be enabled in the same kernel, resulting in build failure.

Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent d5815933
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -118,7 +118,7 @@ endchoice

config SH_FPU
	bool "FPU support"
	depends on CPU_SH4
	depends on CPU_HAS_FPU
	default y
	help
	  Selecting this option will enable support for SH processors that
@@ -199,6 +199,9 @@ config CPU_HAS_PTEA
config CPU_HAS_DSP
	bool

config CPU_HAS_FPU
	bool

endmenu

menu "Board support"
+1 −0
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@ config CPU_SH4
	select CPU_HAS_INTEVT
	select CPU_HAS_SR_RB
	select CPU_HAS_PTEA if (!CPU_SUBTYPE_ST40 && !CPU_SH4A) || CPU_SHX2
	select CPU_HAS_FPU if !CPU_SH4AL_DSP

config CPU_SH4A
	bool