diff options
author | Eric Biederman <ebiederm@xmission.com> | 2003-06-17 08:42:17 +0000 |
---|---|---|
committer | Eric Biederman <ebiederm@xmission.com> | 2003-06-17 08:42:17 +0000 |
commit | 8d9c123812492a80a43112c8dd217fcfb3cee2c5 (patch) | |
tree | 0bc841279e289f958d85cc8f2873b42770ecbce1 /src/mainboard/amd/solo | |
parent | f96a810f11681ba436b446e9451e02cffcd525f5 (diff) |
- Minor mod to reset16.inc to work with newer binutils hopefully this works with older ones...
- Update apic.h to include the APIC_TASK_PRI register definition
- Update mptable.c to have a reasonable board OEM and productid
- Additional testfiles for romcc.
- Split out auto.c and early failover.c moving their generic bits elsewere
- Enable cache of the rom
- Fixes to amd8111_lpc.c so that we successfully setup virtual wire mode on the ioapic
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@880 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/amd/solo')
-rw-r--r-- | src/mainboard/amd/solo/auto.c | 29 | ||||
-rw-r--r-- | src/mainboard/amd/solo/mptable.c | 4 |
2 files changed, 15 insertions, 18 deletions
diff --git a/src/mainboard/amd/solo/auto.c b/src/mainboard/amd/solo/auto.c index 33dea8e80d..e8e3976ef2 100644 --- a/src/mainboard/amd/solo/auto.c +++ b/src/mainboard/amd/solo/auto.c @@ -20,7 +20,9 @@ static int boot_cpu(void) msr = rdmsr(0x1b); bsp = !!(msr.lo & (1 << 8)); if (bsp) { - print_debug("Bootstrap cpu\r\n"); + print_debug("Bootstrap processor\r\n"); + } else { + print_debug("Application processor\r\n"); } return bsp; @@ -110,14 +112,19 @@ static void dump_spd_registers(void) } } - - - static void main(void) { uart_init(); console_init(); +#if 0 + print_debug(" XIP_ROM_BASE: "); + print_debug_hex32(XIP_ROM_BASE); + print_debug(" XIP_ROM_SIZE: "); + print_debug_hex32(XIP_ROM_SIZE); + print_debug("\r\n"); +#endif if (boot_cpu() && !cpu_init_detected()) { + setup_default_resource_map(); setup_coherent_ht_domain(); enumerate_ht_chain(); print_pci_devices(); @@ -125,17 +132,7 @@ static void main(void) sdram_initialize(); dump_spd_registers(); -#if 0 - ram_fill( 0x00100000, 0x00180000); - ram_verify(0x00100000, 0x00180000); -#endif -#ifdef MEMORY_1024MB - ram_fill( 0x00000000, 0x00001000); - ram_verify(0x00000000, 0x00001000); -#endif -#ifdef MEMROY_512MB - ram_fill( 0x00000000, 0x01ffffff); - ram_verify(0x00000000, 0x01ffffff); -#endif + /* Check the first 8M */ + ram_check(0x00100000, 0x00800000); } } diff --git a/src/mainboard/amd/solo/mptable.c b/src/mainboard/amd/solo/mptable.c index 656b790035..49cd1951e6 100644 --- a/src/mainboard/amd/solo/mptable.c +++ b/src/mainboard/amd/solo/mptable.c @@ -7,8 +7,8 @@ void *smp_write_config_table(void *v, unsigned long * processor_map) { static const char sig[4] = "PCMP"; - static const char oem[8] = "LNXI "; - static const char productid[12] = "P4DPR "; + static const char oem[8] = "AMD "; + static const char productid[12] = "SOLO7 "; struct mp_config_table *mc; mc = (void *)(((char *)v) + SMP_FLOATING_TABLE_LEN); |