__PRE_RAM__ is now correctly specified in the Makefile. No need to hack it into

romstage.c anymore

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5315 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Stefan Reinauer
2010-03-29 19:19:16 +00:00
committed by Stefan Reinauer
parent 8013d5a568
commit 5e32823a68
122 changed files with 122 additions and 124 deletions

View File

@@ -18,7 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#define __PRE_RAM__
#define ASSEMBLY 1 #define ASSEMBLY 1
#include <stdint.h> #include <stdint.h>

View File

@@ -18,7 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#define __PRE_RAM__
#define ASSEMBLY 1 #define ASSEMBLY 1
#include <stdint.h> #include <stdint.h>

View File

@@ -18,7 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#define __PRE_RAM__
#define ASSEMBLY 1 #define ASSEMBLY 1
#include <stdint.h> #include <stdint.h>

View File

@@ -19,7 +19,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <arch/io.h> #include <arch/io.h>

View File

@@ -19,7 +19,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <device/pci_def.h> #include <device/pci_def.h>

View File

@@ -18,7 +18,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#define RAMINIT_SYSINFO 1 #define RAMINIT_SYSINFO 1
#define K8_SET_FIDVID 1 #define K8_SET_FIDVID 1

View File

@@ -18,7 +18,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#define RAMINIT_SYSINFO 1 #define RAMINIT_SYSINFO 1
#define K8_SET_FIDVID 1 #define K8_SET_FIDVID 1

View File

@@ -19,7 +19,7 @@
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
//#define SYSTEM_TYPE 0 /* SERVER */ //#define SYSTEM_TYPE 0 /* SERVER */
#define SYSTEM_TYPE 1 /* DESKTOP */ #define SYSTEM_TYPE 1 /* DESKTOP */

View File

@@ -18,7 +18,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#define RAMINIT_SYSINFO 1 #define RAMINIT_SYSINFO 1
#define K8_SET_FIDVID 1 #define K8_SET_FIDVID 1

View File

@@ -1,5 +1,5 @@
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <device/pci_def.h> #include <device/pci_def.h>

View File

@@ -1,5 +1,5 @@
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#define RAMINIT_SYSINFO 1 #define RAMINIT_SYSINFO 1
#define CACHE_AS_RAM_ADDRESS_DEBUG 0 #define CACHE_AS_RAM_ADDRESS_DEBUG 0

View File

@@ -19,7 +19,7 @@
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#define SYSTEM_TYPE 0 /* SERVER */ #define SYSTEM_TYPE 0 /* SERVER */
//#define SYSTEM_TYPE 1 /* DESKTOP */ //#define SYSTEM_TYPE 1 /* DESKTOP */

View File

@@ -1,5 +1,5 @@
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <device/pci_def.h> #include <device/pci_def.h>

View File

@@ -19,7 +19,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <device/pci_def.h> #include <device/pci_def.h>

View File

@@ -19,7 +19,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <arch/io.h> #include <arch/io.h>

View File

@@ -19,7 +19,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <device/pci_def.h> #include <device/pci_def.h>

View File

@@ -22,7 +22,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
/* Used by it8712f_enable_serial(). */ /* Used by it8712f_enable_serial(). */
#define SERIAL_DEV PNP_DEV(0x2e, IT8712F_SP1) #define SERIAL_DEV PNP_DEV(0x2e, IT8712F_SP1)

View File

@@ -23,7 +23,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#define RAMINIT_SYSINFO 1 #define RAMINIT_SYSINFO 1

View File

@@ -23,7 +23,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#define RAMINIT_SYSINFO 1 #define RAMINIT_SYSINFO 1

View File

@@ -19,7 +19,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <stdlib.h> #include <stdlib.h>

View File

@@ -19,7 +19,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <device/pci_def.h> #include <device/pci_def.h>

View File

@@ -19,7 +19,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <device/pci_def.h> #include <device/pci_def.h>

View File

@@ -19,7 +19,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <device/pci_def.h> #include <device/pci_def.h>

View File

@@ -19,7 +19,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <device/pci_def.h> #include <device/pci_def.h>

View File

@@ -19,7 +19,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <device/pci_def.h> #include <device/pci_def.h>

View File

@@ -19,7 +19,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <device/pci_def.h> #include <device/pci_def.h>

