mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
serial: sh: Rename CONFIG_SCI and CONFIG_SCIF_USE_EXT_CLK to CFG_ variants
Both CONFIG_SCI and CONFIG_SCIF_USE_EXT_CLK options do not have a matching Kconfig entry because they are internal to the SCIF driver. Change their prefix to CFG_, i.e. CFG_SCIF_USE_EXT_CLK and CFG_SCI, to reflect that and avoid interferring with Kconfig symbols. Since neither of those options are defined elsewhere, no functional change. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
This commit is contained in:
@@ -276,7 +276,7 @@ U_BOOT_DRIVER(serial_sh) = {
|
||||
|
||||
#if defined(CFG_SCIF_A)
|
||||
#define SCIF_BASE_PORT PORT_SCIFA
|
||||
#elif defined(CONFIG_SCI)
|
||||
#elif defined(CFG_SCI)
|
||||
#define SCIF_BASE_PORT PORT_SCI
|
||||
#else
|
||||
#define SCIF_BASE_PORT PORT_SCIF
|
||||
@@ -286,7 +286,7 @@ static struct uart_port sh_sci = {
|
||||
.membase = (unsigned char *)SCIF_BASE,
|
||||
.mapbase = SCIF_BASE,
|
||||
.type = SCIF_BASE_PORT,
|
||||
#ifdef CONFIG_SCIF_USE_EXT_CLK
|
||||
#ifdef CFG_SCIF_USE_EXT_CLK
|
||||
.clk_mode = EXT_CLK,
|
||||
#endif
|
||||
};
|
||||
|
Reference in New Issue
Block a user