diff options
author | Stefan Reinauer <stepan@openbios.org> | 2004-03-19 12:15:19 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2004-03-19 12:15:19 +0000 |
commit | 1943d501b4da5ad1de370208a4b64e177c55fe2a (patch) | |
tree | ef43b281680195ceae9370561c15c1f585499e7f /src/mainboard/newisys/khepri/auto.c | |
parent | 0eed64bf66c91cb75bad04e6dc11c5a0e7c07670 (diff) | |
download | coreboot-1943d501b4da5ad1de370208a4b64e177c55fe2a.tar.xz |
adapt to 1.1.6
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1445 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/newisys/khepri/auto.c')
-rw-r--r-- | src/mainboard/newisys/khepri/auto.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/mainboard/newisys/khepri/auto.c b/src/mainboard/newisys/khepri/auto.c index 44f128addc..8b7a85d6de 100644 --- a/src/mainboard/newisys/khepri/auto.c +++ b/src/mainboard/newisys/khepri/auto.c @@ -4,9 +4,8 @@ #include <stdint.h> #include <device/pci_def.h> -#include <cpu/p6/apic.h> #include <arch/io.h> -#include <device/pnp.h> +#include <device/pnp_def.h> #include <arch/romcc_io.h> #include <arch/smp/lapic.h> #include "option_table.h" @@ -98,13 +97,13 @@ static unsigned int generate_row(uint8_t node, uint8_t row, uint8_t maxnodes) { 0x00010404, 0x00050101 } }; - if(maxnodes>2) { + if(maxnodes > 2) { print_debug("this mainboard is only designed for 2 cpus\r\n"); maxnodes=2; } - if (!(node>=maxnodes || row>=maxnodes)) { + if (!(node >= maxnodes || row >= maxnodes)) { ret=rows_2p[node][row]; } @@ -176,7 +175,6 @@ static void main(void) print_info("ht reset -"); soft_reset(); } - #if 0 print_pci_devices(); #endif @@ -194,7 +192,6 @@ static void main(void) dump_pci_device(PCI_DEV(0, 0x18, 2)); #endif - /* Check all of memory */ #if 0 /* Check the first 1M */ ram_check(0x00000000, 0x000100000); |