diff options
author | Tom Rini <trini@konsulko.com> | 2022-12-04 10:14:07 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-12-23 10:15:13 -0500 |
commit | fa2fd534b5d80d59b9043f2d8291fcb1c6c75a5b (patch) | |
tree | 4140af7d09a27a924c25006c07742277e12b374f | |
parent | bb34410509205e70ab7c9830f9c17277e8dd54ad (diff) | |
download | u-boot-fa2fd534b5d80d59b9043f2d8291fcb1c6c75a5b.tar.gz u-boot-fa2fd534b5d80d59b9043f2d8291fcb1c6c75a5b.tar.bz2 u-boot-fa2fd534b5d80d59b9043f2d8291fcb1c6c75a5b.zip |
global: Migrate CONFIG_X86_MRC_ADDR to CFG
Perform a simple rename of CONFIG_X86_MRC_ADDR to CFG_X86_MRC_ADDR
Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r-- | arch/x86/cpu/intel_common/mrc.c | 2 | ||||
-rw-r--r-- | arch/x86/dts/u-boot.dtsi | 2 | ||||
-rw-r--r-- | include/configs/x86-chromebook.h | 2 | ||||
-rw-r--r-- | tools/binman/binman.rst | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86/cpu/intel_common/mrc.c b/arch/x86/cpu/intel_common/mrc.c index a4918fbad6..69405d740b 100644 --- a/arch/x86/cpu/intel_common/mrc.c +++ b/arch/x86/cpu/intel_common/mrc.c @@ -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; diff --git a/arch/x86/dts/u-boot.dtsi b/arch/x86/dts/u-boot.dtsi index 24e692f988..454efc1761 100644 --- a/arch/x86/dts/u-boot.dtsi +++ b/arch/x86/dts/u-boot.dtsi @@ -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 diff --git a/include/configs/x86-chromebook.h b/include/configs/x86-chromebook.h index 41fb499ae4..059e3a0d8a 100644 --- a/include/configs/x86-chromebook.h +++ b/include/configs/x86-chromebook.h @@ -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 diff --git a/tools/binman/binman.rst b/tools/binman/binman.rst index e7b231e071..69e4b00239 100644 --- a/tools/binman/binman.rst +++ b/tools/binman/binman.rst @@ -298,7 +298,7 @@ C preprocessor:: #ifdef CONFIG_HAVE_MRC intel-mrc { - offset = <CONFIG_X86_MRC_ADDR>; + offset = <CFG_X86_MRC_ADDR>; }; #endif |