[ARM] 4511/1: S3C: updated LLSERIAL Kconfig defines for CPU support

Update the Kconfig to create configuration options based on which
CPUs are supported for the low level serial code. This means that
the debug macros can be optimised for the type(s) of CPU that are
being used.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

authored by Ben Dooks and committed by Russell King b2627588 498e03b6

+33
+1
arch/arm/mach-s3c2410/Kconfig
··· 9 9 depends on ARCH_S3C2410 10 10 select S3C2410_CLOCK 11 11 select S3C2410_GPIO 12 + select CPU_LLSERIAL_S3C2410 12 13 select S3C2410_PM if PM 13 14 help 14 15 Support for S3C2410 and S3C2410A family from the S3C24XX line
+1
arch/arm/mach-s3c2412/Kconfig
··· 7 7 config CPU_S3C2412 8 8 bool 9 9 depends on ARCH_S3C2410 10 + select CPU_LLSERIAL_S3C2440 10 11 select S3C2412_PM if PM 11 12 select S3C2412_DMA if S3C2410_DMA 12 13 help
+1
arch/arm/mach-s3c2440/Kconfig
··· 12 12 select S3C2410_GPIO 13 13 select S3C2440_DMA if S3C2410_DMA 14 14 select CPU_S3C244X 15 + select CPU_LLSERIAL_S3C2440 15 16 help 16 17 Support for S3C2440 Samsung Mobile CPU based systems. 17 18
+1
arch/arm/mach-s3c2442/Kconfig
··· 11 11 select S3C2410_GPIO 12 12 select S3C2410_PM if PM 13 13 select CPU_S3C244X 14 + select CPU_LLSERIAL_S3C2440 14 15 help 15 16 Support for S3C2442 Samsung Mobile CPU based systems. 16 17
+1
arch/arm/mach-s3c2443/Kconfig
··· 8 8 bool 9 9 depends on ARCH_S3C2410 10 10 select S3C2443_DMA if S3C2410_DMA 11 + select CPU_LLSERIAL_S3C2440 11 12 help 12 13 Support for the S3C2443 SoC from the S3C24XX line 13 14
+28
arch/arm/plat-s3c/Kconfig
··· 12 12 help 13 13 Base platform code for any Samsung S3C device 14 14 15 + # low-level serial option nodes 16 + 17 + config CPU_LLSERIAL_S3C2410_ONLY 18 + bool 19 + depends on ARCH_S3C2410 20 + default y if CPU_LLSERIAL_S3C2410 && !CPU_LLSERIAL_S3C2440 21 + 22 + config CPU_LLSERIAL_S3C2440_ONLY 23 + bool 24 + depends on ARCH_S3C2410 25 + default y if CPU_LLSERIAL_S3C2440 && !CPU_LLSERIAL_S3C2410 26 + 27 + config CPU_LLSERIAL_S3C2410 28 + bool 29 + depends on ARCH_S3C2410 30 + help 31 + Selected if there is an S3C2410 (or register compatible) serial 32 + low-level implementation needed 33 + 34 + config CPU_LLSERIAL_S3C2440 35 + bool 36 + depends on ARCH_S3C2410 37 + help 38 + Selected if there is an S3C2440 (or register compatible) serial 39 + low-level implementation needed 40 + 41 + # boot configurations 42 + 15 43 comment "Boot options" 16 44 17 45 config S3C2410_BOOT_WATCHDOG