[PoC 006/241] global: Migrate CONFIG_DM9000_BYTE_SWAPPED to CFG
Tom Rini
trini at konsulko.com
Sun Nov 20 14:29:57 CET 2022
Signed-off-by: Tom Rini <trini at konsulko.com>
---
drivers/net/dm9000x.c | 2 +-
include/configs/M5253DEMO.h | 2 +-
scripts/config_whitelist.txt | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net/dm9000x.c b/drivers/net/dm9000x.c
index 07733df533e2..6bf316263d59 100644
--- a/drivers/net/dm9000x.c
+++ b/drivers/net/dm9000x.c
@@ -83,7 +83,7 @@ struct dm9000_priv {
};
/* DM9000 network board routine ---------------------------- */
-#ifndef CONFIG_DM9000_BYTE_SWAPPED
+#ifndef CFG_DM9000_BYTE_SWAPPED
#define dm9000_outb(d, r) writeb((d), (r))
#define dm9000_outw(d, r) writew((d), (r))
#define dm9000_outl(d, r) writel((d), (r))
diff --git a/include/configs/M5253DEMO.h b/include/configs/M5253DEMO.h
index 223a843fc695..4be4d0f84512 100644
--- a/include/configs/M5253DEMO.h
+++ b/include/configs/M5253DEMO.h
@@ -24,7 +24,7 @@
# define DM9000_IO CFG_DM9000_BASE
# define DM9000_DATA (CFG_DM9000_BASE + 4)
# undef CONFIG_DM9000_DEBUG
-# define CONFIG_DM9000_BYTE_SWAPPED
+# define CFG_DM9000_BYTE_SWAPPED
# define CONFIG_OVERWRITE_ETHADDR_ONCE
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 7c6fc0a07bf7..005b893b317c 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -6,7 +6,7 @@ CFG_DFU_ALT_BOOT_SD
CFG_DFU_ALT_SYSTEM
CFG_DFU_ENV_SETTINGS
CFG_DM9000_BASE
-CONFIG_DM9000_BYTE_SWAPPED
+CFG_DM9000_BYTE_SWAPPED
CONFIG_DM9000_NO_SROM
CONFIG_DM9000_USE_16BIT
CONFIG_DW_WDT_CLOCK_KHZ
--
2.25.1
More information about the U-Boot
mailing list