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