View File

@@ -19,7 +19,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <device/pci_def.h> #include <device/pci_def.h>

View File

@@ -19,7 +19,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <device/pci_def.h> #include <device/pci_def.h>

View File

@@ -19,7 +19,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <device/pci_def.h> #include <device/pci_def.h>

View File

@@ -19,7 +19,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <device/pci_def.h> #include <device/pci_def.h>

View File

@@ -20,7 +20,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <device/pci_def.h> #include <device/pci_def.h>

View File

@@ -19,7 +19,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <device/pci_def.h> #include <device/pci_def.h>

View File

@@ -1,5 +1,5 @@
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#define QRANK_DIMM_SUPPORT 1 #define QRANK_DIMM_SUPPORT 1

View File

@@ -19,7 +19,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <device/pci_def.h> #include <device/pci_def.h>

View File

@@ -1,5 +1,5 @@
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <device/pci_def.h> #include <device/pci_def.h>
#include <arch/io.h> #include <arch/io.h>

View File

@@ -1,5 +1,5 @@
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#define ASM_CONSOLE_LOGLEVEL 8 #define ASM_CONSOLE_LOGLEVEL 8
#include <stdint.h> #include <stdint.h>
#include <device/pci_def.h> #include <device/pci_def.h>

View File

@@ -1,5 +1,5 @@
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#define ASM_CONSOLE_LOGLEVEL 8 #define ASM_CONSOLE_LOGLEVEL 8
#include <stdint.h> #include <stdint.h>
#include <device/pci_def.h> #include <device/pci_def.h>

View File

@@ -1,5 +1,5 @@
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <device/pci_def.h> #include <device/pci_def.h>

View File

@@ -1,5 +1,5 @@
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <device/pci_def.h> #include <device/pci_def.h>

View File

@@ -1,5 +1,5 @@
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <device/pci_def.h> #include <device/pci_def.h>

View File

@@ -19,7 +19,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <device/pci_def.h> #include <device/pci_def.h>

View File

@@ -22,7 +22,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#define RAMINIT_SYSINFO 1 #define RAMINIT_SYSINFO 1

View File

@@ -20,7 +20,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#define RAMINIT_SYSINFO 1 #define RAMINIT_SYSINFO 1

View File

@@ -26,7 +26,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#define RAMINIT_SYSINFO 1 #define RAMINIT_SYSINFO 1

View File

@@ -19,7 +19,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <device/pci_def.h> #include <device/pci_def.h>

View File

@@ -1,5 +1,5 @@
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <string.h> #include <string.h>

View File

@@ -1,5 +1,5 @@
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <string.h> #include <string.h>

View File

@@ -19,7 +19,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <device/pci_def.h> #include <device/pci_def.h>

View File

@@ -19,7 +19,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <device/pci_def.h> #include <device/pci_def.h>

View File

@@ -19,7 +19,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <device/pci_def.h> #include <device/pci_def.h>

View File

@@ -18,7 +18,7 @@
*/ */
// __PRE_RAM__ means: use "unsigned" for device, not a struct. // __PRE_RAM__ means: use "unsigned" for device, not a struct.
#define __PRE_RAM__
/* Configuration of the i945 driver */ /* Configuration of the i945 driver */
#define CHIPSET_I945GC 1 #define CHIPSET_I945GC 1

View File

@@ -20,7 +20,7 @@
* MA 02110-1301 USA * MA 02110-1301 USA
*/ */
#define __PRE_RAM__
#include <delay.h> #include <delay.h>

View File

@@ -1,5 +1,5 @@
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <device/pci_def.h> #include <device/pci_def.h>
#include <arch/io.h> #include <arch/io.h>

View File

@@ -19,7 +19,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <stdlib.h> #include <stdlib.h>
#include <device/pci_def.h> #include <device/pci_def.h>

View File

@@ -19,7 +19,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <stdlib.h> #include <stdlib.h>
#include <device/pci_def.h> #include <device/pci_def.h>

View File

@@ -1,5 +1,5 @@
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <device/pci_def.h> #include <device/pci_def.h>

View File

@@ -1,5 +1,5 @@
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#define RAMINIT_SYSINFO 1 #define RAMINIT_SYSINFO 1
#define CACHE_AS_RAM_ADDRESS_DEBUG 0 #define CACHE_AS_RAM_ADDRESS_DEBUG 0

