summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/vga.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-arm/vga.h')
-rw-r--r--include/asm-arm/vga.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-arm/vga.h b/include/asm-arm/vga.h
index 6a9278df9..19c454396 100644
--- a/include/asm-arm/vga.h
+++ b/include/asm-arm/vga.h
@@ -1,9 +1,10 @@
#ifndef ASMARM_VGA_H
#define ASMARM_VGA_H
+#include <asm/hardware.h>
#include <asm/io.h>
-#define VGA_MAP_MEM(x) (0xe0000000 + (x))
+#define VGA_MAP_MEM(x) (PCIMEM_BASE + (x))
#define vga_readb(x) (*(x))
#define vga_writeb(x,y) (*(y) = (x))