intel/cpu: rename car.h to romstage.h
This header has nothing to do with cache-as-ram. Therefore, 'car' is the wrong term to use. It is about providing a prototype for *romstage*. Change-Id: Ibc5bc6f3c38e74d6337c12f246846853ceae4743 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/6661 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
parent
b7f1bfcf28
commit
a0a3727dbb
|
@ -1,7 +0,0 @@
|
||||||
#ifndef _CPU_INTEL_CAR_H
|
|
||||||
#define _CPU_INTEL_CAR_H
|
|
||||||
|
|
||||||
/* std signature of entry-point to romstage.c */
|
|
||||||
void main(unsigned long bist);
|
|
||||||
|
|
||||||
#endif /* _CPU_INTEL_CAR_H */
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
#ifndef _CPU_INTEL_ROMSTAGE_H
|
||||||
|
#define _CPU_INTEL_ROMSTAGE_H
|
||||||
|
|
||||||
|
/* std signature of entry-point to romstage.c */
|
||||||
|
void main(unsigned long bist);
|
||||||
|
|
||||||
|
#endif /* _CPU_INTEL_ROMSTAGE_H */
|
|
@ -42,7 +42,7 @@ int spd_read_byte(unsigned int device, unsigned int address)
|
||||||
return smbus_read_byte(device, address);
|
return smbus_read_byte(device, address);
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
winbond_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
winbond_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
||||||
|
|
|
@ -41,7 +41,7 @@ int spd_read_byte(unsigned int device, unsigned int address)
|
||||||
return smbus_read_byte(device, address);
|
return smbus_read_byte(device, address);
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
winbond_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
winbond_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
||||||
|
|
|
@ -54,7 +54,7 @@ int spd_read_byte(unsigned int device, unsigned int address)
|
||||||
#include "cpu/amd/geode_lx/syspreinit.c"
|
#include "cpu/amd/geode_lx/syspreinit.c"
|
||||||
#include "cpu/amd/geode_lx/msrinit.c"
|
#include "cpu/amd/geode_lx/msrinit.c"
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
static const struct mem_controller memctrl[] = {
|
static const struct mem_controller memctrl[] = {
|
||||||
|
|
|
@ -43,7 +43,7 @@ int spd_read_byte(unsigned int device, unsigned int address)
|
||||||
return smbus_read_byte(device, address);
|
return smbus_read_byte(device, address);
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
winbond_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
winbond_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
|
|
||||||
#define SERIAL_DEV PNP_DEV(0x3f0, W83977F_SP1)
|
#define SERIAL_DEV PNP_DEV(0x3f0, W83977F_SP1)
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
static void main(unsigned long bist)
|
static void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
w83977f_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
w83977f_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
||||||
|
|
|
@ -49,7 +49,7 @@ int spd_read_byte(unsigned int device, unsigned int address)
|
||||||
#include "cpu/amd/geode_lx/syspreinit.c"
|
#include "cpu/amd/geode_lx/syspreinit.c"
|
||||||
#include "cpu/amd/geode_lx/msrinit.c"
|
#include "cpu/amd/geode_lx/msrinit.c"
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -45,7 +45,7 @@ int spd_read_byte(unsigned int device, unsigned int address)
|
||||||
#include "cpu/amd/geode_lx/syspreinit.c"
|
#include "cpu/amd/geode_lx/syspreinit.c"
|
||||||
#include "cpu/amd/geode_lx/msrinit.c"
|
#include "cpu/amd/geode_lx/msrinit.c"
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
||||||
#include "cpu/amd/geode_gx2/syspreinit.c"
|
#include "cpu/amd/geode_gx2/syspreinit.c"
|
||||||
#include "cpu/amd/geode_lx/msrinit.c"
|
#include "cpu/amd/geode_lx/msrinit.c"
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
static const struct mem_controller memctrl [] = {
|
static const struct mem_controller memctrl [] = {
|
||||||
|
|
|
@ -39,7 +39,7 @@ int spd_read_byte(unsigned device, unsigned address)
|
||||||
return smbus_read_byte(device, address);
|
return smbus_read_byte(device, address);
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
static const struct mem_controller memctrl[] = {
|
static const struct mem_controller memctrl[] = {
|
||||||
|
|
|
@ -57,7 +57,7 @@ int spd_read_byte(unsigned int device, unsigned int address)
|
||||||
#include "cpu/amd/geode_lx/syspreinit.c"
|
#include "cpu/amd/geode_lx/syspreinit.c"
|
||||||
#include "cpu/amd/geode_lx/msrinit.c"
|
#include "cpu/amd/geode_lx/msrinit.c"
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
|
|
||||||
#define SERIAL_DEV PNP_DEV(0x2e, PC87351_SP1)
|
#define SERIAL_DEV PNP_DEV(0x2e, PC87351_SP1)
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
static void main(unsigned long bist)
|
static void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
pc87351_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
pc87351_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
|
|
||||||
#define SERIAL_DEV PNP_DEV(0x2e, PC87351_SP1)
|
#define SERIAL_DEV PNP_DEV(0x2e, PC87351_SP1)
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
static void main(unsigned long bist)
|
static void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
pc87351_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
pc87351_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
||||||
|
|
|
@ -110,7 +110,7 @@ int mainboard_set_fbd_clock(int speed)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
if (bist == 0)
|
if (bist == 0)
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
|
|
||||||
#define SERIAL_DEV PNP_DEV(0x2e, SMSCSUPERIO_SP1)
|
#define SERIAL_DEV PNP_DEV(0x2e, SMSCSUPERIO_SP1)
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
smscsuperio_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
smscsuperio_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
|
|
||||||
#define SERIAL_DEV PNP_DEV(0x2e, LPC47B272_SP1)
|
#define SERIAL_DEV PNP_DEV(0x2e, LPC47B272_SP1)
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
lpc47b272_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
lpc47b272_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
||||||
|
|
|
@ -41,7 +41,7 @@ int spd_read_byte(unsigned int device, unsigned int address)
|
||||||
return smbus_read_byte(device, address);
|
return smbus_read_byte(device, address);
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
winbond_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
winbond_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
||||||
|
|
|
@ -41,7 +41,7 @@ int spd_read_byte(unsigned int device, unsigned int address)
|
||||||
return smbus_read_byte(device, address);
|
return smbus_read_byte(device, address);
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
winbond_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
winbond_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
||||||
|
|
|
@ -43,7 +43,7 @@ int spd_read_byte(unsigned int device, unsigned int address)
|
||||||
return smbus_read_byte(device, address);
|
return smbus_read_byte(device, address);
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
winbond_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
winbond_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
||||||
|
|
|
@ -42,7 +42,7 @@ int spd_read_byte(unsigned int device, unsigned int address)
|
||||||
return smbus_read_byte(device, address);
|
return smbus_read_byte(device, address);
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
winbond_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
winbond_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
||||||
|
|
|
@ -42,7 +42,7 @@ int spd_read_byte(unsigned int device, unsigned int address)
|
||||||
return smbus_read_byte(device, address);
|
return smbus_read_byte(device, address);
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
winbond_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
winbond_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
||||||
|
|
|
@ -74,7 +74,7 @@ static void disable_spd(void)
|
||||||
outb(0x67, PM_IO_BASE + 0x37);
|
outb(0x67, PM_IO_BASE + 0x37);
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
winbond_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
winbond_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
|
|
||||||
#define SERIAL_DEV PNP_DEV(0x2e, PC97317_SP1)
|
#define SERIAL_DEV PNP_DEV(0x2e, PC97317_SP1)
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
static void main(unsigned long bist)
|
static void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
pc97317_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
pc97317_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
||||||
|
|
|
@ -43,7 +43,7 @@ int spd_read_byte(unsigned int device, unsigned int address)
|
||||||
return smbus_read_byte(device, address);
|
return smbus_read_byte(device, address);
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
winbond_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
winbond_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
||||||
|
|
|
@ -46,7 +46,7 @@ int spd_read_byte(unsigned int device, unsigned int address)
|
||||||
#include "cpu/amd/geode_lx/syspreinit.c"
|
#include "cpu/amd/geode_lx/syspreinit.c"
|
||||||
#include "cpu/amd/geode_lx/msrinit.c"
|
#include "cpu/amd/geode_lx/msrinit.c"
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
static const struct mem_controller memctrl[] = {
|
static const struct mem_controller memctrl[] = {
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
|
|
||||||
#define SERIAL_DEV PNP_DEV(0x2e, PC97317_SP1)
|
#define SERIAL_DEV PNP_DEV(0x2e, PC97317_SP1)
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
static void main(unsigned long bist)
|
static void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
pc97317_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
pc97317_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
||||||
|
|
|
@ -81,7 +81,7 @@ static const struct mem_controller ctrl = {
|
||||||
.channel0 = { DIMM0 },
|
.channel0 = { DIMM0 },
|
||||||
};
|
};
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
/* Enable multifunction for northbridge. */
|
/* Enable multifunction for northbridge. */
|
||||||
|
|
|
@ -40,7 +40,7 @@ int spd_read_byte(unsigned int device, unsigned int address)
|
||||||
return smbus_read_byte(device, address);
|
return smbus_read_byte(device, address);
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
smscsuperio_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
smscsuperio_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
||||||
|
|
|
@ -42,7 +42,7 @@ int spd_read_byte(unsigned int device, unsigned int address)
|
||||||
return smbus_read_byte(device, address);
|
return smbus_read_byte(device, address);
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
/* FIXME: Should be PC97307! */
|
/* FIXME: Should be PC97307! */
|
||||||
|
|
|
@ -26,7 +26,7 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
||||||
#include "northbridge/intel/i855/raminit.c"
|
#include "northbridge/intel/i855/raminit.c"
|
||||||
#include "northbridge/intel/i855/reset_test.c"
|
#include "northbridge/intel/i855/reset_test.c"
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
if (bist == 0) {
|
if (bist == 0) {
|
||||||
|
|
|
@ -154,7 +154,7 @@ static inline void irqinit(void){
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
static void main(unsigned long bist)
|
static void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
volatile int i;
|
volatile int i;
|
||||||
|
|
|
@ -30,7 +30,7 @@ int spd_read_byte(unsigned device, unsigned address)
|
||||||
#include "cpu/amd/geode_lx/syspreinit.c"
|
#include "cpu/amd/geode_lx/syspreinit.c"
|
||||||
#include "cpu/amd/geode_lx/msrinit.c"
|
#include "cpu/amd/geode_lx/msrinit.c"
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -300,7 +300,7 @@ static void enable_l2_cache(void)
|
||||||
pci_write_config8(NB1, 0xe8, reg_nb_f1_e8);
|
pci_write_config8(NB1, 0xe8, reg_nb_f1_e8);
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
static void main(unsigned long bist)
|
static void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
device_t dev;
|
device_t dev;
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
#define SERIAL_DEV PNP_DEV(0x2e, PC97317_SP1)
|
#define SERIAL_DEV PNP_DEV(0x2e, PC97317_SP1)
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
static void main(unsigned long bist)
|
static void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
pc97317_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
pc97317_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
#define SERIAL_DEV PNP_DEV(0x2e, IT8712F_SP1)
|
#define SERIAL_DEV PNP_DEV(0x2e, IT8712F_SP1)
|
||||||
#define CLKIN_DEV PNP_DEV(0x2e, IT8712F_GPIO)
|
#define CLKIN_DEV PNP_DEV(0x2e, IT8712F_GPIO)
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
ite_conf_clkin(CLKIN_DEV, ITE_UART_CLK_PREDIVIDE_24);
|
ite_conf_clkin(CLKIN_DEV, ITE_UART_CLK_PREDIVIDE_24);
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
|
|
||||||
#include "memory.c"
|
#include "memory.c"
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
int cbmem_was_initted;
|
int cbmem_was_initted;
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
|
|
||||||
#include "../qemu-i440fx/memory.c"
|
#include "../qemu-i440fx/memory.c"
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
int cbmem_was_initted;
|
int cbmem_was_initted;
|
||||||
|
|
|
@ -265,7 +265,7 @@ static void early_ich7_init(void)
|
||||||
RCBA32(0x2034) = reg32;
|
RCBA32(0x2034) = reg32;
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
u32 reg32;
|
u32 reg32;
|
||||||
|
|
|
@ -40,7 +40,7 @@ int spd_read_byte(unsigned int device, unsigned int address)
|
||||||
return smbus_read_byte(device, address);
|
return smbus_read_byte(device, address);
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
it8671f_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
it8671f_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
||||||
|
|
|
@ -40,7 +40,7 @@ int spd_read_byte(unsigned int device, unsigned int address)
|
||||||
return smbus_read_byte(device, address);
|
return smbus_read_byte(device, address);
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
it8671f_48mhz_clkin();
|
it8671f_48mhz_clkin();
|
||||||
|
|
|
@ -112,7 +112,7 @@ static void rcba_config(void)
|
||||||
RCBA32(FD) = reg32;
|
RCBA32(FD) = reg32;
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
int boot_mode = 0;
|
int boot_mode = 0;
|
||||||
|
|
|
@ -150,7 +150,7 @@ static void copy_spd(struct pei_data *peid)
|
||||||
sizeof(peid->spd_data[0]));
|
sizeof(peid->spd_data[0]));
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
int boot_mode = 0;
|
int boot_mode = 0;
|
||||||
|
|
|
@ -113,7 +113,7 @@ static void rcba_config(void)
|
||||||
RCBA32(FD) = reg32;
|
RCBA32(FD) = reg32;
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
int boot_mode = 0;
|
int boot_mode = 0;
|
||||||
|
|
|
@ -154,7 +154,7 @@ static void early_ec_init(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
int boot_mode = 0;
|
int boot_mode = 0;
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
/* TODO: It's a PC87364 actually! */
|
/* TODO: It's a PC87364 actually! */
|
||||||
#define SERIAL_DEV PNP_DEV(0x2e, PC87360_SP1)
|
#define SERIAL_DEV PNP_DEV(0x2e, PC87360_SP1)
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
/* TODO: It's a PC87364 actually! */
|
/* TODO: It's a PC87364 actually! */
|
||||||
|
|
|
@ -223,7 +223,7 @@ static void early_ich7_init(void)
|
||||||
RCBA32(0x2034) = reg32;
|
RCBA32(0x2034) = reg32;
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
u32 reg32;
|
u32 reg32;
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
|
|
||||||
#define SERIAL_DEV PNP_DEV(0x3f0, W83977F_SP1)
|
#define SERIAL_DEV PNP_DEV(0x3f0, W83977F_SP1)
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
static void main(unsigned long bist)
|
static void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
w83977f_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
w83977f_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
|
|
||||||
#include "northbridge/amd/gx1/raminit.c"
|
#include "northbridge/amd/gx1/raminit.c"
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
static void main(unsigned long bist)
|
static void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
w83977tf_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
w83977tf_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
||||||
|
|
|
@ -49,7 +49,7 @@ int spd_read_byte(unsigned int device, unsigned int address)
|
||||||
#include "cpu/amd/geode_lx/syspreinit.c"
|
#include "cpu/amd/geode_lx/syspreinit.c"
|
||||||
#include "cpu/amd/geode_lx/msrinit.c"
|
#include "cpu/amd/geode_lx/msrinit.c"
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -53,7 +53,7 @@ int spd_read_byte(unsigned int device, unsigned int address)
|
||||||
#include <cpu/amd/geode_lx/syspreinit.c>
|
#include <cpu/amd/geode_lx/syspreinit.c>
|
||||||
#include <cpu/amd/geode_lx/msrinit.c>
|
#include <cpu/amd/geode_lx/msrinit.c>
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
static const struct mem_controller memctrl[] = {
|
static const struct mem_controller memctrl[] = {
|
||||||
|
|
|
@ -53,7 +53,7 @@ int spd_read_byte(unsigned int device, unsigned int address)
|
||||||
#include <cpu/amd/geode_lx/syspreinit.c>
|
#include <cpu/amd/geode_lx/syspreinit.c>
|
||||||
#include <cpu/amd/geode_lx/msrinit.c>
|
#include <cpu/amd/geode_lx/msrinit.c>
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
static const struct mem_controller memctrl[] = {
|
static const struct mem_controller memctrl[] = {
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
|
|
||||||
#define SERIAL_DEV PNP_DEV(0x4e, SMSCSUPERIO_SP1)
|
#define SERIAL_DEV PNP_DEV(0x4e, SMSCSUPERIO_SP1)
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
/* Set southbridge and Super I/O GPIOs. */
|
/* Set southbridge and Super I/O GPIOs. */
|
||||||
|
|
|
@ -156,7 +156,7 @@ static void early_ich7_init(void)
|
||||||
RCBA32(0x2034) = reg32;
|
RCBA32(0x2034) = reg32;
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
u32 reg32;
|
u32 reg32;
|
||||||
|
|
|
@ -120,7 +120,7 @@ static void early_config(void)
|
||||||
pci_write_config8(PCI_DEV(0, 0x1F, 2), SATA_MAP, (SATA_MODE_AHCI << 6) | (0 << 0));
|
pci_write_config8(PCI_DEV(0, 0x1F, 2), SATA_MAP, (SATA_MODE_AHCI << 6) | (0 << 0));
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
/* int boot_mode = 0; */
|
/* int boot_mode = 0; */
|
||||||
|
|
|
@ -162,7 +162,7 @@ static void setup_sio_gpios(void)
|
||||||
outb(0xaa, port);
|
outb(0xaa, port);
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
int boot_mode = 0;
|
int boot_mode = 0;
|
||||||
|
|
|
@ -38,7 +38,7 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
||||||
#include "debug.c"
|
#include "debug.c"
|
||||||
#include "arch/x86/lib/stages.c"
|
#include "arch/x86/lib/stages.c"
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
static void main(unsigned long bist)
|
static void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
static const struct mem_controller mch[] = {
|
static const struct mem_controller mch[] = {
|
||||||
|
|
|
@ -51,7 +51,7 @@ static inline int spd_read_byte(u16 device, u8 address)
|
||||||
#include "arch/x86/lib/stages.c"
|
#include "arch/x86/lib/stages.c"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
msr_t msr;
|
msr_t msr;
|
||||||
|
|
|
@ -51,7 +51,7 @@ static inline int spd_read_byte(u16 device, u8 address)
|
||||||
|
|
||||||
#define SERIAL_DEV PNP_DEV(0x4e, I3100_SP1)
|
#define SERIAL_DEV PNP_DEV(0x4e, I3100_SP1)
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
static void main(unsigned long bist)
|
static void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
msr_t msr;
|
msr_t msr;
|
||||||
|
|
|
@ -33,7 +33,7 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
||||||
#include "lib/generic_sdram.c"
|
#include "lib/generic_sdram.c"
|
||||||
|
|
||||||
// This function MUST appear last (ROMCC limitation)
|
// This function MUST appear last (ROMCC limitation)
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
static void main(unsigned long bist)
|
static void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
static const struct mem_controller memctrl[] = {
|
static const struct mem_controller memctrl[] = {
|
||||||
|
|
|
@ -332,7 +332,7 @@ static void poulsbo_setup_Stage2Regs(void)
|
||||||
printk(BIOS_DEBUG, " done.\n");
|
printk(BIOS_DEBUG, " done.\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
int boot_mode = 0;
|
int boot_mode = 0;
|
||||||
|
|
|
@ -86,7 +86,7 @@ static const struct mem_controller ctrl = {
|
||||||
.channel0 = { DIMM0 },
|
.channel0 = { DIMM0 },
|
||||||
};
|
};
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
/* Enable multifunction for northbridge. */
|
/* Enable multifunction for northbridge. */
|
||||||
|
|
|
@ -329,7 +329,7 @@ static void early_ich7_init(void)
|
||||||
RCBA32(0x2034) = reg32;
|
RCBA32(0x2034) = reg32;
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
u32 reg32;
|
u32 reg32;
|
||||||
|
|
|
@ -159,7 +159,7 @@ static void superio_gpio_config(void)
|
||||||
pnp_exit_ext_func_mode(dev);
|
pnp_exit_ext_func_mode(dev);
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
int boot_mode = 0;
|
int boot_mode = 0;
|
||||||
|
|
|
@ -48,7 +48,7 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
||||||
#include "northbridge/intel/i855/raminit.c"
|
#include "northbridge/intel/i855/raminit.c"
|
||||||
#include "northbridge/intel/i855/reset_test.c"
|
#include "northbridge/intel/i855/reset_test.c"
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
if (bist == 0) {
|
if (bist == 0) {
|
||||||
|
|
|
@ -108,7 +108,7 @@ static void rcba_config(void)
|
||||||
RCBA32(BUC) = 0;
|
RCBA32(BUC) = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
int boot_mode = 0;
|
int boot_mode = 0;
|
||||||
|
|
|
@ -109,7 +109,7 @@ static void rcba_config(void)
|
||||||
RCBA32(BUC) = 0;
|
RCBA32(BUC) = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
int boot_mode = 0;
|
int boot_mode = 0;
|
||||||
|
|
|
@ -206,7 +206,7 @@ static void early_ich7_init(void)
|
||||||
RCBA32(0x2034) = reg32;
|
RCBA32(0x2034) = reg32;
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
u32 reg32;
|
u32 reg32;
|
||||||
|
|
|
@ -215,7 +215,7 @@ static void set_fsb_frequency(void)
|
||||||
smbus_block_write(0x69, 0, 5, block);
|
smbus_block_write(0x69, 0, 5, block);
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
u32 reg32;
|
u32 reg32;
|
||||||
|
|
|
@ -148,7 +148,7 @@ init_usb (void)
|
||||||
outw (0x0000, DEFAULT_PMBASE | 0x003c);
|
outw (0x0000, DEFAULT_PMBASE | 0x003c);
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
int s3resume = 0;
|
int s3resume = 0;
|
||||||
|
|
|
@ -213,7 +213,7 @@ static void early_ich7_init(void)
|
||||||
RCBA32(0x2034) = reg32;
|
RCBA32(0x2034) = reg32;
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
u32 reg32;
|
u32 reg32;
|
||||||
|
|
|
@ -71,7 +71,7 @@ static inline int spd_read_byte(unsigned int device, unsigned int address)
|
||||||
#include "cpu/amd/geode_gx2/syspreinit.c"
|
#include "cpu/amd/geode_gx2/syspreinit.c"
|
||||||
#include "cpu/amd/geode_lx/msrinit.c"
|
#include "cpu/amd/geode_lx/msrinit.c"
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
static const struct mem_controller memctrl [] = {
|
static const struct mem_controller memctrl [] = {
|
||||||
|
|
|
@ -110,7 +110,7 @@ static void mb_gpio_init(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -152,7 +152,7 @@ static void mb_gpio_init(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
int err;
|
int err;
|
||||||
|
|
|
@ -85,7 +85,7 @@ static void mb_gpio_init(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -149,7 +149,7 @@ static void mb_gpio_init(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
int err;
|
int err;
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
|
|
||||||
#define SERIAL_DEV PNP_DEV(0x4e, SMSCSUPERIO_SP1)
|
#define SERIAL_DEV PNP_DEV(0x4e, SMSCSUPERIO_SP1)
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
smscsuperio_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
smscsuperio_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
||||||
|
|
|
@ -41,7 +41,7 @@ int spd_read_byte(unsigned int device, unsigned int address)
|
||||||
return smbus_read_byte(device, address);
|
return smbus_read_byte(device, address);
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
winbond_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
winbond_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
||||||
|
|
|
@ -41,7 +41,7 @@ int spd_read_byte(unsigned int device, unsigned int address)
|
||||||
return smbus_read_byte(device, address);
|
return smbus_read_byte(device, address);
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
winbond_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
winbond_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
||||||
|
|
|
@ -41,7 +41,7 @@ int spd_read_byte(unsigned int device, unsigned int address)
|
||||||
return smbus_read_byte(device, address);
|
return smbus_read_byte(device, address);
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
winbond_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
winbond_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
#define SERIAL_DEV PNP_DEV(0x2e, W83627HF_SP1)
|
#define SERIAL_DEV PNP_DEV(0x2e, W83627HF_SP1)
|
||||||
#define DUMMY_DEV PNP_DEV(0x2e, 0)
|
#define DUMMY_DEV PNP_DEV(0x2e, 0)
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
w83627hf_set_clksel_48(DUMMY_DEV);
|
w83627hf_set_clksel_48(DUMMY_DEV);
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
|
|
||||||
#define SERIAL_DEV PNP_DEV(0x2e, SMSCSUPERIO_SP1)
|
#define SERIAL_DEV PNP_DEV(0x2e, SMSCSUPERIO_SP1)
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
smscsuperio_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
smscsuperio_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
||||||
|
|
|
@ -40,7 +40,7 @@ int spd_read_byte(unsigned int device, unsigned int address)
|
||||||
return smbus_read_byte(device, address);
|
return smbus_read_byte(device, address);
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
smscsuperio_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
smscsuperio_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
||||||
|
|
|
@ -198,7 +198,7 @@ static inline u16 read_acpi16(u32 addr)
|
||||||
return inw(DEFAULT_PMBASE | addr);
|
return inw(DEFAULT_PMBASE | addr);
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
u32 reg32;
|
u32 reg32;
|
||||||
|
|
|
@ -107,7 +107,7 @@ int spd_read_byte(unsigned int device, unsigned int address)
|
||||||
#include "cpu/amd/geode_lx/syspreinit.c"
|
#include "cpu/amd/geode_lx/syspreinit.c"
|
||||||
#include "cpu/amd/geode_lx/msrinit.c"
|
#include "cpu/amd/geode_lx/msrinit.c"
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
static const struct mem_controller memctrl[] = {
|
static const struct mem_controller memctrl[] = {
|
||||||
|
|
|
@ -130,7 +130,7 @@ static void mb_gpio_init(void)
|
||||||
outl(1 << 11, GPIO_IO_BASE + GPIOH_OUTPUT_VALUE); /* Led 3 disabled */
|
outl(1 << 11, GPIO_IO_BASE + GPIOH_OUTPUT_VALUE); /* Led 3 disabled */
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
static const struct mem_controller memctrl[] = {
|
static const struct mem_controller memctrl[] = {
|
||||||
|
|
|
@ -94,7 +94,7 @@ static void mb_early_setup(void)
|
||||||
pci_write_config8(PCI_DEV(0, 0x1f, 0), ACPI_CNTL, 0x10);
|
pci_write_config8(PCI_DEV(0, 0x1f, 0), ACPI_CNTL, 0x10);
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
if (bist == 0) {
|
if (bist == 0) {
|
||||||
|
|
|
@ -251,7 +251,7 @@ static void init_artec_dongle(void)
|
||||||
outb(0xf4, 0x88);
|
outb(0xf4, 0x88);
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
u32 reg32;
|
u32 reg32;
|
||||||
|
|
|
@ -120,7 +120,7 @@ static void default_superio_gpio_setup(void)
|
||||||
outb(0x10, 0x600 + 0xb + 4); /* GP40 - GP47 */
|
outb(0x10, 0x600 + 0xb + 4); /* GP40 - GP47 */
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
sysinfo_t sysinfo;
|
sysinfo_t sysinfo;
|
||||||
|
|
|
@ -132,7 +132,7 @@ static void early_pch_init(void)
|
||||||
pci_write_config8(PCH_LPC_DEV, 0xa4, reg8);
|
pci_write_config8(PCH_LPC_DEV, 0xa4, reg8);
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
int boot_mode = 0;
|
int boot_mode = 0;
|
||||||
|
|
|
@ -172,7 +172,7 @@ static void setup_sio_gpios(void)
|
||||||
it8772f_gpio_setup(DUMMY_DEV, 6, 0x00, 0x00, 0x00, 0x00, 0x00);
|
it8772f_gpio_setup(DUMMY_DEV, 6, 0x00, 0x00, 0x00, 0x00, 0x00);
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
int boot_mode = 0;
|
int boot_mode = 0;
|
||||||
|
|
|
@ -40,7 +40,7 @@ int spd_read_byte(unsigned int device, unsigned int address)
|
||||||
return smbus_read_byte(device, address);
|
return smbus_read_byte(device, address);
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
it8671f_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
it8671f_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
||||||
|
|
|
@ -42,7 +42,7 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
||||||
#include "lib/generic_sdram.c"
|
#include "lib/generic_sdram.c"
|
||||||
#include "arch/x86/lib/stages.c"
|
#include "arch/x86/lib/stages.c"
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
static void main(unsigned long bist)
|
static void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
static const struct mem_controller mch[] = {
|
static const struct mem_controller mch[] = {
|
||||||
|
|
|
@ -46,7 +46,7 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
||||||
#include "lib/generic_sdram.c"
|
#include "lib/generic_sdram.c"
|
||||||
#include "arch/x86/lib/stages.c"
|
#include "arch/x86/lib/stages.c"
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
static void main(unsigned long bist)
|
static void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
static const struct mem_controller mch[] = {
|
static const struct mem_controller mch[] = {
|
||||||
|
|
|
@ -43,7 +43,7 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
||||||
#include "lib/generic_sdram.c"
|
#include "lib/generic_sdram.c"
|
||||||
#include "arch/x86/lib/stages.c"
|
#include "arch/x86/lib/stages.c"
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
static void main(unsigned long bist)
|
static void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
static const struct mem_controller mch[] = {
|
static const struct mem_controller mch[] = {
|
||||||
|
|
|
@ -45,7 +45,7 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
||||||
#include "lib/generic_sdram.c"
|
#include "lib/generic_sdram.c"
|
||||||
#include "arch/x86/lib/stages.c"
|
#include "arch/x86/lib/stages.c"
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
static void main(unsigned long bist)
|
static void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
static const struct mem_controller mch[] = {
|
static const struct mem_controller mch[] = {
|
||||||
|
|
|
@ -45,7 +45,7 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
||||||
#include "lib/generic_sdram.c"
|
#include "lib/generic_sdram.c"
|
||||||
#include "arch/x86/lib/stages.c"
|
#include "arch/x86/lib/stages.c"
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
static void main(unsigned long bist)
|
static void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
static const struct mem_controller mch[] = {
|
static const struct mem_controller mch[] = {
|
||||||
|
|
|
@ -111,7 +111,7 @@ int mainboard_set_fbd_clock(int speed)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
void main(unsigned long bist)
|
void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
if (bist == 0)
|
if (bist == 0)
|
||||||
|
|
|
@ -136,7 +136,7 @@ static void hard_reset(void)
|
||||||
while (1) ;
|
while (1) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
static void main(unsigned long bist)
|
static void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
volatile int i;
|
volatile int i;
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
|
|
||||||
#define SERIAL_DEV PNP_DEV(0x2e, PC97317_SP1)
|
#define SERIAL_DEV PNP_DEV(0x2e, PC97317_SP1)
|
||||||
|
|
||||||
#include <cpu/intel/car.h>
|
#include <cpu/intel/romstage.h>
|
||||||
static void main(unsigned long bist)
|
static void main(unsigned long bist)
|
||||||
{
|
{
|
||||||
pc97317_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
pc97317_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue