]> git.baikalelectronics.ru Git - uboot.git/commitdiff
global: Migrate CONFIG_USART_ID to CFG
authorTom Rini <trini@konsulko.com>
Sun, 4 Dec 2022 15:14:03 +0000 (10:14 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 23 Dec 2022 15:15:12 +0000 (10:15 -0500)
Perform a simple rename of CONFIG_USART_ID to CFG_USART_ID

Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/serial/atmel_usart.c
include/configs/corvus.h
include/configs/sam9x60_curiosity.h
include/configs/sam9x60ek.h
include/configs/smartweb.h
include/configs/taurus.h
include/configs/vinco.h

index 56655427b06bdf8545002004d74347f7777af17f..9d97bc8654455570d5dac1708fddd03f3b1a8a9f 100644 (file)
@@ -73,7 +73,7 @@ static void atmel_serial_activate(atmel_usart3_t *usart)
 static void atmel_serial_setbrg(void)
 {
        atmel_serial_setbrg_internal((atmel_usart3_t *)CFG_USART_BASE,
-                                    CONFIG_USART_ID, gd->baudrate);
+                                    CFG_USART_ID, gd->baudrate);
 }
 
 static int atmel_serial_init(void)
index c9eb75d93088f3069b6404acc72a7f101ba1b3a6..f2675e0ec86484b2b08224866bb1b63d3ea072ca 100644 (file)
@@ -29,7 +29,7 @@
 
 /* serial console */
 #define CFG_USART_BASE         ATMEL_BASE_DBGU
-#define CONFIG_USART_ID                        ATMEL_ID_SYS
+#define CFG_USART_ID                   ATMEL_ID_SYS
 
 /* SDRAM */
 #define CFG_SYS_SDRAM_BASE           ATMEL_BASE_CS6
index 204020d5ee74dd6c117f9257b0133c498d63dde8..e79f80f17f61cc3dad17f77c0f8fa4f2d520ebe5 100644 (file)
@@ -14,7 +14,7 @@
 #define CFG_SYS_AT91_MAIN_CLOCK        24000000        /* 24 MHz crystal */
 
 #define CFG_USART_BASE   ATMEL_BASE_DBGU
-#define CONFIG_USART_ID     0 /* ignored in arm */
+#define CFG_USART_ID     0 /* ignored in arm */
 
 /* SDRAM */
 #define CFG_SYS_SDRAM_BASE             0x20000000
index 800b98ff98afcfff81f9639cb710e55b845369a1..2c761821efb16b3251afd6b341286829124dd0d2 100644 (file)
@@ -15,7 +15,7 @@
 #define CFG_SYS_AT91_MAIN_CLOCK        24000000        /* 24 MHz crystal */
 
 #define CFG_USART_BASE   ATMEL_BASE_DBGU
-#define CONFIG_USART_ID     0 /* ignored in arm */
+#define CFG_USART_ID     0 /* ignored in arm */
 
 /*
  * define CONFIG_USB_EHCI_HCD to enable USB Hi-Speed (aka 2.0)
index f9a5aa9e32d0b8750d47d0622c1fa91ddac92de9..75a1670e3317571de951f155bdec968114a64916 100644 (file)
@@ -62,7 +62,7 @@
 
 /* serial console */
 #define CFG_USART_BASE         ATMEL_BASE_DBGU
-#define CONFIG_USART_ID                        ATMEL_ID_SYS
+#define CFG_USART_ID                   ATMEL_ID_SYS
 
 /* DFU class support */
 #define DFU_MANIFEST_POLL_TIMEOUT      25000
index 88870d6fdf694e18099119f13bd835848aec9309..174b848e25953ccf174dae2684ddb488d41a6c65 100644 (file)
@@ -35,7 +35,7 @@
 /* Misc CPU related */
 
 #define CFG_USART_BASE         ATMEL_BASE_DBGU
-#define CONFIG_USART_ID                        ATMEL_ID_SYS
+#define CFG_USART_ID                   ATMEL_ID_SYS
 
 /*
  * SDRAM: 1 bank, min 32, max 128 MB
index 3b4032301f6e262bb6458eb183abcdfaef0442f1..68c56df5435edeaea86d97667038f0542662cb6d 100644 (file)
@@ -18,7 +18,7 @@
 
 /* serial console */
 #define CFG_USART_BASE         0xfc00c000
-#define CONFIG_USART_ID                        30
+#define CFG_USART_ID                   30
 
 /* Timer */
 #define CFG_SYS_TIMER_COUNTER  0xfc06863c