Commit 152c5555 authored by Arnd Bergmann's avatar Arnd Bergmann

ARM: integrator: only select pl01x if TTY is enabled

Building the integrator platform without TTY support currently
results in a build failure because we always turn on the
pl010 or pl011 drivers. Changing this to a conditional 'select'
statement enables us to build more random configurations, although
it should have little impact for practical configurations.
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Linus Walleij <linus.walleij@linaro.org>
parent dd94d355
...@@ -6,8 +6,8 @@ config ARCH_INTEGRATOR_AP ...@@ -6,8 +6,8 @@ config ARCH_INTEGRATOR_AP
bool "Support Integrator/AP and Integrator/PP2 platforms" bool "Support Integrator/AP and Integrator/PP2 platforms"
select CLKSRC_MMIO select CLKSRC_MMIO
select MIGHT_HAVE_PCI select MIGHT_HAVE_PCI
select SERIAL_AMBA_PL010 select SERIAL_AMBA_PL010 if TTY
select SERIAL_AMBA_PL010_CONSOLE select SERIAL_AMBA_PL010_CONSOLE if TTY
select SOC_BUS select SOC_BUS
help help
Include support for the ARM(R) Integrator/AP and Include support for the ARM(R) Integrator/AP and
...@@ -18,8 +18,8 @@ config ARCH_INTEGRATOR_CP ...@@ -18,8 +18,8 @@ config ARCH_INTEGRATOR_CP
select ARCH_CINTEGRATOR select ARCH_CINTEGRATOR
select ARM_TIMER_SP804 select ARM_TIMER_SP804
select PLAT_VERSATILE_CLCD select PLAT_VERSATILE_CLCD
select SERIAL_AMBA_PL011 select SERIAL_AMBA_PL011 if TTY
select SERIAL_AMBA_PL011_CONSOLE select SERIAL_AMBA_PL011_CONSOLE if TTY
select SOC_BUS select SOC_BUS
help help
Include support for the ARM(R) Integrator CP platform. Include support for the ARM(R) Integrator CP platform.
......
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