diff options
author | Tom Rini <trini@konsulko.com> | 2017-04-25 16:12:42 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-04-25 16:12:42 -0400 |
commit | 6f008a2e16ec3b618363800e414023569007cd89 (patch) | |
tree | 3a1e1911df47ae9108aacf10e4b181e6fcf94af7 /drivers/serial | |
parent | 7f4ed7cb78c324a7e8b71356f88220cf3efda367 (diff) | |
parent | e8f86a026125ff2b2d6bd6eac73d2542852aab84 (diff) | |
download | u-boot-6f008a2e16ec3b618363800e414023569007cd89.tar.gz |
Merge git://git.denx.de/u-boot-sunxi
Diffstat (limited to 'drivers/serial')
-rw-r--r-- | drivers/serial/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig index c0ec2ec2e4..58320666b7 100644 --- a/drivers/serial/Kconfig +++ b/drivers/serial/Kconfig @@ -44,6 +44,17 @@ config SPL_SERIAL_PRESENT This option enables the full UART in SPL, so if is it disabled, the full UART driver will be omitted, thus saving space. +config CONS_INDEX + int "UART used for console" + depends on ARCH_SUNXI + default 2 if MACH_SUN5I + default 5 if MACH_SUN8I_A23 || MACH_SUN8I_A33 + default 1 + help + Configures the console index. + For Allwinner SoC., default values are 2 for SUN5I and 5 for A23/A33. + Otherwise, the index equals 1. + config DM_SERIAL bool "Enable Driver Model for serial drivers" depends on DM |