summaryrefslogtreecommitdiff
path: root/src/northbridge
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2014-04-30 01:35:29 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2014-11-14 15:46:57 +0100
commiteaee6e2d95d2a7520a47f07cc37f9e929ce7e1f1 (patch)
tree18f8c4414d269027c8fb9aec5b8efddfd23f556b /src/northbridge
parentabc083e06bcb8d20a58d04323d5c6da7313f987d (diff)
AMD: Move RAMBASE and RAMTOP
There are no reasons to not load ramstage @ 0x100000. Boards with HAVE_ACPI_RESUME enabled have performance penalty in using excessive RAMTOP. For these boards, this change releases 11 MiB of RAM from CBMEM allocation to OS. Change-Id: Ib71995aba5e9332d0ec1626b3eb3b4ef6a506d1c Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/7094 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Diffstat (limited to 'src/northbridge')
-rw-r--r--src/northbridge/amd/agesa/Kconfig9
-rw-r--r--src/northbridge/amd/amdfam10/Kconfig9
-rw-r--r--src/northbridge/amd/amdk8/Kconfig5
3 files changed, 23 insertions, 0 deletions
diff --git a/src/northbridge/amd/agesa/Kconfig b/src/northbridge/amd/agesa/Kconfig
index 6caff0f2c2..d557e62607 100644
--- a/src/northbridge/amd/agesa/Kconfig
+++ b/src/northbridge/amd/agesa/Kconfig
@@ -39,4 +39,13 @@ source src/northbridge/amd/agesa/family15tn/Kconfig
source src/northbridge/amd/agesa/family16kb/Kconfig
source src/northbridge/amd/agesa/00730F01/Kconfig
+# TODO: Reservation for heap seems excessive
+config HEAP_SIZE
+ hex
+ default 0xc0000
+
+config RAMTOP
+ hex
+ default 0x400000
+
endif # NORTHBRIDGE_AMD_AGESA
diff --git a/src/northbridge/amd/amdfam10/Kconfig b/src/northbridge/amd/amdfam10/Kconfig
index d26b05ebdd..4526e01b43 100644
--- a/src/northbridge/amd/amdfam10/Kconfig
+++ b/src/northbridge/amd/amdfam10/Kconfig
@@ -54,6 +54,15 @@ config MMCONF_BUS_NUMBER
int
default 256
+# TODO: Reservation for heap seems excessive
+config HEAP_SIZE
+ hex
+ default 0xc0000
+
+config RAMTOP
+ hex
+ default 0x400000
+
config BOOTBLOCK_NORTHBRIDGE_INIT
string
default "northbridge/amd/amdfam10/bootblock.c"
diff --git a/src/northbridge/amd/amdk8/Kconfig b/src/northbridge/amd/amdk8/Kconfig
index e79b6b2eb0..8bee5ca261 100644
--- a/src/northbridge/amd/amdk8/Kconfig
+++ b/src/northbridge/amd/amdk8/Kconfig
@@ -107,6 +107,11 @@ config MEM_TRAIN_SEQ
endif #K8_REV_F_SUPPORT
+# TODO: Reservation for heap seems excessive
+config HEAP_SIZE
+ hex
+ default 0x40000
+
config IOMMU
bool
default y