summaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-12-29 19:32:24 -0700
committerSimon Glass <sjg@chromium.org>2015-01-23 17:24:15 -0700
commitbdc88d4eb31e2bc84afb427c216c79e87a4233ef (patch)
treec376f7c41737461e4dceab1bc65c98b5f0ec365f /arch/x86
parent40305240c66ab5e3725c131e321402c7dfe687a2 (diff)
downloadu-boot-imx-bdc88d4eb31e2bc84afb427c216c79e87a4233ef.zip
u-boot-imx-bdc88d4eb31e2bc84afb427c216c79e87a4233ef.tar.gz
u-boot-imx-bdc88d4eb31e2bc84afb427c216c79e87a4233ef.tar.bz2
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/x86')
-rw-r--r--arch/x86/include/asm/u-boot-x86.h2
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 36145cb..b98afa8 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_ */