summaryrefslogtreecommitdiff
path: root/src/mainboard/asus/p2b-d/auto.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/asus/p2b-d/auto.c')
-rw-r--r--src/mainboard/asus/p2b-d/auto.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mainboard/asus/p2b-d/auto.c b/src/mainboard/asus/p2b-d/auto.c
index 4857cd540f..7371ba7870 100644
--- a/src/mainboard/asus/p2b-d/auto.c
+++ b/src/mainboard/asus/p2b-d/auto.c
@@ -31,6 +31,7 @@
#include "pc80/serial.c"
#include "arch/i386/lib/console.c"
#include "lib/ramtest.c"
+#include "southbridge/intel/i82371eb/i82371eb_enable_rom.c"
#include "southbridge/intel/i82371eb/i82371eb_early_smbus.c"
#include "northbridge/intel/i440bx/raminit.h"
#include "lib/debug.c"
@@ -61,6 +62,10 @@ static void main(unsigned long bist)
uart_init();
console_init();
report_bist_failure(bist);
+
+ /* Enable access to the full ROM chip, needed very early by CBFS. */
+ i82371eb_enable_rom(PCI_DEV(0, 4, 0)); /* ISA bridge is 00:04.0. */
+
enable_smbus();
/* dump_spd_registers(); */
sdram_set_registers();