mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
b2627588cb
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>
68 lines
1.3 KiB
Text
68 lines
1.3 KiB
Text
# arch/arm/mach-s3c2412/Kconfig
|
|
#
|
|
# Copyright 2007 Simtec Electronics
|
|
#
|
|
# Licensed under GPLv2
|
|
|
|
config CPU_S3C2412
|
|
bool
|
|
depends on ARCH_S3C2410
|
|
select CPU_LLSERIAL_S3C2440
|
|
select S3C2412_PM if PM
|
|
select S3C2412_DMA if S3C2410_DMA
|
|
help
|
|
Support for the S3C2412 and S3C2413 SoCs from the S3C24XX line
|
|
|
|
config CPU_S3C2412_ONLY
|
|
bool
|
|
depends on ARCH_S3C2410 && !CPU_S3C2400 && !CPU_S3C2410 && \
|
|
!CPU_S3C2440 && !CPU_S3C2442 && !CPU_S3C2443 && CPU_S3C2412
|
|
default y if CPU_S3C2412
|
|
|
|
config S3C2412_DMA
|
|
bool
|
|
depends on CPU_S3C2412
|
|
help
|
|
Internal config node for S3C2412 DMA support
|
|
|
|
config S3C2412_PM
|
|
bool
|
|
help
|
|
Internal config node to apply S3C2412 power management
|
|
|
|
|
|
menu "S3C2412 Machines"
|
|
|
|
config MACH_SMDK2413
|
|
bool "SMDK2413"
|
|
select CPU_S3C2412
|
|
select MACH_S3C2413
|
|
select MACH_SMDK
|
|
help
|
|
Say Y here if you are using an SMDK2413
|
|
|
|
config MACH_S3C2413
|
|
bool
|
|
help
|
|
Internal node for S3C2413 version of SMDK2413, so that
|
|
machine_is_s3c2413() will work when MACH_SMDK2413 is
|
|
selected
|
|
|
|
config MACH_SMDK2412
|
|
bool "SMDK2412"
|
|
select MACH_SMDK2413
|
|
help
|
|
Say Y here if you are using an SMDK2412
|
|
|
|
Note, this shares support with SMDK2413, so will automatically
|
|
select MACH_SMDK2413.
|
|
|
|
config MACH_VSTMS
|
|
bool "VMSTMS"
|
|
select CPU_S3C2412
|
|
help
|
|
Say Y here if you are using an VSTMS board
|
|
|
|
|
|
endmenu
|
|
|