[PoC 114/241] global: Migrate CONFIG_MEMSIZE_IN_BYTES to CFG

Tom Rini
2022-11-20T14:09:00Z

README | 4 ++--
include/configs/malta.h | 2 +-
scripts/config_whitelist.txt | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/README b/README
index d09ebd47cd83..8ab897f09641 100644
--- a/README
+++ b/README
@@ -373,11 +373,11 @@ The following options need to be configured:
such as ARM architectural timer initialization.

- Linux Kernel Interface:
- CONFIG_MEMSIZE_IN_BYTES [relevant for MIPS only]
+ CFG_MEMSIZE_IN_BYTES [relevant for MIPS only]

When transferring memsize parameter to Linux, some versions
expect it to be in bytes, others in MB.
- Define CONFIG_MEMSIZE_IN_BYTES to make it in bytes.
+ Define CFG_MEMSIZE_IN_BYTES to make it in bytes.

CONFIG_OF_LIBFDT

diff --git a/include/configs/malta.h b/include/configs/malta.h
index cd4f382b18f9..5301afef4d58 100644
--- a/include/configs/malta.h
+++ b/include/configs/malta.h
@@ -11,7 +11,7 @@
*/
#define CFG_MALTA

-#define CONFIG_MEMSIZE_IN_BYTES
+#define CFG_MEMSIZE_IN_BYTES

/*
* CPU Configuration
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 88e4db9a9f5c..6461fc20d698 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -122,7 +122,7 @@ CFG_MALTA
CFG_MAX_DSP_CPUS
CFG_MAX_MEM_MAPPED
CFG_MAX_RAM_BANK_SIZE
-CONFIG_MEMSIZE_IN_BYTES
+CFG_MEMSIZE_IN_BYTES
CONFIG_MEM_INIT_VALUE
CONFIG_MFG_ENV_SETTINGS
CONFIG_MII_DEFAULT_TSEC
--
2.25.1