global: Migrate CONFIG_X86_REFCODE_ADDR to CFG
authorTom Rini <trini@konsulko.com>
Sun, 4 Dec 2022 15:14:08 +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_REFCODE_ADDR to CFG_X86_REFCODE_ADDR

Signed-off-by: Tom Rini <trini@konsulko.com>
arch/x86/cpu/broadwell/refcode.c
arch/x86/dts/u-boot.dtsi
include/configs/x86-chromebook.h

index 94c2e05..3b7ec2b 100644 (file)
@@ -78,7 +78,7 @@ static int cpu_run_reference_code(void)
        int ret, dummy;
        int size;
 
-       hdr = (struct rmodule_header *)CONFIG_X86_REFCODE_ADDR;
+       hdr = (struct rmodule_header *)CFG_X86_REFCODE_ADDR;
        debug("Extracting code from rmodule at %p\n", hdr);
        if (hdr->magic != RMODULE_MAGIC) {
                debug("Invalid rmodule magic\n");
index 454efc1..e0de331 100644 (file)
 #endif
 #ifdef CONFIG_HAVE_REFCODE
        intel-refcode {
-               offset = <CONFIG_X86_REFCODE_ADDR>;
+               offset = <CFG_X86_REFCODE_ADDR>;
        };
 #endif
 #ifdef CONFIG_TPL
index 059e3a0..8bbbe51 100644 (file)
@@ -7,7 +7,7 @@
 #define _X86_CHROMEBOOK_H
 
 #define CFG_X86_MRC_ADDR                       0xfffa0000
-#define CONFIG_X86_REFCODE_ADDR                        0xffea0000
+#define CFG_X86_REFCODE_ADDR                   0xffea0000
 #define CONFIG_X86_REFCODE_RUN_ADDR            0
 
 #define VIDEO_IO_OFFSET                                0