]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
global: Migrate CONFIG_PL01x_PORTS to CFG
authorTom Rini <trini@konsulko.com>
Sun, 4 Dec 2022 15:13:31 +0000 (10:13 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 23 Dec 2022 15:14:51 +0000 (10:14 -0500)
Perform a simple rename of CONFIG_PL01x_PORTS to CFG_PL01x_PORTS

Signed-off-by: Tom Rini <trini@konsulko.com>
README
drivers/serial/serial_pl01x.c
include/configs/lx2160a_common.h
include/configs/mxs.h
include/configs/s5p4418_nanopi2.h
include/configs/synquacer.h
include/configs/vexpress_common.h

diff --git a/README b/README
index 8354cf5699b94d4ff79b3148a713b30c6a8e2132..12672d2bfb00285eb7acb823954ff6d70631a095 100644 (file)
--- a/README
+++ b/README
@@ -418,7 +418,7 @@ The following options need to be configured:
                If you have Amba PrimeCell PL011 UARTs, set this variable to
                the clock speed of the UARTs.
 
-               CONFIG_PL01x_PORTS
+               CFG_PL01x_PORTS
 
                If you have Amba PrimeCell PL010 or PL011 UARTs on your board,
                define this to a list of base addresses for each (supported)
index dd2881931dfddb0c913d527c81db3d8783c9f47c..7449e9b904307135cc1d9e6a6b9f78b91f030734 100644 (file)
@@ -29,7 +29,7 @@ DECLARE_GLOBAL_DATA_PTR;
 
 #ifndef CONFIG_DM_SERIAL
 
-static volatile unsigned char *const port[] = CONFIG_PL01x_PORTS;
+static volatile unsigned char *const port[] = CFG_PL01x_PORTS;
 static enum pl01x_type pl01x_type __section(".data");
 static struct pl01x_regs *base_regs __section(".data");
 #define NUM_PORTS (sizeof(port)/sizeof(port[0]))
index f8a20ea16f9d3a4624f00fd0c30874f349f92b8c..6f46ca78d4d834f56692ac66f3bfec3a614e0446 100644 (file)
@@ -45,7 +45,7 @@
 #define CFG_SYS_SERIAL2                0x21e0000
 #define CFG_SYS_SERIAL3                0x21f0000
 /*below might needs to be removed*/
-#define CONFIG_PL01x_PORTS             {(void *)CFG_SYS_SERIAL0, \
+#define CFG_PL01x_PORTS                {(void *)CFG_SYS_SERIAL0, \
                                        (void *)CFG_SYS_SERIAL1, \
                                        (void *)CFG_SYS_SERIAL2, \
                                        (void *)CFG_SYS_SERIAL3 }
index 90cb1a5e4a0092d5f473a6ea5d7a3103a42cbfc7..6ebfee69271707b7404c91c9aebcec9cf0fc857f 100644 (file)
@@ -78,7 +78,7 @@
  * Conflicts with AUART driver which can be set by board.
  */
 #define CFG_PL011_CLOCK                24000000
-#define CONFIG_PL01x_PORTS             { (void *)MXS_UARTDBG_BASE }
+#define CFG_PL01x_PORTS                { (void *)MXS_UARTDBG_BASE }
 /* Default baudrate can be overridden by board! */
 
 /* NAND */
index 0e7d01925eefdc1eb4f3f4f9ada43aff7e9012f0..2fa44e65fc16c6694bb4fd728b7a414ebab73053 100644 (file)
@@ -77,7 +77,7 @@
  * serial console configuration
  */
 #define CFG_PL011_CLOCK                50000000
-#define CONFIG_PL01x_PORTS             {(void *)PHY_BASEADDR_UART0, \
+#define CFG_PL01x_PORTS                {(void *)PHY_BASEADDR_UART0, \
                                         (void *)PHY_BASEADDR_UART1, \
                                         (void *)PHY_BASEADDR_UART2, \
                                         (void *)PHY_BASEADDR_UART3}
index 350cc69c28dc475514d02ff57eef7c5e9850fed2..8f44c6f66a9221e42ade31bd3e152914f066819a 100644 (file)
@@ -32,7 +32,7 @@
 /* Serial (pl011)       */
 #define UART_CLK                       (62500000)
 #define CFG_PL011_CLOCK                UART_CLK
-#define CONFIG_PL01x_PORTS             {(void *)(0x2a400000)}
+#define CFG_PL01x_PORTS                {(void *)(0x2a400000)}
 
 /* Support MTD */
 #define CFG_SYS_FLASH_BASE             (0x08000000)
index 3fc70de577138503e79a4ee52e5477f369745e7b..ba7731bfca6b538a7b5084a029d06615b31b64ed 100644 (file)
 
 /* PL011 Serial Configuration */
 #define CFG_PL011_CLOCK                24000000
-#define CONFIG_PL01x_PORTS             {(void *)CFG_SYS_SERIAL0, \
+#define CFG_PL01x_PORTS                {(void *)CFG_SYS_SERIAL0, \
                                         (void *)CFG_SYS_SERIAL1}
 
 #define CFG_SYS_SERIAL0                V2M_UART0