Commit fa95a1dd authored by Greg Ungerer's avatar Greg Ungerer

m68knommu: make ColdFire SoC selection a choice

It would be nice if we could support multiple ColdFire SoC types in a
single binary - but currently the code simply does not support it.
Change the SoC selection config options to be a choice instead of
individual selectable entries.

This fixes problems with building allnoconfig, and means that a sane
linux kernel is generated for a single ColdFire SoC type.
Signed-off-by: default avatarGreg Ungerer <gerg@uclinux.org>
Acked-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
parent 15c2ca4e
...@@ -125,6 +125,13 @@ endif # M68KCLASSIC ...@@ -125,6 +125,13 @@ endif # M68KCLASSIC
if COLDFIRE if COLDFIRE
choice
prompt "ColdFire SoC type"
default M520x
help
Select the type of ColdFire System-on-Chip (SoC) that you want
to build for.
config M5206 config M5206
bool "MCF5206" bool "MCF5206"
depends on !MMU depends on !MMU
...@@ -174,9 +181,6 @@ config M525x ...@@ -174,9 +181,6 @@ config M525x
help help
Freescale (Motorola) Coldfire 5251/5253 processor support. Freescale (Motorola) Coldfire 5251/5253 processor support.
config M527x
bool
config M5271 config M5271
bool "MCF5271" bool "MCF5271"
depends on !MMU depends on !MMU
...@@ -223,9 +227,6 @@ config M5307 ...@@ -223,9 +227,6 @@ config M5307
help help
Motorola ColdFire 5307 processor support. Motorola ColdFire 5307 processor support.
config M53xx
bool
config M532x config M532x
bool "MCF532x" bool "MCF532x"
depends on !MMU depends on !MMU
...@@ -251,9 +252,6 @@ config M5407 ...@@ -251,9 +252,6 @@ config M5407
help help
Motorola ColdFire 5407 processor support. Motorola ColdFire 5407 processor support.
config M54xx
bool
config M547x config M547x
bool "MCF547x" bool "MCF547x"
select M54xx select M54xx
...@@ -280,6 +278,17 @@ config M5441x ...@@ -280,6 +278,17 @@ config M5441x
help help
Freescale Coldfire 54410/54415/54416/54417/54418 processor support. Freescale Coldfire 54410/54415/54416/54417/54418 processor support.
endchoice
config M527x
bool
config M53xx
bool
config M54xx
bool
endif # COLDFIRE endif # COLDFIRE
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment