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>
This commit is contained in:
Tom Rini 2022-12-04 10:14:08 -05:00
parent fa2fd534b5
commit d4143373f1
3 changed files with 3 additions and 3 deletions

View 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");

View File

@ -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

View 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