make all drivers relocatable. Per default, an 1:1 mapping is assumed.

Patch to add relocation to libpayload will follow.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Jordan Crouse <jordan.crouse@amd.com>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3524 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Stefan Reinauer
2008-08-19 17:49:53 +00:00
committed by Stefan Reinauer
parent addf443e12
commit 99c0856903
7 changed files with 114 additions and 36 deletions

View File

@@ -36,7 +36,7 @@
#define CRTC_DATA 0x3d5
#define VIDEO(_r, _c)\
((u16 *) (0xB8000 + ((_r) * (VIDEO_COLS * 2)) + ((_c) * 2)))
((u16 *) (phys_to_virt(0xB8000) + ((_r) * (VIDEO_COLS * 2)) + ((_c) * 2)))
static u8 crtc_read(u8 index)
{