summaryrefslogtreecommitdiff
path: root/src/mainboard/agami
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2007-06-14 21:45:21 +0000
committerStefan Reinauer <stepan@openbios.org>2007-06-14 21:45:21 +0000
commit440113f00ba67a54ff7ceff772fffa46325a7e8e (patch)
tree56876f7fe3820441e85925d778dc59d2d3da32f4 /src/mainboard/agami
parentfc53b3c1cafb75f48b8ab1f37addf2875b640d46 (diff)
small agami aruma configuration updates (trivial)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2724 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/agami')
-rw-r--r--src/mainboard/agami/aruma/Options.lb13
-rw-r--r--src/mainboard/agami/aruma/acpi_tables_static.c10
2 files changed, 19 insertions, 4 deletions
diff --git a/src/mainboard/agami/aruma/Options.lb b/src/mainboard/agami/aruma/Options.lb
index 25dc835733..41d5b0c045 100644
--- a/src/mainboard/agami/aruma/Options.lb
+++ b/src/mainboard/agami/aruma/Options.lb
@@ -73,6 +73,10 @@ uses ENABLE_APIC_EXT_ID
uses APIC_ID_OFFSET
uses LIFT_BSP_APIC_ID
+uses HW_MEM_HOLE_SIZEK
+uses CONFIG_PCI_64BIT_PREF_MEM
+
+
###
### Build options
###
@@ -100,6 +104,12 @@ default HAVE_FALLBACK_BOOT=1
default HAVE_HARD_RESET=1
##
+## set memory hole size
+##
+default HW_MEM_HOLE_SIZEK=0x300000
+#default HW_MEM_HOLE_SIZEK=0x200000
+
+##
## Build code to export a programmable irq routing table
##
default HAVE_PIRQ_TABLE=1
@@ -129,7 +139,6 @@ default LB_CKS_LOC=123
##
## Build code for SMP support
-## Only worry about 2 micro processors
##
default CONFIG_SMP=1
default CONFIG_MAX_CPUS=8
@@ -139,7 +148,7 @@ default CONFIG_LOGICAL_CPUS=1
default ENABLE_APIC_EXT_ID=1
default APIC_ID_OFFSET=0x10
-default LIFT_BSP_APIC_ID=0
+default LIFT_BSP_APIC_ID=1 # SDE was 0
#HT Unit ID offset
#default HT_CHAIN_UNITID_BASE=0xa
diff --git a/src/mainboard/agami/aruma/acpi_tables_static.c b/src/mainboard/agami/aruma/acpi_tables_static.c
index f899100102..8339be24bd 100644
--- a/src/mainboard/agami/aruma/acpi_tables_static.c
+++ b/src/mainboard/agami/aruma/acpi_tables_static.c
@@ -21,11 +21,17 @@ unsigned long acpi_fill_madt(unsigned long current)
unsigned int gsi_base=0x18, ioapic_nr=2, i;
device_t dev=0;
- /* create all subtables for 4p */
- current += acpi_create_madt_lapic((acpi_madt_lapic_t *)current, 0, 0); //SDE BSP APIC ID=0
+ /* creare all subtables for 4p */
+#ifdef PRE_REVE
+ current += acpi_create_madt_lapic((acpi_madt_lapic_t *)current, 0, 0);
current += acpi_create_madt_lapic((acpi_madt_lapic_t *)current, 1, 17);
current += acpi_create_madt_lapic((acpi_madt_lapic_t *)current, 2, 18);
current += acpi_create_madt_lapic((acpi_madt_lapic_t *)current, 3, 19);
+#endif
+ current += acpi_create_madt_lapic((acpi_madt_lapic_t *)current, 0, 16);
+ current += acpi_create_madt_lapic((acpi_madt_lapic_t *)current, 1, 18);
+ current += acpi_create_madt_lapic((acpi_madt_lapic_t *)current, 2, 20);
+ current += acpi_create_madt_lapic((acpi_madt_lapic_t *)current, 3, 22);
/* Write 8111 IOAPIC */
current += acpi_create_madt_ioapic((acpi_madt_ioapic_t *)current, 1,