__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:
committed by
Stefan Reinauer
parent
8013d5a568
commit
5e32823a68
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
@@ -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
|
||||||
|
@@ -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
|
||||||
|
@@ -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 */
|
||||||
|
@@ -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
|
||||||
|
@@ -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>
|
||||||
|
@@ -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
|
||||||
|
@@ -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 */
|
||||||
|
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
@@ -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)
|
||||||
|
@@ -23,7 +23,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define ASSEMBLY 1
|
#define ASSEMBLY 1
|
||||||
#define __PRE_RAM__
|
|
||||||
|
|
||||||
#define RAMINIT_SYSINFO 1
|
#define RAMINIT_SYSINFO 1
|
||||||
|
|
||||||
|
@@ -23,7 +23,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define ASSEMBLY 1
|
#define ASSEMBLY 1
|
||||||
#define __PRE_RAM__
|
|
||||||
|
|
||||||
#define RAMINIT_SYSINFO 1
|
#define RAMINIT_SYSINFO 1
|
||||||
|
|
||||||
|
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#define ASSEMBLY 1
|
#define ASSEMBLY 1
|
||||||
#define __PRE_RAM__
|
|
||||||
|
|
||||||
#define QRANK_DIMM_SUPPORT 1
|
#define QRANK_DIMM_SUPPORT 1
|
||||||
|
|
||||||
|
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
@@ -22,7 +22,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define ASSEMBLY 1
|
#define ASSEMBLY 1
|
||||||
#define __PRE_RAM__
|
|
||||||
|
|
||||||
#define RAMINIT_SYSINFO 1
|
#define RAMINIT_SYSINFO 1
|
||||||
|
|
||||||
|
@@ -20,7 +20,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define ASSEMBLY 1
|
#define ASSEMBLY 1
|
||||||
#define __PRE_RAM__
|
|
||||||
|
|
||||||
#define RAMINIT_SYSINFO 1
|
#define RAMINIT_SYSINFO 1
|
||||||
|
|
||||||
|
@@ -26,7 +26,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define ASSEMBLY 1
|
#define ASSEMBLY 1
|
||||||
#define __PRE_RAM__
|
|
||||||
|
|
||||||
#define RAMINIT_SYSINFO 1
|
#define RAMINIT_SYSINFO 1
|
||||||
|
|
||||||
|
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
@@ -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
|
||||||
|
@@ -20,7 +20,7 @@
|
|||||||
* MA 02110-1301 USA
|
* MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define __PRE_RAM__
|
|
||||||
|
|
||||||
#include <delay.h>
|
#include <delay.h>
|
||||||
|
|
||||||
|
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
@@ -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
|
||||||
|
@@ -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
|
||||||
|
@@ -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
|
||||||
|
@@ -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>
|
||||||
|
@@ -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
|
||||||
|
@@ -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
|
||||||
|
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
@@ -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)
|
||||||
|
|
||||||
|
@@ -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
|
||||||
|
@@ -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
|
||||||
|
@@ -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
|
||||||
|
@@ -20,7 +20,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define ASSEMBLY 1
|
#define ASSEMBLY 1
|
||||||
#define __PRE_RAM__
|
|
||||||
|
|
||||||
#define RAMINIT_SYSINFO 1
|
#define RAMINIT_SYSINFO 1
|
||||||
|
|
||||||
|
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
@@ -20,7 +20,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define ASSEMBLY 1
|
#define ASSEMBLY 1
|
||||||
#define __PRE_RAM__
|
|
||||||
|
|
||||||
#define RAMINIT_SYSINFO 1
|
#define RAMINIT_SYSINFO 1
|
||||||
|
|
||||||
|
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
@@ -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
|
||||||
|
@@ -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>
|
||||||
|
@@ -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
|
||||||
|
@@ -17,7 +17,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define ASSEMBLY 1
|
#define ASSEMBLY 1
|
||||||
#define __PRE_RAM__
|
|
||||||
|
|
||||||
#define RAMINIT_SYSINFO 1
|
#define RAMINIT_SYSINFO 1
|
||||||
|
|
||||||
|
@@ -20,7 +20,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define ASSEMBLY 1
|
#define ASSEMBLY 1
|
||||||
#define __PRE_RAM__
|
|
||||||
|
|
||||||
#define RAMINIT_SYSINFO 1
|
#define RAMINIT_SYSINFO 1
|
||||||
|
|
||||||
|
@@ -20,7 +20,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define ASSEMBLY 1
|
#define ASSEMBLY 1
|
||||||
#define __PRE_RAM__
|
|
||||||
|
|
||||||
#define RAMINIT_SYSINFO 1
|
#define RAMINIT_SYSINFO 1
|
||||||
|
|
||||||
|
@@ -20,7 +20,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define ASSEMBLY 1
|
#define ASSEMBLY 1
|
||||||
#define __PRE_RAM__
|
|
||||||
|
|
||||||
#define RAMINIT_SYSINFO 1
|
#define RAMINIT_SYSINFO 1
|
||||||
|
|
||||||
|
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
@@ -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
|
||||||
|
@@ -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
|
||||||
|
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
@@ -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);
|
||||||
}
|
}
|
||||||
|
@@ -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
Reference in New Issue
Block a user