summaryrefslogtreecommitdiff
path: root/src/southbridge/amd/sb800/reset.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge/amd/sb800/reset.c')
-rw-r--r--src/southbridge/amd/sb800/reset.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/southbridge/amd/sb800/reset.c b/src/southbridge/amd/sb800/reset.c
index c48aaeb9af..315a065380 100644
--- a/src/southbridge/amd/sb800/reset.c
+++ b/src/southbridge/amd/sb800/reset.c
@@ -17,11 +17,13 @@
* 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>
-#include "../../../northbridge/amd/amdk8/reset_test.c"
+#include <northbridge/amd/amdk8/reset_test.c>
void hard_reset(void)
{