Commit 884f901368c153c28778f8e13fbf206fe2b6884f

Authored by Alexander Graf
Committed by Tom Rini
1 parent b31116308c

pl010: Convert CONFIG_PL010_SERIAL to Kconfig

We want to use Kconfig logic to depend on whether pl01x devices
are built in, so let's convert their inclusion selection to Kconfig.

This round goes to pl010.

Signed-off-by: Alexander Graf <agraf@suse.de>

Showing 4 changed files with 7 additions and 2 deletions Side-by-side Diff

... ... @@ -348,6 +348,7 @@
348 348 config TARGET_EDB93XX
349 349 bool "Support edb93xx"
350 350 select CPU_ARM920T
  351 + select PL010_SERIAL
351 352  
352 353 config TARGET_ASPENITE
353 354 bool "Support aspenite"
drivers/serial/Kconfig
... ... @@ -447,6 +447,12 @@
447 447 Select this to enable a UART for Intel MID platforms.
448 448 This uses the ns16550 driver as a library.
449 449  
  450 +config PL010_SERIAL
  451 + bool "ARM PL010 driver"
  452 + depends on !DM_SERIAL
  453 + help
  454 + Select this to enable a UART for platforms using PL010.
  455 +
450 456 config ROCKCHIP_SERIAL
451 457 bool "Rockchip on-chip UART support"
452 458 depends on DM_SERIAL && SPL_OF_PLATDATA
include/configs/edb93xx.h
... ... @@ -80,7 +80,6 @@
80 80 #define CONFIG_SYS_CBSIZE 1024 /* Console I/O buffer size */
81 81  
82 82 /* Serial port hardware configuration */
83   -#define CONFIG_PL010_SERIAL
84 83 #define CONFIG_CONS_INDEX 0
85 84 #define CONFIG_SYS_BAUDRATE_TABLE {9600, 19200, 38400, 57600, \
86 85 115200, 230400}
scripts/config_whitelist.txt
... ... @@ -1617,7 +1617,6 @@
1617 1617 CONFIG_PIXIS_BRDCFG1_SSI_TDM_SSI
1618 1618 CONFIG_PIXIS_BRDCFG1_TDM
1619 1619 CONFIG_PIXIS_SGMII_CMD
1620   -CONFIG_PL010_SERIAL
1621 1620 CONFIG_PL011_CLOCK
1622 1621 CONFIG_PL011_SERIAL
1623 1622 CONFIG_PL011_SERIAL_RLCR