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

Signed-off-by: Tom Rini <trini@konsulko.com>
arch/x86/cpu/intel_common/mrc.c
arch/x86/dts/u-boot.dtsi
include/configs/x86-chromebook.h
tools/binman/binman.rst

index a4918fbad61ab36d028988dc632dc400604710ea..69405d740b47dd39e9f84d3fba6a0e8b3046588a 100644 (file)
@@ -200,7 +200,7 @@ static int sdram_initialise(struct udevice *dev, struct udevice *me_dev,
 
        debug("PEI data at %p:\n", pei_data);
 
-       data = (char *)CONFIG_X86_MRC_ADDR;
+       data = (char *)CFG_X86_MRC_ADDR;
        if (data) {
                int rv;
                ulong start;
index 24e692f988d82dadf4dbc00b2e15462e030b4715..454efc17614e6b43b0df649bd5a70315beb1896c 100644 (file)
@@ -86,7 +86,7 @@
 #endif
 #ifdef CONFIG_HAVE_MRC
        intel-mrc {
-               offset = <CONFIG_X86_MRC_ADDR>;
+               offset = <CFG_X86_MRC_ADDR>;
        };
 #endif
 #ifdef CONFIG_FSP_VERSION1
index 41fb499ae4f7b8c58645f6d5cf2ba245c8c5b653..059e3a0d8a2c30ca78935a4e83200344f1fd43c2 100644 (file)
@@ -6,7 +6,7 @@
 #ifndef _X86_CHROMEBOOK_H
 #define _X86_CHROMEBOOK_H
 
-#define CONFIG_X86_MRC_ADDR                    0xfffa0000
+#define CFG_X86_MRC_ADDR                       0xfffa0000
 #define CONFIG_X86_REFCODE_ADDR                        0xffea0000
 #define CONFIG_X86_REFCODE_RUN_ADDR            0
 
index e7b231e0712048dc2bd53f70c7eca67d1586bfa9..69e4b00239c188fc6cd1f9bc14fa0b49ae20f056 100644 (file)
@@ -298,7 +298,7 @@ C preprocessor::
 
     #ifdef CONFIG_HAVE_MRC
         intel-mrc {
-                offset = <CONFIG_X86_MRC_ADDR>;
+                offset = <CFG_X86_MRC_ADDR>;
         };
     #endif