diff options
author | Simon Glass <sjg@chromium.org> | 2014-12-29 19:32:24 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-01-23 17:24:15 -0700 |
commit | bdc88d4eb31e2bc84afb427c216c79e87a4233ef (patch) | |
tree | c376f7c41737461e4dceab1bc65c98b5f0ec365f /arch | |
parent | 40305240c66ab5e3725c131e321402c7dfe687a2 (diff) | |
download | u-boot-bdc88d4eb31e2bc84afb427c216c79e87a4233ef.tar.gz u-boot-bdc88d4eb31e2bc84afb427c216c79e87a4233ef.tar.xz u-boot-bdc88d4eb31e2bc84afb427c216c79e87a4233ef.zip |
x86: Support ROMs on other archs
We shouldn't assume that the VGA ROM can always be loaded at c0000. This
is only true on x86 machines.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/include/asm/u-boot-x86.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/u-boot-x86.h b/arch/x86/include/asm/u-boot-x86.h index 36145cb0a8..b98afa801d 100644 --- a/arch/x86/include/asm/u-boot-x86.h +++ b/arch/x86/include/asm/u-boot-x86.h @@ -70,4 +70,6 @@ uint64_t timer_get_tsc(void); void quick_ram_check(void); +#define PCI_VGA_RAM_IMAGE_START 0xc0000 + #endif /* _U_BOOT_I386_H_ */ |