Commit b8870605 authored by Ben Dooks's avatar Ben Dooks Committed by Russell King

[ARM] 4161/1: S3C24XX: fix leakage of plat-s3c24xx Kconfig items

Do not export S3C24XX from plat-s3c24xx on non-s3c24xx systems
Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 90ac7648
...@@ -7,10 +7,12 @@ ...@@ -7,10 +7,12 @@
config PLAT_S3C24XX config PLAT_S3C24XX
bool bool
depends on ARCH_S3C2410 depends on ARCH_S3C2410
default y default y if ARCH_S3C2410
help help
Base platform code for any Samsung S3C device Base platform code for any Samsung S3C device
if PLAT_S3C24XX
config CPU_S3C244X config CPU_S3C244X
bool bool
depends on ARCH_S3C2410 && (CPU_S3C2440 || CPU_S3C2442) depends on ARCH_S3C2410 && (CPU_S3C2440 || CPU_S3C2442)
...@@ -94,3 +96,4 @@ config MACH_SMDK ...@@ -94,3 +96,4 @@ config MACH_SMDK
help help
Common machine code for SMDK2410 and SMDK2440 Common machine code for SMDK2410 and SMDK2440
endif
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