summaryrefslogtreecommitdiff
path: root/src/mainboard/artecgroup/dbe61
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@coresystems.de>2009-10-03 16:27:48 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2009-10-03 16:27:48 +0000
commit689a7204855406c88b6e4e4439628b52fd8c0638 (patch)
tree5ffbda07b1864620de81ebd7f167a9ef12f72a32 /src/mainboard/artecgroup/dbe61
parent6768f39a4b5a5d6d1c2318f632f801fe1c8084cd (diff)
downloadcoreboot-689a7204855406c88b6e4e4439628b52fd8c0638.tar.xz
Tell vgabios code in a couple of boards/chipsets about CBFS
Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4713 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/artecgroup/dbe61')
-rw-r--r--src/mainboard/artecgroup/dbe61/realmode/vgabios.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainboard/artecgroup/dbe61/realmode/vgabios.c b/src/mainboard/artecgroup/dbe61/realmode/vgabios.c
index ecf8c2a8e3..944e7c03e0 100644
--- a/src/mainboard/artecgroup/dbe61/realmode/vgabios.c
+++ b/src/mainboard/artecgroup/dbe61/realmode/vgabios.c
@@ -7,6 +7,7 @@
#include <arch/io.h>
#include <string.h>
#include "chip.h"
+#include <cbfs.h>
/* vgabios.c. Derived from: */
@@ -266,7 +267,7 @@ void do_vgabios(device_t dev)
{
unsigned long busdevfn;
- unsigned int rom = dev->rom_address;
+ unsigned int rom = cbfs_load_optionrom(dev->vendor, dev->device, 0);
unsigned char *buf;
unsigned int size = 64*1024;
int i;