Author: stepan
Date: 2007-06-14 23:45:21 +0200 (Thu, 14 Jun 2007)
New Revision: 2724
Modified:
trunk/LinuxBIOSv2/src/mainboard/agami/aruma/Options.lb
trunk/LinuxBIOSv2/src/mainboard/agami/aruma/acpi_tables_static.c
trunk/LinuxBIOSv2/targets/agami/aruma/Config.lb
Log:
small agami aruma configuration updates (trivial)
Signed-off-by: Stefan Reinauer <stepan(a)coresystems.de>
Acked-by: Stefan Reinauer <stepan(a)coresystems.de>
Modified: trunk/LinuxBIOSv2/src/mainboard/agami/aruma/Options.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/agami/aruma/Options.lb 2007-06-14 19:52:27 UTC (rev 2723)
+++ trunk/LinuxBIOSv2/src/mainboard/agami/aruma/Options.lb 2007-06-14 21:45:21 UTC (rev 2724)
@@ -73,6 +73,10 @@
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_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 @@
##
## 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 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
Modified: trunk/LinuxBIOSv2/src/mainboard/agami/aruma/acpi_tables_static.c
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/agami/aruma/acpi_tables_static.c 2007-06-14 19:52:27 UTC (rev 2723)
+++ trunk/LinuxBIOSv2/src/mainboard/agami/aruma/acpi_tables_static.c 2007-06-14 21:45:21 UTC (rev 2724)
@@ -21,11 +21,17 @@
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,
Modified: trunk/LinuxBIOSv2/targets/agami/aruma/Config.lb
===================================================================
--- trunk/LinuxBIOSv2/targets/agami/aruma/Config.lb 2007-06-14 19:52:27 UTC (rev 2723)
+++ trunk/LinuxBIOSv2/targets/agami/aruma/Config.lb 2007-06-14 21:45:21 UTC (rev 2724)
@@ -12,7 +12,7 @@
romimage "normal"
option ROM_SIZE = 512*1024-36*1024
option USE_FALLBACK_IMAGE=0
- option ROM_IMAGE_SIZE=0x16000
+ option ROM_IMAGE_SIZE=0x17000
option XIP_ROM_SIZE=0x20000
option LINUXBIOS_EXTRA_VERSION=".0-normal"
payload ../../../../../../filo.elf
@@ -20,7 +20,7 @@
romimage "fallback"
option USE_FALLBACK_IMAGE=1
- option ROM_IMAGE_SIZE=0x16000
+ option ROM_IMAGE_SIZE=0x17000
option XIP_ROM_SIZE=0x20000
option LINUXBIOS_EXTRA_VERSION=".0-fallback"
payload ../../../../../../filo.elf