View File

@@ -1,5 +1,5 @@
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#define RAMINIT_SYSINFO 1 #define RAMINIT_SYSINFO 1
#define CACHE_AS_RAM_ADDRESS_DEBUG 0 #define CACHE_AS_RAM_ADDRESS_DEBUG 0

View File

@@ -1,5 +1,5 @@
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#define RAMINIT_SYSINFO 1 #define RAMINIT_SYSINFO 1
#define CACHE_AS_RAM_ADDRESS_DEBUG 0 #define CACHE_AS_RAM_ADDRESS_DEBUG 0

View File

@@ -20,7 +20,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <device/pci_def.h> #include <device/pci_def.h>

View File

@@ -18,7 +18,7 @@
*/ */
// __PRE_RAM__ means: use "unsigned" for device, not a struct. // __PRE_RAM__ means: use "unsigned" for device, not a struct.
#define __PRE_RAM__
/* Configuration of the i945 driver */ /* Configuration of the i945 driver */
#define CHIPSET_I945GM 1 #define CHIPSET_I945GM 1

View File

@@ -19,7 +19,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#define RAMINIT_SYSINFO 1 #define RAMINIT_SYSINFO 1
#define K8_SET_FIDVID 1 #define K8_SET_FIDVID 1

View File

@@ -1,5 +1,5 @@
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <device/pci_def.h> #include <device/pci_def.h>

View File

@@ -22,7 +22,7 @@
/* Based on romstage.c from AMD's DB800 and DBM690T mainboards. */ /* Based on romstage.c from AMD's DB800 and DBM690T mainboards. */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdlib.h> #include <stdlib.h>
#include <stdint.h> #include <stdint.h>

View File

@@ -22,7 +22,7 @@
/* Based on romstage.c from AMD's DB800 and DBM690T mainboards. */ /* Based on romstage.c from AMD's DB800 and DBM690T mainboards. */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdlib.h> #include <stdlib.h>
#include <stdint.h> #include <stdint.h>

View File

@@ -19,7 +19,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <stdlib.h> #include <stdlib.h>

View File

@@ -19,7 +19,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <stdlib.h> #include <stdlib.h>

View File

@@ -19,7 +19,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <stdlib.h> #include <stdlib.h>

View File

@@ -19,7 +19,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <stdlib.h> #include <stdlib.h>

View File

@@ -19,7 +19,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <device/pci_def.h> #include <device/pci_def.h>

View File

@@ -23,7 +23,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#define SERIAL_DEV PNP_DEV(0x4e, W83627HF_SP1) #define SERIAL_DEV PNP_DEV(0x4e, W83627HF_SP1)

View File

@@ -21,7 +21,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
// #define CACHE_AS_RAM_ADDRESS_DEBUG 1 // #define CACHE_AS_RAM_ADDRESS_DEBUG 1
// #define RAM_TIMING_DEBUG 1 // #define RAM_TIMING_DEBUG 1

View File

@@ -24,7 +24,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#define RAMINIT_SYSINFO 1 #define RAMINIT_SYSINFO 1
#define CACHE_AS_RAM_ADDRESS_DEBUG 0 #define CACHE_AS_RAM_ADDRESS_DEBUG 0

View File

@@ -23,7 +23,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#define RAMINIT_SYSINFO 1 #define RAMINIT_SYSINFO 1
#define CACHE_AS_RAM_ADDRESS_DEBUG 0 #define CACHE_AS_RAM_ADDRESS_DEBUG 0

View File

@@ -20,7 +20,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#define RAMINIT_SYSINFO 1 #define RAMINIT_SYSINFO 1

View File

@@ -19,7 +19,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <device/pci_def.h> #include <device/pci_def.h>

View File

@@ -4,7 +4,7 @@
* Additional (C) 2007 coresystems GmbH * Additional (C) 2007 coresystems GmbH
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <string.h> #include <string.h>

View File

@@ -20,7 +20,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#define RAMINIT_SYSINFO 1 #define RAMINIT_SYSINFO 1

View File

@@ -1,5 +1,5 @@
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <device/pci_def.h> #include <device/pci_def.h>

View File

