aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2014-04-30 20:46:36 -0400
committerChris Zankel <chris@zankel.net>2014-05-05 12:04:10 -0400
commit55b441be5cd600bf645a01b14900880a09941d4c (patch)
tree462984c5af1ab9cd28f3d70113a999620eebf431
parentcfe8255f0afcf5d2d1dbfa093223cafe38773fa7 (diff)
xtensa: ISS: don't depend on CONFIG_TTY
Build console support only when CONFIG_TTY is selected. This restores ISS as the default platform for allnoconfig builds. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Chris Zankel <chris@zankel.net>
-rw-r--r--arch/xtensa/Kconfig1
-rw-r--r--arch/xtensa/platforms/iss/Makefile3
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/xtensa/Kconfig b/arch/xtensa/Kconfig
index 17b31982c566..2ca8819979b4 100644
--- a/arch/xtensa/Kconfig
+++ b/arch/xtensa/Kconfig
@@ -243,7 +243,6 @@ choice
243 243
244config XTENSA_PLATFORM_ISS 244config XTENSA_PLATFORM_ISS
245 bool "ISS" 245 bool "ISS"
246 depends on TTY
247 select XTENSA_CALIBRATE_CCOUNT 246 select XTENSA_CALIBRATE_CCOUNT
248 select SERIAL_CONSOLE 247 select SERIAL_CONSOLE
249 help 248 help
diff --git a/arch/xtensa/platforms/iss/Makefile b/arch/xtensa/platforms/iss/Makefile
index d2369b799c50..b3e89291cfba 100644
--- a/arch/xtensa/platforms/iss/Makefile
+++ b/arch/xtensa/platforms/iss/Makefile
@@ -4,6 +4,7 @@
4# "prom monitor" library routines under Linux. 4# "prom monitor" library routines under Linux.
5# 5#
6 6
7obj-y = console.o setup.o 7obj-y = setup.o
8obj-$(CONFIG_TTY) += console.o
8obj-$(CONFIG_NET) += network.o 9obj-$(CONFIG_NET) += network.o
9obj-$(CONFIG_BLK_DEV_SIMDISK) += simdisk.o 10obj-$(CONFIG_BLK_DEV_SIMDISK) += simdisk.o