Skip to content

Commit

Permalink
sh: Don't enable FPU for SH4AL-DSP.
Browse files Browse the repository at this point in the history
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: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt committed Sep 21, 2007
1 parent d581593 commit 1db4e9b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion arch/sh/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -199,6 +199,9 @@ config CPU_HAS_PTEA
config CPU_HAS_DSP
bool

config CPU_HAS_FPU
bool

endmenu

menu "Board support"
Expand Down
1 change: 1 addition & 0 deletions arch/sh/mm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1db4e9b

Please sign in to comment.