bcm2835_mu_serial: Convert to Kconfig

Setting config options using headers is deprecated. This patch converts
the BCM2835 Mini-UART to Kconfig.

Signed-off-by: Alexander Graf <agraf@suse.de>
master
Alexander Graf 6 years ago committed by Tom Rini
parent cf2c7784bd
commit fa4875942a
  1. 7
      drivers/serial/Kconfig
  2. 3
      include/configs/rpi.h
  3. 1
      scripts/config_whitelist.txt

@ -388,6 +388,13 @@ config ATMEL_USART
configured in the device tree, and input clock frequency can configured in the device tree, and input clock frequency can
be got from the clk node. be got from the clk node.
config BCM283X_MU_SERIAL
bool "Support for BCM283x Mini-UART"
depends on DM_SERIAL && ARCH_BCM283X
default y
help
Select this to enable Mini-UART support on BCM283X family of SoCs.
config BCM6345_SERIAL config BCM6345_SERIAL
bool "Support for BCM6345 UART" bool "Support for BCM6345 UART"
depends on DM_SERIAL && ARCH_BMIPS depends on DM_SERIAL && ARCH_BMIPS

@ -75,9 +75,6 @@
#define CONFIG_MISC_INIT_R #define CONFIG_MISC_INIT_R
#endif #endif
/* Console UART, can be configured dynamically in config.txt */
#define CONFIG_BCM283X_MU_SERIAL
/* Console configuration */ /* Console configuration */
#define CONFIG_SYS_CBSIZE 1024 #define CONFIG_SYS_CBSIZE 1024

@ -121,7 +121,6 @@ CONFIG_BCH_CONST_M
CONFIG_BCH_CONST_PARAMS CONFIG_BCH_CONST_PARAMS
CONFIG_BCH_CONST_T CONFIG_BCH_CONST_T
CONFIG_BCM2835_GPIO CONFIG_BCM2835_GPIO
CONFIG_BCM283X_MU_SERIAL
CONFIG_BIOSEMU CONFIG_BIOSEMU
CONFIG_BITBANGMII_MULTI CONFIG_BITBANGMII_MULTI
CONFIG_BL1_OFFSET CONFIG_BL1_OFFSET

Loading…
Cancel
Save