summaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-12-04 18:14:08 +0300
committerTom Rini <trini@konsulko.com>2022-12-23 18:15:13 +0300
commitd4143373f161984426f0bd1fda1cbced21e57272 (patch)
tree505d1d493b17acc82f3727e7b1dcf1f33bd234fd /arch/x86
parentfa2fd534b5d80d59b9043f2d8291fcb1c6c75a5b (diff)
downloadu-boot-d4143373f161984426f0bd1fda1cbced21e57272.tar.xz
global: Migrate CONFIG_X86_REFCODE_ADDR to CFG
Perform a simple rename of CONFIG_X86_REFCODE_ADDR to CFG_X86_REFCODE_ADDR Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/cpu/broadwell/refcode.c2
-rw-r--r--arch/x86/dts/u-boot.dtsi2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/cpu/broadwell/refcode.c b/arch/x86/cpu/broadwell/refcode.c
index 94c2e05346..3b7ec2b74e 100644
--- a/arch/x86/cpu/broadwell/refcode.c
+++ b/arch/x86/cpu/broadwell/refcode.c
@@ -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");
diff --git a/arch/x86/dts/u-boot.dtsi b/arch/x86/dts/u-boot.dtsi
index 454efc1761..e0de331809 100644
--- a/arch/x86/dts/u-boot.dtsi
+++ b/arch/x86/dts/u-boot.dtsi
@@ -149,7 +149,7 @@
#endif
#ifdef CONFIG_HAVE_REFCODE
intel-refcode {
- offset = <CONFIG_X86_REFCODE_ADDR>;
+ offset = <CFG_X86_REFCODE_ADDR>;
};
#endif
#ifdef CONFIG_TPL