summaryrefslogtreecommitdiff
path: root/src/mainboard/amd/persimmon/reset.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/amd/persimmon/reset.c')
-rw-r--r--src/mainboard/amd/persimmon/reset.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mainboard/amd/persimmon/reset.c b/src/mainboard/amd/persimmon/reset.c
index 5958e772dd..bb2482b57b 100644
--- a/src/mainboard/amd/persimmon/reset.c
+++ b/src/mainboard/amd/persimmon/reset.c
@@ -17,10 +17,11 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-
+#ifndef __PRE_RAM__
+#define __PRE_RAM__ // Use simple device model for this file even in ramstage
+#endif
+#include <arch/io.h>
#include <reset.h>
-#include <arch/io.h> /*inb, outb*/
-#include <arch/romcc_io.h> /*pci_read_config32, device_t, PCI_DEV*/
#define HT_INIT_CONTROL 0x6C
#define HTIC_BIOSR_Detect (1<<5)