@@ -1,5 +1,5 @@
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <device/pci_def.h> #include <device/pci_def.h>

View File

@@ -18,7 +18,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <spd.h> #include <spd.h>

View File

@@ -19,7 +19,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <stdlib.h> #include <stdlib.h>

View File

@@ -20,7 +20,7 @@
*/ */
// __PRE_RAM__ means: use "unsigned" for device, not a struct. // __PRE_RAM__ means: use "unsigned" for device, not a struct.
#define __PRE_RAM__
/* Configuration of the i945 driver */ /* Configuration of the i945 driver */
#define CHIPSET_I945GM 1 #define CHIPSET_I945GM 1

View File

@@ -19,7 +19,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <device/pci_def.h> #include <device/pci_def.h>

View File

@@ -1,5 +1,5 @@
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#define K8_ALLOCATE_IO_RANGE 1 #define K8_ALLOCATE_IO_RANGE 1

View File

@@ -17,7 +17,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#define RAMINIT_SYSINFO 1 #define RAMINIT_SYSINFO 1

View File

@@ -20,7 +20,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#define RAMINIT_SYSINFO 1 #define RAMINIT_SYSINFO 1

View File

@@ -20,7 +20,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#define RAMINIT_SYSINFO 1 #define RAMINIT_SYSINFO 1

View File

@@ -20,7 +20,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#define RAMINIT_SYSINFO 1 #define RAMINIT_SYSINFO 1

View File

@@ -1,5 +1,5 @@
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <device/pci_def.h> #include <device/pci_def.h>
#include <arch/io.h> #include <arch/io.h>

View File

@@ -1,5 +1,5 @@
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <device/pci_def.h> #include <device/pci_def.h>
#include <arch/io.h> #include <arch/io.h>

View File

@@ -1,5 +1,5 @@
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <device/pci_def.h> #include <device/pci_def.h>
#include <arch/io.h> #include <arch/io.h>

View File

@@ -1,5 +1,5 @@
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <device/pci_def.h> #include <device/pci_def.h>
#include <arch/io.h> #include <arch/io.h>

View File

@@ -1,5 +1,5 @@
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <device/pci_def.h> #include <device/pci_def.h>
#include <arch/io.h> #include <arch/io.h>

View File

@@ -18,7 +18,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#define RAMINIT_SYSINFO 1 #define RAMINIT_SYSINFO 1
#define K8_SET_FIDVID 1 #define K8_SET_FIDVID 1

View File

@@ -18,7 +18,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#define RAMINIT_SYSINFO 1 #define RAMINIT_SYSINFO 1
#define K8_SET_FIDVID 1 #define K8_SET_FIDVID 1

View File

@@ -5,7 +5,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#define ASM_CONSOLE_LOGLEVEL 6 #define ASM_CONSOLE_LOGLEVEL 6
#include <stdint.h> #include <stdint.h>
#include <device/pci_def.h> #include <device/pci_def.h>

View File

@@ -19,7 +19,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <device/pci_def.h> #include <device/pci_def.h>

View File

@@ -19,7 +19,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <stdlib.h> #include <stdlib.h>
@@ -96,8 +96,6 @@ static void mb_early_setup(void)
pci_write_config32(PCI_DEV(0, 0x1f, 0), PMBASE, (PMBASE_ADDR | 1)); pci_write_config32(PCI_DEV(0, 0x1f, 0), PMBASE, (PMBASE_ADDR | 1));
/* Enable the SMBUS */ /* Enable the SMBUS */
enable_smbus(); enable_smbus();
/* ACPI base address and disable Resource Indicator */
pci_write_config32(PCI_DEV(0, 0x1f, 0), PMBASE, (PMBASE_ADDR));
/* ACPI Enable */ /* ACPI Enable */
pci_write_config8(PCI_DEV(0, 0x1f, 0), ACPI_CNTL, 0x10); pci_write_config8(PCI_DEV(0, 0x1f, 0), ACPI_CNTL, 0x10);
} }

View File

@@ -19,7 +19,7 @@
*/ */
#define ASSEMBLY 1 #define ASSEMBLY 1
#define __PRE_RAM__
#include <stdint.h> #include <stdint.h>
#include <device/pci_def.h> #include <device/pci_def.h>

Some files were not shown because too many files have changed in this diff Show More