[PoC 198/241] global: Migrate CONFIG_STD_DEVICES_SETTINGS to CFG
Tom Rini
trini at konsulko.com
Sun Nov 20 15:08:28 CET 2022
Signed-off-by: Tom Rini <trini at konsulko.com>
---
include/configs/bayleybay.h | 2 +-
include/configs/cherryhill.h | 2 +-
include/configs/chromebook_coral.h | 4 ++--
include/configs/chromebook_samus.h | 4 ++--
include/configs/conga-qeval20-qa3-e3845.h | 2 +-
include/configs/coreboot.h | 2 +-
include/configs/cougarcanyon2.h | 2 +-
include/configs/crownbay.h | 2 +-
include/configs/dfi-bt700.h | 2 +-
include/configs/efi-x86_app.h | 2 +-
include/configs/efi-x86_payload.h | 2 +-
include/configs/galileo.h | 2 +-
include/configs/minnowmax.h | 2 +-
include/configs/qemu-x86.h | 2 +-
include/configs/slimbootloader.h | 4 ++--
include/configs/som-db5800-som-6867.h | 2 +-
include/configs/theadorable-x86-common.h | 2 +-
include/configs/x86-chromebook.h | 2 +-
include/configs/x86-common.h | 2 +-
scripts/config_whitelist.txt | 2 +-
20 files changed, 23 insertions(+), 23 deletions(-)
diff --git a/include/configs/bayleybay.h b/include/configs/bayleybay.h
index b347125f2fa0..b0df328cd84b 100644
--- a/include/configs/bayleybay.h
+++ b/include/configs/bayleybay.h
@@ -12,7 +12,7 @@
#include <configs/x86-common.h>
-#define CONFIG_STD_DEVICES_SETTINGS "stdin=serial,usbkbd\0" \
+#define CFG_STD_DEVICES_SETTINGS "stdin=serial,usbkbd\0" \
"stdout=serial,vidconsole\0" \
"stderr=serial,vidconsole\0"
diff --git a/include/configs/cherryhill.h b/include/configs/cherryhill.h
index 726c43d35ea0..d6ce70a96aea 100644
--- a/include/configs/cherryhill.h
+++ b/include/configs/cherryhill.h
@@ -8,7 +8,7 @@
#include <configs/x86-common.h>
-#define CONFIG_STD_DEVICES_SETTINGS "stdin=usbkbd,serial\0" \
+#define CFG_STD_DEVICES_SETTINGS "stdin=usbkbd,serial\0" \
"stdout=vidconsole,serial\0" \
"stderr=vidconsole,serial\0"
diff --git a/include/configs/chromebook_coral.h b/include/configs/chromebook_coral.h
index d14c1d445b25..43fdc394416d 100644
--- a/include/configs/chromebook_coral.h
+++ b/include/configs/chromebook_coral.h
@@ -13,8 +13,8 @@
#include <configs/x86-common.h>
#include <configs/x86-chromebook.h>
-#undef CONFIG_STD_DEVICES_SETTINGS
-#define CONFIG_STD_DEVICES_SETTINGS "stdin=usbkbd,i8042-kbd,serial\0" \
+#undef CFG_STD_DEVICES_SETTINGS
+#define CFG_STD_DEVICES_SETTINGS "stdin=usbkbd,i8042-kbd,serial\0" \
"stdout=vidconsole,serial\0" \
"stderr=vidconsole,serial\0"
diff --git a/include/configs/chromebook_samus.h b/include/configs/chromebook_samus.h
index e29be3fda4ac..03a1033c5735 100644
--- a/include/configs/chromebook_samus.h
+++ b/include/configs/chromebook_samus.h
@@ -15,8 +15,8 @@
#include <configs/x86-common.h>
#include <configs/x86-chromebook.h>
-#undef CONFIG_STD_DEVICES_SETTINGS
-#define CONFIG_STD_DEVICES_SETTINGS "stdin=usbkbd,i8042-kbd,serial\0" \
+#undef CFG_STD_DEVICES_SETTINGS
+#define CFG_STD_DEVICES_SETTINGS "stdin=usbkbd,i8042-kbd,serial\0" \
"stdout=vidconsole,serial\0" \
"stderr=vidconsole,serial\0"
diff --git a/include/configs/conga-qeval20-qa3-e3845.h b/include/configs/conga-qeval20-qa3-e3845.h
index 31cfd2b12923..1066da3f8326 100644
--- a/include/configs/conga-qeval20-qa3-e3845.h
+++ b/include/configs/conga-qeval20-qa3-e3845.h
@@ -12,7 +12,7 @@
#include <configs/x86-common.h>
-#define CONFIG_STD_DEVICES_SETTINGS "stdin=serial\0" \
+#define CFG_STD_DEVICES_SETTINGS "stdin=serial\0" \
"stdout=serial\0" \
"stderr=serial\0"
diff --git a/include/configs/coreboot.h b/include/configs/coreboot.h
index f73004386fda..b4f49bf5289d 100644
--- a/include/configs/coreboot.h
+++ b/include/configs/coreboot.h
@@ -15,7 +15,7 @@
#include <configs/x86-common.h>
-#define CONFIG_STD_DEVICES_SETTINGS "stdin=serial,i8042-kbd,usbkbd\0" \
+#define CFG_STD_DEVICES_SETTINGS "stdin=serial,i8042-kbd,usbkbd\0" \
"stdout=serial,vidconsole\0" \
"stderr=serial,vidconsole\0"
diff --git a/include/configs/cougarcanyon2.h b/include/configs/cougarcanyon2.h
index b64c7df1b25f..31639e48da88 100644
--- a/include/configs/cougarcanyon2.h
+++ b/include/configs/cougarcanyon2.h
@@ -8,7 +8,7 @@
#include <configs/x86-common.h>
-#define CONFIG_STD_DEVICES_SETTINGS "stdin=serial,i8042-kbd,usbkbd\0" \
+#define CFG_STD_DEVICES_SETTINGS "stdin=serial,i8042-kbd,usbkbd\0" \
"stdout=serial,vga\0" \
"stderr=serial,vga\0"
diff --git a/include/configs/crownbay.h b/include/configs/crownbay.h
index ff74deb3d400..387bb8800e89 100644
--- a/include/configs/crownbay.h
+++ b/include/configs/crownbay.h
@@ -12,7 +12,7 @@
#include <configs/x86-common.h>
-#define CONFIG_STD_DEVICES_SETTINGS "stdin=serial,i8042-kbd,usbkbd\0" \
+#define CFG_STD_DEVICES_SETTINGS "stdin=serial,i8042-kbd,usbkbd\0" \
"stdout=serial,vidconsole\0" \
"stderr=serial,vidconsole\0"
diff --git a/include/configs/dfi-bt700.h b/include/configs/dfi-bt700.h
index 1510f8df4378..36c2510628fc 100644
--- a/include/configs/dfi-bt700.h
+++ b/include/configs/dfi-bt700.h
@@ -16,7 +16,7 @@
/* Use BayTrail internal HS UART which is memory-mapped */
#endif
-#define CONFIG_STD_DEVICES_SETTINGS "stdin=serial\0" \
+#define CFG_STD_DEVICES_SETTINGS "stdin=serial\0" \
"stdout=serial\0" \
"stderr=serial\0"
diff --git a/include/configs/efi-x86_app.h b/include/configs/efi-x86_app.h
index 6061a6db0a40..96ad15b535d1 100644
--- a/include/configs/efi-x86_app.h
+++ b/include/configs/efi-x86_app.h
@@ -10,7 +10,7 @@
#undef CONFIG_TPM_TIS_BASE_ADDRESS
-#define CONFIG_STD_DEVICES_SETTINGS "stdin=serial\0" \
+#define CFG_STD_DEVICES_SETTINGS "stdin=serial\0" \
"stdout=vidconsole\0" \
"stderr=vidconsole\0"
diff --git a/include/configs/efi-x86_payload.h b/include/configs/efi-x86_payload.h
index f50c2ce4dd07..c72b067c367d 100644
--- a/include/configs/efi-x86_payload.h
+++ b/include/configs/efi-x86_payload.h
@@ -12,7 +12,7 @@
#include <configs/x86-common.h>
-#define CONFIG_STD_DEVICES_SETTINGS "stdin=serial,i8042-kbd,usbkbd\0" \
+#define CFG_STD_DEVICES_SETTINGS "stdin=serial,i8042-kbd,usbkbd\0" \
"stdout=serial,vidconsole\0" \
"stderr=serial,vidconsole\0"
diff --git a/include/configs/galileo.h b/include/configs/galileo.h
index 472f236b9b6e..0380ac287be2 100644
--- a/include/configs/galileo.h
+++ b/include/configs/galileo.h
@@ -14,7 +14,7 @@
/* ns16550 UART is memory-mapped in Quark SoC */
-#define CONFIG_STD_DEVICES_SETTINGS "stdin=serial\0" \
+#define CFG_STD_DEVICES_SETTINGS "stdin=serial\0" \
"stdout=serial\0" \
"stderr=serial\0"
diff --git a/include/configs/minnowmax.h b/include/configs/minnowmax.h
index 50c52f8839b1..f3f645f9d699 100644
--- a/include/configs/minnowmax.h
+++ b/include/configs/minnowmax.h
@@ -12,7 +12,7 @@
#include <configs/x86-common.h>
-#define CONFIG_STD_DEVICES_SETTINGS "stdin=usbkbd,serial\0" \
+#define CFG_STD_DEVICES_SETTINGS "stdin=usbkbd,serial\0" \
"stdout=vidconsole,serial\0" \
"stderr=vidconsole,serial\0" \
"usb_pgood_delay=40\0"
diff --git a/include/configs/qemu-x86.h b/include/configs/qemu-x86.h
index 5cd13887084c..33263a46a407 100644
--- a/include/configs/qemu-x86.h
+++ b/include/configs/qemu-x86.h
@@ -22,7 +22,7 @@
#include <config_distro_bootcmd.h>
#include <configs/x86-common.h>
-#define CONFIG_STD_DEVICES_SETTINGS "stdin=serial,i8042-kbd\0" \
+#define CFG_STD_DEVICES_SETTINGS "stdin=serial,i8042-kbd\0" \
"stdout=serial,vidconsole\0" \
"stderr=serial,vidconsole\0"
diff --git a/include/configs/slimbootloader.h b/include/configs/slimbootloader.h
index 748a423b0833..20b99a1021df 100644
--- a/include/configs/slimbootloader.h
+++ b/include/configs/slimbootloader.h
@@ -8,7 +8,7 @@
#include <configs/x86-common.h>
-#define CONFIG_STD_DEVICES_SETTINGS \
+#define CFG_STD_DEVICES_SETTINGS \
"stdin=serial,i8042-kbd,usbkbd\0" \
"stdout=serial\0" \
"stderr=serial\0"
@@ -18,7 +18,7 @@
*/
#undef CFG_EXTRA_ENV_SETTINGS
#define CFG_EXTRA_ENV_SETTINGS \
- CONFIG_STD_DEVICES_SETTINGS \
+ CFG_STD_DEVICES_SETTINGS \
"netdev=eth0\0" \
"consoledev=ttyS0\0" \
"ramdiskaddr=0x4000000\0" \
diff --git a/include/configs/som-db5800-som-6867.h b/include/configs/som-db5800-som-6867.h
index ee038d83bc05..14cacbfe3f13 100644
--- a/include/configs/som-db5800-som-6867.h
+++ b/include/configs/som-db5800-som-6867.h
@@ -12,7 +12,7 @@
#include <configs/x86-common.h>
-#define CONFIG_STD_DEVICES_SETTINGS "stdin=serial,usbkbd\0" \
+#define CFG_STD_DEVICES_SETTINGS "stdin=serial,usbkbd\0" \
"stdout=serial,vidconsole\0" \
"stderr=serial,vidconsole\0"
diff --git a/include/configs/theadorable-x86-common.h b/include/configs/theadorable-x86-common.h
index f34063249e48..6b65fad50692 100644
--- a/include/configs/theadorable-x86-common.h
+++ b/include/configs/theadorable-x86-common.h
@@ -11,7 +11,7 @@
#ifndef __THEADORABLE_X86_COMMON_H
#define __THEADORABLE_X86_COMMON_H
-#define CONFIG_STD_DEVICES_SETTINGS "stdin=serial\0" \
+#define CFG_STD_DEVICES_SETTINGS "stdin=serial\0" \
"stdout=serial\0" \
"stderr=serial\0"
diff --git a/include/configs/x86-chromebook.h b/include/configs/x86-chromebook.h
index ec87eddd4c72..dfacecbdd501 100644
--- a/include/configs/x86-chromebook.h
+++ b/include/configs/x86-chromebook.h
@@ -13,7 +13,7 @@
#define VIDEO_IO_OFFSET 0
#define CONFIG_X86EMU_RAW_IO
-#define CONFIG_STD_DEVICES_SETTINGS "stdin=usbkbd,i8042-kbd,serial\0" \
+#define CFG_STD_DEVICES_SETTINGS "stdin=usbkbd,i8042-kbd,serial\0" \
"stdout=vidconsole,serial\0" \
"stderr=vidconsole,serial\0"
diff --git a/include/configs/x86-common.h b/include/configs/x86-common.h
index 0470a90391b0..9cfaa02958c8 100644
--- a/include/configs/x86-common.h
+++ b/include/configs/x86-common.h
@@ -62,7 +62,7 @@
#define CFG_EXTRA_ENV_SETTINGS \
DISTRO_BOOTENV \
- CONFIG_STD_DEVICES_SETTINGS \
+ CFG_STD_DEVICES_SETTINGS \
SPLASH_SETTINGS \
"pciconfighost=1\0" \
"netdev=eth0\0" \
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index e5598eb4159d..1f79a45cda8a 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -207,7 +207,7 @@ CFG_SPI_HALF_DUPLEX
CFG_SPI_N25Q256A_RESET
CFG_STACKBASE
CFG_STANDALONE_LOAD_ADDR
-CONFIG_STD_DEVICES_SETTINGS
+CFG_STD_DEVICES_SETTINGS
CONFIG_TEGRA_BOARD_STRING
CONFIG_TEGRA_ENABLE_UARTA
CONFIG_TEGRA_ENABLE_UARTD
--
2.25.1
More information about the U-Boot
mailing list