global: Migrate CONFIG_X86_REFCODE_RUN_ADDR to CFG
Perform a simple rename of CONFIG_X86_REFCODE_RUN_ADDR to CFG_X86_REFCODE_RUN_ADDR Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
d4143373f1
commit
92a5c89998
@ -99,7 +99,7 @@ static int cpu_run_reference_code(void)
|
|||||||
pei_data->saved_data = (void *)&dummy;
|
pei_data->saved_data = (void *)&dummy;
|
||||||
|
|
||||||
src = (char *)hdr + hdr->payload_begin_offset;
|
src = (char *)hdr + hdr->payload_begin_offset;
|
||||||
dest = (char *)CONFIG_X86_REFCODE_RUN_ADDR;
|
dest = (char *)CFG_X86_REFCODE_RUN_ADDR;
|
||||||
|
|
||||||
size = hdr->payload_end_offset - hdr->payload_begin_offset;
|
size = hdr->payload_end_offset - hdr->payload_begin_offset;
|
||||||
debug("Copying refcode from %p to %p, size %x\n", src, dest, size);
|
debug("Copying refcode from %p to %p, size %x\n", src, dest, size);
|
||||||
@ -112,7 +112,7 @@ static int cpu_run_reference_code(void)
|
|||||||
func = (asmlinkage int (*)(void *))dest;
|
func = (asmlinkage int (*)(void *))dest;
|
||||||
debug("Running reference code at %p\n", func);
|
debug("Running reference code at %p\n", func);
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
print_buffer(CONFIG_X86_REFCODE_RUN_ADDR, (void *)func, 1, 0x40, 0);
|
print_buffer(CFG_X86_REFCODE_RUN_ADDR, (void *)func, 1, 0x40, 0);
|
||||||
#endif
|
#endif
|
||||||
ret = func(pei_data);
|
ret = func(pei_data);
|
||||||
if (ret != 0) {
|
if (ret != 0) {
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
#define CFG_X86_MRC_ADDR 0xfffa0000
|
#define CFG_X86_MRC_ADDR 0xfffa0000
|
||||||
#define CFG_X86_REFCODE_ADDR 0xffea0000
|
#define CFG_X86_REFCODE_ADDR 0xffea0000
|
||||||
#define CONFIG_X86_REFCODE_RUN_ADDR 0
|
#define CFG_X86_REFCODE_RUN_ADDR 0
|
||||||
|
|
||||||
#define VIDEO_IO_OFFSET 0
|
#define VIDEO_IO_OFFSET 0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user