]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 94c2e05346a6f6201a41a242273406af9633d99d..3b7ec2b74e8e398c841da79fb8a2179d431c7f44 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 454efc17614e6b43b0df649bd5a70315beb1896c..e0de331809105f09e233a6829b07358a4a52fa08 100644 (file)
 #endif
 #ifdef CONFIG_HAVE_REFCODE
        intel-refcode {
-               offset = <CONFIG_X86_REFCODE_ADDR>;
+               offset = <CFG_X86_REFCODE_ADDR>;
        };
 #endif
 #ifdef CONFIG_TPL
index 059e3a0d8a2c30ca78935a4e83200344f1fd43c2..8bbbe51ecb575bb0fe66493bf93a5dae8631e61c 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