From eaee6e2d95d2a7520a47f07cc37f9e929ce7e1f1 Mon Sep 17 00:00:00 2001 From: Kyösti Mälkki Date: Wed, 30 Apr 2014 01:35:29 +0300 Subject: AMD: Move RAMBASE and RAMTOP MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: http://review.coreboot.org/7094 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan --- src/northbridge/amd/agesa/Kconfig | 9 +++++++++ src/northbridge/amd/amdfam10/Kconfig | 9 +++++++++ src/northbridge/amd/amdk8/Kconfig | 5 +++++ 3 files changed, 23 insertions(+) (limited to 'src/northbridge') 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 -- cgit v1.2.3