aboutsummaryrefslogtreecommitdiff
path: root/src/arch/i386/init/crt0_prologue.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/i386/init/crt0_prologue.inc')
-rw-r--r--src/arch/i386/init/crt0_prologue.inc28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/arch/i386/init/crt0_prologue.inc b/src/arch/i386/init/crt0_prologue.inc
new file mode 100644
index 0000000000..b0ce2cf869
--- /dev/null
+++ b/src/arch/i386/init/crt0_prologue.inc
@@ -0,0 +1,28 @@
+/*
+ * Copyright 2002 Eric Biederman
+ *
+ * This file is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+ */
+
+
+#include <arch/asm.h>
+#include <arch/intel.h>
+#include <console/loglevel.h>
+
+#ifndef ASM_CONSOLE_LOGLEVEL
+#define ASM_CONSOLE_LOGLEVEL CONFIG_MAXIMUM_CONSOLE_LOGLEVEL
+#endif
+
+/*
+ * This is the entry code the code in .reset section
+ * jumps to this address.
+ *
+ */
+.section ".rom.data", "a", @progbits
+.section ".rom.text", "ax", @progbits
+
+ post_code(0x01) /* delay for chipsets */
+