global: Move remaining CONFIG_SYS_* to CFG_SYS_*
The rest of the unmigrated CONFIG symbols in the CONFIG_SYS namespace do not easily transition to Kconfig. In many cases they likely should come from the device tree instead. Move these out of CONFIG namespace and in to CFG namespace. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -25,7 +25,7 @@ DECLARE_GLOBAL_DATA_PTR;
|
||||
/*
|
||||
* Table with supported baudrates (defined in config_xyz.h)
|
||||
*/
|
||||
static const unsigned long baudrate_table[] = CONFIG_SYS_BAUDRATE_TABLE;
|
||||
static const unsigned long baudrate_table[] = CFG_SYS_BAUDRATE_TABLE;
|
||||
|
||||
#if CONFIG_IS_ENABLED(SERIAL_PRESENT)
|
||||
static int serial_check_stdout(const void *blob, struct udevice **devp)
|
||||
|
||||
@@ -22,7 +22,7 @@ static struct serial_device *serial_current;
|
||||
/*
|
||||
* Table with supported baudrates (defined in config_xyz.h)
|
||||
*/
|
||||
static const unsigned long baudrate_table[] = CONFIG_SYS_BAUDRATE_TABLE;
|
||||
static const unsigned long baudrate_table[] = CFG_SYS_BAUDRATE_TABLE;
|
||||
|
||||
/**
|
||||
* serial_null() - Void registration routine of a serial driver
|
||||
@@ -459,7 +459,7 @@ void default_serial_puts(const char *s)
|
||||
}
|
||||
|
||||
#if CONFIG_POST & CONFIG_SYS_POST_UART
|
||||
static const int bauds[] = CONFIG_SYS_BAUDRATE_TABLE;
|
||||
static const int bauds[] = CFG_SYS_BAUDRATE_TABLE;
|
||||
|
||||
/**
|
||||
* uart_post_test() - Test the currently selected serial port using POST
|
||||
|
||||
Reference in New Issue
Block a user