diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/agami/aruma/Options.lb | 13 | ||||
-rw-r--r-- | src/mainboard/agami/aruma/acpi_tables_static.c | 10 |
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, |