Commit 884f901368c153c28778f8e13fbf206fe2b6884f
Committed by
Tom Rini
1 parent
b31116308c
Exists in
smarc_8mq_lf_v2020.04
and in
17 other branches
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
arch/arm/Kconfig
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