summaryrefslogtreecommitdiff
path: root/src/mainboard/asus/m5a88-v
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/asus/m5a88-v')
-rw-r--r--src/mainboard/asus/m5a88-v/reset.c6
-rw-r--r--src/mainboard/asus/m5a88-v/romstage.c1
2 files changed, 4 insertions, 3 deletions
diff --git a/src/mainboard/asus/m5a88-v/reset.c b/src/mainboard/asus/m5a88-v/reset.c
index 3ce182ed43..678bc3d267 100644
--- a/src/mainboard/asus/m5a88-v/reset.c
+++ b/src/mainboard/asus/m5a88-v/reset.c
@@ -17,9 +17,11 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <reset.h>
+#ifndef __PRE_RAM__
+#define __PRE_RAM__ // Use simple device model for this file even in ramstage
+#endif
#include <arch/io.h>
-#include <arch/romcc_io.h>
+#include <reset.h>
#define HT_INIT_CONTROL 0x6C
#define HTIC_BIOSR_Detect (1<<5)
diff --git a/src/mainboard/asus/m5a88-v/romstage.c b/src/mainboard/asus/m5a88-v/romstage.c
index 87dbdb8a83..dbae2d35f1 100644
--- a/src/mainboard/asus/m5a88-v/romstage.c
+++ b/src/mainboard/asus/m5a88-v/romstage.c
@@ -32,7 +32,6 @@
#include <device/pci_ids.h>
#include <arch/io.h>
#include <device/pnp_def.h>
-#include <arch/romcc_io.h>
#include <cpu/x86/lapic.h>
#include <console/console.h>
#include <cpu/amd/model_10xxx_rev.h>