[coreboot-gerrit] Patch set updated for coreboot: 94261e3 AMD: Move RAMBASE and RAMTOP

Kyösti Mälkki (kyosti.malkki@gmail.com) gerrit at coreboot.org
Sun Oct 19 00:26:06 CEST 2014


Kyösti Mälkki (kyosti.malkki at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/7094

-gerrit

commit 94261e32f77fdf2b4e0483f14f76ca5fbe96bcbf
Author: Kyösti Mälkki <kyosti.malkki at gmail.com>
Date:   Wed Apr 30 01:35:29 2014 +0300

    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 at gmail.com>
---
 src/Kconfig                                       |  5 +++++
 src/arch/x86/Kconfig                              |  4 ----
 src/mainboard/advansus/a785e-i/Kconfig            | 12 ------------
 src/mainboard/amd/bimini_fam10/Kconfig            | 12 ------------
 src/mainboard/amd/dinar/Kconfig                   | 12 ------------
 src/mainboard/amd/inagua/Kconfig                  | 12 ------------
 src/mainboard/amd/mahogany_fam10/Kconfig          | 12 ------------
 src/mainboard/amd/olivehill/Kconfig               | 12 ------------
 src/mainboard/amd/olivehillplus/Kconfig           | 12 ------------
 src/mainboard/amd/parmer/Kconfig                  | 12 ------------
 src/mainboard/amd/persimmon/Kconfig               | 12 ------------
 src/mainboard/amd/serengeti_cheetah_fam10/Kconfig | 12 ------------
 src/mainboard/amd/south_station/Kconfig           | 12 ------------
 src/mainboard/amd/thatcher/Kconfig                | 12 ------------
 src/mainboard/amd/tilapia_fam10/Kconfig           | 12 ------------
 src/mainboard/amd/torpedo/Kconfig                 | 12 ------------
 src/mainboard/amd/union_station/Kconfig           | 12 ------------
 src/mainboard/asrock/e350m1/Kconfig               | 12 ------------
 src/mainboard/asrock/imb-a180/Kconfig             | 12 ------------
 src/mainboard/asus/a8v-e_deluxe/Kconfig           |  4 ----
 src/mainboard/asus/a8v-e_se/Kconfig               |  4 ----
 src/mainboard/asus/f2a85-m/Kconfig                | 12 ------------
 src/mainboard/asus/k8v-x/Kconfig                  |  4 ----
 src/mainboard/asus/m2v-mx_se/Kconfig              |  4 ----
 src/mainboard/asus/m2v/Kconfig                    |  4 ----
 src/mainboard/asus/m4a78-em/Kconfig               | 12 ------------
 src/mainboard/asus/m4a785-m/Kconfig               | 12 ------------
 src/mainboard/asus/m4a785t-m/Kconfig              | 12 ------------
 src/mainboard/asus/m5a88-v/Kconfig                | 12 ------------
 src/mainboard/avalue/eax-785e/Kconfig             | 12 ------------
 src/mainboard/gigabyte/ma785gm/Kconfig            | 12 ------------
 src/mainboard/gigabyte/ma785gmt/Kconfig           | 12 ------------
 src/mainboard/gigabyte/ma78gm/Kconfig             | 12 ------------
 src/mainboard/gizmosphere/gizmo/Kconfig           | 12 ------------
 src/mainboard/hp/dl165_g6_fam10/Kconfig           | 12 ------------
 src/mainboard/hp/pavilion_m6_1035dx/Kconfig       | 12 ------------
 src/mainboard/iei/kino-780am2-fam10/Kconfig       | 12 ------------
 src/mainboard/jetway/nf81-t56n-lf/Kconfig         | 12 ------------
 src/mainboard/jetway/pa78vm5/Kconfig              | 12 ------------
 src/mainboard/kontron/kt690/Kconfig               |  4 ----
 src/mainboard/lippert/frontrunner-af/Kconfig      | 12 ------------
 src/mainboard/lippert/toucan-af/Kconfig           | 12 ------------
 src/mainboard/msi/ms9652_fam10/Kconfig            | 12 ------------
 src/mainboard/supermicro/h8dmr_fam10/Kconfig      | 12 ------------
 src/mainboard/supermicro/h8qgi/Kconfig            | 12 ------------
 src/mainboard/supermicro/h8qme_fam10/Kconfig      | 12 ------------
 src/mainboard/supermicro/h8scm/Kconfig            | 12 ------------
 src/mainboard/supermicro/h8scm_fam10/Kconfig      | 12 ------------
 src/mainboard/technexion/tim5690/Kconfig          |  4 ----
 src/mainboard/tyan/s2912_fam10/Kconfig            | 12 ------------
 src/mainboard/tyan/s8226/Kconfig                  | 12 ------------
 src/northbridge/amd/agesa/Kconfig                 |  9 +++++++++
 src/northbridge/amd/amdfam10/Kconfig              |  9 +++++++++
 src/northbridge/amd/amdk8/Kconfig                 |  5 +++++
 54 files changed, 28 insertions(+), 536 deletions(-)

diff --git a/src/Kconfig b/src/Kconfig
index ec59863..86d7ef2 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -285,6 +285,11 @@ config TPM
 
 	  If unsure, say N.
 
+config RAMTOP
+	hex
+	default 0x200000
+	depends on ARCH_X86
+
 config HEAP_SIZE
 	hex
 	default 0x4000
diff --git a/src/arch/x86/Kconfig b/src/arch/x86/Kconfig
index c2e0624..56d8f88 100644
--- a/src/arch/x86/Kconfig
+++ b/src/arch/x86/Kconfig
@@ -30,10 +30,6 @@ config RAMBASE
 	hex
 	default 0x100000
 
-config RAMTOP
-	hex
-	default 0x200000
-
 config STACK_SIZE
 	hex
 	default 0x1000
diff --git a/src/mainboard/advansus/a785e-i/Kconfig b/src/mainboard/advansus/a785e-i/Kconfig
index b3427a2..ef7faf4 100644
--- a/src/mainboard/advansus/a785e-i/Kconfig
+++ b/src/mainboard/advansus/a785e-i/Kconfig
@@ -73,18 +73,6 @@ config AMD_UCODE_PATCH_FILE
 	string
 	default "mc_patch_010000b6.h"
 
-config RAMTOP
-	hex
-	default 0x2000000
-
-config HEAP_SIZE
-	hex
-	default 0xc0000
-
-config RAMBASE
-	hex
-	default 0x200000
-
 config VGA_BIOS_ID
         string
         default "1002,9712"
diff --git a/src/mainboard/amd/bimini_fam10/Kconfig b/src/mainboard/amd/bimini_fam10/Kconfig
index 3ebd3b2..52f45e4 100644
--- a/src/mainboard/amd/bimini_fam10/Kconfig
+++ b/src/mainboard/amd/bimini_fam10/Kconfig
@@ -73,16 +73,4 @@ config AMD_UCODE_PATCH_FILE
 	string
 	default "mc_patch_010000b6.h"
 
-config RAMTOP
-	hex
-	default 0x2000000
-
-config HEAP_SIZE
-	hex
-	default 0xc0000
-
-config RAMBASE
-	hex
-	default 0x200000
-
 endif #BOARD_AMD_BIMINI_FAM10
diff --git a/src/mainboard/amd/dinar/Kconfig b/src/mainboard/amd/dinar/Kconfig
index b71c5a5..a8093fb 100644
--- a/src/mainboard/amd/dinar/Kconfig
+++ b/src/mainboard/amd/dinar/Kconfig
@@ -61,18 +61,6 @@ config IRQ_SLOT_COUNT
 	int
 	default 11
 
-config RAMTOP
-	hex
-	default 0x1000000
-
-config HEAP_SIZE
-	hex
-	default 0xc0000
-
-config RAMBASE
-	hex
-	default 0x200000
-
 config DRIVERS_PS2_KEYBOARD
 	bool
 	default y
diff --git a/src/mainboard/amd/inagua/Kconfig b/src/mainboard/amd/inagua/Kconfig
index 279c7ef..d8ce909 100644
--- a/src/mainboard/amd/inagua/Kconfig
+++ b/src/mainboard/amd/inagua/Kconfig
@@ -57,18 +57,6 @@ config IRQ_SLOT_COUNT
 	int
 	default 11
 
-config RAMTOP
-	hex
-	default 0x1000000
-
-config HEAP_SIZE
-	hex
-	default 0xc0000
-
-config RAMBASE
-	hex
-	default 0x200000
-
 config DRIVERS_PS2_KEYBOARD
 	bool
 	default y
diff --git a/src/mainboard/amd/mahogany_fam10/Kconfig b/src/mainboard/amd/mahogany_fam10/Kconfig
index 688badb..8250580 100644
--- a/src/mainboard/amd/mahogany_fam10/Kconfig
+++ b/src/mainboard/amd/mahogany_fam10/Kconfig
@@ -61,18 +61,6 @@ config AMD_UCODE_PATCH_FILE
 	string
 	default "mc_patch_01000095.h"
 
-config RAMTOP
-	hex
-	default 0x2000000
-
-config HEAP_SIZE
-	hex
-	default 0xc0000
-
-config RAMBASE
-	hex
-	default 0x200000
-
 config VGA_BIOS_ID
 	string
 	default "1002,9615"
diff --git a/src/mainboard/amd/olivehill/Kconfig b/src/mainboard/amd/olivehill/Kconfig
index a089d21..ea97550 100644
--- a/src/mainboard/amd/olivehill/Kconfig
+++ b/src/mainboard/amd/olivehill/Kconfig
@@ -56,22 +56,10 @@ config IRQ_SLOT_COUNT
 	int
 	default 11
 
-config RAMTOP
-	hex
-	default 0x1000000
-
-config HEAP_SIZE
-	hex
-	default 0xc0000
-
 config ACPI_SSDTX_NUM
 	int
 	default 0
 
-config RAMBASE
-	hex
-	default 0x200000
-
 config ONBOARD_VGA_IS_PRIMARY
 	bool
 	default y
diff --git a/src/mainboard/amd/olivehillplus/Kconfig b/src/mainboard/amd/olivehillplus/Kconfig
index a61859f..883df6c 100644
--- a/src/mainboard/amd/olivehillplus/Kconfig
+++ b/src/mainboard/amd/olivehillplus/Kconfig
@@ -56,22 +56,10 @@ config IRQ_SLOT_COUNT
 	int
 	default 11
 
-config RAMTOP
-	hex
-	default 0x1000000
-
-config HEAP_SIZE
-	hex
-	default 0xc0000
-
 config ACPI_SSDTX_NUM
 	int
 	default 0
 
-config RAMBASE
-	hex
-	default 0x200000
-
 config ONBOARD_VGA_IS_PRIMARY
 	bool
 	default y
diff --git a/src/mainboard/amd/parmer/Kconfig b/src/mainboard/amd/parmer/Kconfig
index 735321e..ff198a6 100644
--- a/src/mainboard/amd/parmer/Kconfig
+++ b/src/mainboard/amd/parmer/Kconfig
@@ -57,18 +57,6 @@ config IRQ_SLOT_COUNT
 	int
 	default 11
 
-config RAMTOP
-	hex
-	default 0x1000000
-
-config HEAP_SIZE
-	hex
-	default 0xc0000
-
-config RAMBASE
-	hex
-	default 0x200000
-
 config ONBOARD_VGA_IS_PRIMARY
 	bool
 	default y
diff --git a/src/mainboard/amd/persimmon/Kconfig b/src/mainboard/amd/persimmon/Kconfig
index 698d74a..d64c88e 100644
--- a/src/mainboard/amd/persimmon/Kconfig
+++ b/src/mainboard/amd/persimmon/Kconfig
@@ -57,18 +57,6 @@ config IRQ_SLOT_COUNT
 	int
 	default 11
 
-config RAMTOP
-	hex
-	default 0x1000000
-
-config HEAP_SIZE
-	hex
-	default 0xc0000
-
-config RAMBASE
-	hex
-	default 0x200000
-
 config ONBOARD_VGA_IS_PRIMARY
 	bool
 	default y
diff --git a/src/mainboard/amd/serengeti_cheetah_fam10/Kconfig b/src/mainboard/amd/serengeti_cheetah_fam10/Kconfig
index c542d8c..f0b2043 100644
--- a/src/mainboard/amd/serengeti_cheetah_fam10/Kconfig
+++ b/src/mainboard/amd/serengeti_cheetah_fam10/Kconfig
@@ -62,20 +62,8 @@ config AMD_UCODE_PATCH_FILE
 	string
 	default "mc_patch_01000095.h"
 
-config RAMTOP
-	hex
-	default 0x1000000
-
-config HEAP_SIZE
-	hex
-	default 0xc0000
-
 config ACPI_SSDTX_NUM
 	int
 	default 5
 
-config RAMBASE
-	hex
-	default 0x200000
-
 endif # BOARD_AMD_SERENGETI_CHEETAH_FAM10
diff --git a/src/mainboard/amd/south_station/Kconfig b/src/mainboard/amd/south_station/Kconfig
index 813dcfc..7982a06 100644
--- a/src/mainboard/amd/south_station/Kconfig
+++ b/src/mainboard/amd/south_station/Kconfig
@@ -57,18 +57,6 @@ config IRQ_SLOT_COUNT
 	int
 	default 11
 
-config RAMTOP
-	hex
-	default 0x1000000
-
-config HEAP_SIZE
-	hex
-	default 0xc0000
-
-config RAMBASE
-	hex
-	default 0x200000
-
 config ONBOARD_VGA_IS_PRIMARY
 	bool
 	default y
diff --git a/src/mainboard/amd/thatcher/Kconfig b/src/mainboard/amd/thatcher/Kconfig
index aacd1e3..c228365 100644
--- a/src/mainboard/amd/thatcher/Kconfig
+++ b/src/mainboard/amd/thatcher/Kconfig
@@ -57,18 +57,6 @@ config IRQ_SLOT_COUNT
 	int
 	default 11
 
-config RAMTOP
-	hex
-	default 0x1000000
-
-config HEAP_SIZE
-	hex
-	default 0xc0000
-
-config RAMBASE
-	hex
-	default 0x200000
-
 config ONBOARD_VGA_IS_PRIMARY
 	bool
 	default y
diff --git a/src/mainboard/amd/tilapia_fam10/Kconfig b/src/mainboard/amd/tilapia_fam10/Kconfig
index b1a201a..4f5b8d5 100644
--- a/src/mainboard/amd/tilapia_fam10/Kconfig
+++ b/src/mainboard/amd/tilapia_fam10/Kconfig
@@ -61,18 +61,6 @@ config AMD_UCODE_PATCH_FILE
 	string
 	default "mc_patch_010000b6.h"
 
-config RAMTOP
-	hex
-	default 0x2000000
-
-config HEAP_SIZE
-	hex
-	default 0xc0000
-
-config RAMBASE
-	hex
-	default 0x200000
-
 config VGA_BIOS
         bool
         default n
diff --git a/src/mainboard/amd/torpedo/Kconfig b/src/mainboard/amd/torpedo/Kconfig
index 6013df7..b4d6f5e 100644
--- a/src/mainboard/amd/torpedo/Kconfig
+++ b/src/mainboard/amd/torpedo/Kconfig
@@ -67,18 +67,6 @@ config IRQ_SLOT_COUNT
         int
         default 11
 
-config RAMTOP
-        hex
-        default 0x1000000
-
-config HEAP_SIZE
-        hex
-        default 0xc0000
-
-config RAMBASE
-        hex
-        default 0x200000
-
 config ONBOARD_VGA_IS_PRIMARY
 	bool
 	default y
diff --git a/src/mainboard/amd/union_station/Kconfig b/src/mainboard/amd/union_station/Kconfig
index 8955435..faaa8e8 100644
--- a/src/mainboard/amd/union_station/Kconfig
+++ b/src/mainboard/amd/union_station/Kconfig
@@ -56,18 +56,6 @@ config IRQ_SLOT_COUNT
 	int
 	default 11
 
-config RAMTOP
-	hex
-	default 0x1000000
-
-config HEAP_SIZE
-	hex
-	default 0xc0000
-
-config RAMBASE
-	hex
-	default 0x200000
-
 config ONBOARD_VGA_IS_PRIMARY
 	bool
 	default y
diff --git a/src/mainboard/asrock/e350m1/Kconfig b/src/mainboard/asrock/e350m1/Kconfig
index 00cdaa7..f4a8f3f 100644
--- a/src/mainboard/asrock/e350m1/Kconfig
+++ b/src/mainboard/asrock/e350m1/Kconfig
@@ -57,18 +57,6 @@ config IRQ_SLOT_COUNT
         int
         default 11
 
-config RAMTOP
-        hex
-        default 0x1000000
-
-config HEAP_SIZE
-        hex
-        default 0xc0000
-
-config RAMBASE
-        hex
-        default 0x200000
-
 config ONBOARD_VGA_IS_PRIMARY
 	bool
 	default y
diff --git a/src/mainboard/asrock/imb-a180/Kconfig b/src/mainboard/asrock/imb-a180/Kconfig
index aa075c8..f3c8aa7 100644
--- a/src/mainboard/asrock/imb-a180/Kconfig
+++ b/src/mainboard/asrock/imb-a180/Kconfig
@@ -57,22 +57,10 @@ config IRQ_SLOT_COUNT
 	int
 	default 11
 
-config RAMTOP
-	hex
-	default 0x1000000
-
-config HEAP_SIZE
-	hex
-	default 0xc0000
-
 config ACPI_SSDTX_NUM
 	int
 	default 0
 
-config RAMBASE
-	hex
-	default 0x200000
-
 config ONBOARD_VGA_IS_PRIMARY
 	bool
 	default y
diff --git a/src/mainboard/asus/a8v-e_deluxe/Kconfig b/src/mainboard/asus/a8v-e_deluxe/Kconfig
index a1533c4..8ebff31 100644
--- a/src/mainboard/asus/a8v-e_deluxe/Kconfig
+++ b/src/mainboard/asus/a8v-e_deluxe/Kconfig
@@ -53,10 +53,6 @@ config MAX_PHYSICAL_CPUS
 	int
 	default 1
 
-config HEAP_SIZE
-	hex
-	default 0x40000
-
 config HT_CHAIN_END_UNITID_BASE
 	hex
 	default 0x20
diff --git a/src/mainboard/asus/a8v-e_se/Kconfig b/src/mainboard/asus/a8v-e_se/Kconfig
index dcc75fa..d819b0d 100644
--- a/src/mainboard/asus/a8v-e_se/Kconfig
+++ b/src/mainboard/asus/a8v-e_se/Kconfig
@@ -53,10 +53,6 @@ config MAX_PHYSICAL_CPUS
 	int
 	default 1
 
-config HEAP_SIZE
-	hex
-	default 0x40000
-
 config HT_CHAIN_END_UNITID_BASE
 	hex
 	default 0x20
diff --git a/src/mainboard/asus/f2a85-m/Kconfig b/src/mainboard/asus/f2a85-m/Kconfig
index 6dea246..e3236f7 100644
--- a/src/mainboard/asus/f2a85-m/Kconfig
+++ b/src/mainboard/asus/f2a85-m/Kconfig
@@ -82,18 +82,6 @@ config IRQ_SLOT_COUNT
 	int
 	default 11
 
-config RAMTOP
-	hex
-	default 0x1000000
-
-config HEAP_SIZE
-	hex
-	default 0xc0000
-
-config RAMBASE
-	hex
-	default 0x200000
-
 config ONBOARD_VGA_IS_PRIMARY
 	bool
 	default y
diff --git a/src/mainboard/asus/k8v-x/Kconfig b/src/mainboard/asus/k8v-x/Kconfig
index 0e829f0..1deb5b6 100644
--- a/src/mainboard/asus/k8v-x/Kconfig
+++ b/src/mainboard/asus/k8v-x/Kconfig
@@ -56,10 +56,6 @@ config MAX_PHYSICAL_CPUS
 	int
 	default 1
 
-config HEAP_SIZE
-	hex
-	default 0x40000
-
 config HT_CHAIN_END_UNITID_BASE
 	hex
 	default 0x20
diff --git a/src/mainboard/asus/m2v-mx_se/Kconfig b/src/mainboard/asus/m2v-mx_se/Kconfig
index 2c1331f..27b8253 100644
--- a/src/mainboard/asus/m2v-mx_se/Kconfig
+++ b/src/mainboard/asus/m2v-mx_se/Kconfig
@@ -63,10 +63,6 @@ config MAX_PHYSICAL_CPUS
 	int
 	default 1
 
-config HEAP_SIZE
-	hex
-	default 0x40000
-
 config HT_CHAIN_UNITID_BASE
 	hex
 	default 0x0
diff --git a/src/mainboard/asus/m2v/Kconfig b/src/mainboard/asus/m2v/Kconfig
index 0993096..35ad38d 100644
--- a/src/mainboard/asus/m2v/Kconfig
+++ b/src/mainboard/asus/m2v/Kconfig
@@ -56,10 +56,6 @@ config MAX_PHYSICAL_CPUS
 	int
 	default 1
 
-config HEAP_SIZE
-	hex
-	default 0x40000
-
 config HT_CHAIN_END_UNITID_BASE
 	hex
 	default 0x20
diff --git a/src/mainboard/asus/m4a78-em/Kconfig b/src/mainboard/asus/m4a78-em/Kconfig
index d100806..440b7f5 100644
--- a/src/mainboard/asus/m4a78-em/Kconfig
+++ b/src/mainboard/asus/m4a78-em/Kconfig
@@ -60,16 +60,4 @@ config AMD_UCODE_PATCH_FILE
 	string
 	default "mc_patch_010000b6.h"
 
-config RAMTOP
-	hex
-	default 0x2000000
-
-config HEAP_SIZE
-	hex
-	default 0xc0000
-
-config RAMBASE
-	hex
-	default 0x200000
-
 endif
diff --git a/src/mainboard/asus/m4a785-m/Kconfig b/src/mainboard/asus/m4a785-m/Kconfig
index e0e76fe..5162e16 100644
--- a/src/mainboard/asus/m4a785-m/Kconfig
+++ b/src/mainboard/asus/m4a785-m/Kconfig
@@ -61,16 +61,4 @@ config AMD_UCODE_PATCH_FILE
 	string
 	default "mc_patch_010000b6.h"
 
-config RAMTOP
-	hex
-	default 0x2000000
-
-config HEAP_SIZE
-	hex
-	default 0xc0000
-
-config RAMBASE
-	hex
-	default 0x200000
-
 endif
diff --git a/src/mainboard/asus/m4a785t-m/Kconfig b/src/mainboard/asus/m4a785t-m/Kconfig
index 71affb8..3e3fcea 100644
--- a/src/mainboard/asus/m4a785t-m/Kconfig
+++ b/src/mainboard/asus/m4a785t-m/Kconfig
@@ -63,16 +63,4 @@ config AMD_UCODE_PATCH_FILE
 	string
 	default "mc_patch_0100009f.h"
 
-config RAMTOP
-	hex
-	default 0x2000000
-
-config HEAP_SIZE
-	hex
-	default 0xc0000
-
-config RAMBASE
-	hex
-	default 0x200000
-
 endif
diff --git a/src/mainboard/asus/m5a88-v/Kconfig b/src/mainboard/asus/m5a88-v/Kconfig
index 40ac542..a76dd52 100644
--- a/src/mainboard/asus/m5a88-v/Kconfig
+++ b/src/mainboard/asus/m5a88-v/Kconfig
@@ -71,18 +71,6 @@ config AMD_UCODE_PATCH_FILE
 	string
 	default "mc_patch_010000bf.h"
 
-config RAMTOP
-	hex
-	default 0x2000000
-
-config HEAP_SIZE
-	hex
-	default 0xc0000
-
-config RAMBASE
-	hex
-	default 0x200000
-
 config VGA_BIOS_ID
         string
         default "1002,9715"
diff --git a/src/mainboard/avalue/eax-785e/Kconfig b/src/mainboard/avalue/eax-785e/Kconfig
index 32b2aff..30fbe25 100644
--- a/src/mainboard/avalue/eax-785e/Kconfig
+++ b/src/mainboard/avalue/eax-785e/Kconfig
@@ -73,18 +73,6 @@ config AMD_UCODE_PATCH_FILE
 	string
 	default "mc_patch_010000b6.h"
 
-config RAMTOP
-	hex
-	default 0x2000000
-
-config HEAP_SIZE
-	hex
-	default 0xc0000
-
-config RAMBASE
-	hex
-	default 0x200000
-
 config VGA_BIOS_ID
         string
         default "1002,9712"
diff --git a/src/mainboard/gigabyte/ma785gm/Kconfig b/src/mainboard/gigabyte/ma785gm/Kconfig
index 67804dc..82b5c4f 100644
--- a/src/mainboard/gigabyte/ma785gm/Kconfig
+++ b/src/mainboard/gigabyte/ma785gm/Kconfig
@@ -61,16 +61,4 @@ config AMD_UCODE_PATCH_FILE
 	string
 	default "mc_patch_010000b6.h"
 
-config RAMTOP
-	hex
-	default 0x2000000
-
-config HEAP_SIZE
-	hex
-	default 0xc0000
-
-config RAMBASE
-	hex
-	default 0x200000
-
 endif # BOARD_GIGABYTE_MA785GM
diff --git a/src/mainboard/gigabyte/ma785gmt/Kconfig b/src/mainboard/gigabyte/ma785gmt/Kconfig
index 3dee469..7ae9ef8 100644
--- a/src/mainboard/gigabyte/ma785gmt/Kconfig
+++ b/src/mainboard/gigabyte/ma785gmt/Kconfig
@@ -61,16 +61,4 @@ config AMD_UCODE_PATCH_FILE
 	string
 	default "mc_patch_010000b6.h"
 
-config RAMTOP
-	hex
-	default 0x2000000
-
-config HEAP_SIZE
-	hex
-	default 0xc0000
-
-config RAMBASE
-	hex
-	default 0x200000
-
 endif # BOARD_GIGABYTE_MA785GMT
diff --git a/src/mainboard/gigabyte/ma78gm/Kconfig b/src/mainboard/gigabyte/ma78gm/Kconfig
index f42008a..cd4fadf 100644
--- a/src/mainboard/gigabyte/ma78gm/Kconfig
+++ b/src/mainboard/gigabyte/ma78gm/Kconfig
@@ -61,16 +61,4 @@ config AMD_UCODE_PATCH_FILE
 	string
 	default "mc_patch_01000095.h"
 
-config RAMTOP
-	hex
-	default 0x2000000
-
-config HEAP_SIZE
-	hex
-	default 0xc0000
-
-config RAMBASE
-	hex
-	default 0x200000
-
 endif # BOARD_GIGABYTE_MA78GM
diff --git a/src/mainboard/gizmosphere/gizmo/Kconfig b/src/mainboard/gizmosphere/gizmo/Kconfig
index fc34f12..d949c59 100755
--- a/src/mainboard/gizmosphere/gizmo/Kconfig
+++ b/src/mainboard/gizmosphere/gizmo/Kconfig
@@ -58,18 +58,6 @@ config IRQ_SLOT_COUNT
 	int
 	default 11
 
-config RAMTOP
-	hex
-	default 0x1000000
-
-config HEAP_SIZE
-	hex
-	default 0xc0000
-
-config RAMBASE
-	hex
-	default 0x200000
-
 config ONBOARD_VGA_IS_PRIMARY
 	bool
 	default y
diff --git a/src/mainboard/hp/dl165_g6_fam10/Kconfig b/src/mainboard/hp/dl165_g6_fam10/Kconfig
index 985f4f5..5bb58db 100644
--- a/src/mainboard/hp/dl165_g6_fam10/Kconfig
+++ b/src/mainboard/hp/dl165_g6_fam10/Kconfig
@@ -68,18 +68,6 @@ config AMD_UCODE_PATCH_FILE
 	string
 	default "mc_patch_01000095.h"
 
-config RAMBASE
-	hex
-	default 0x200000
-
-config RAMTOP
-	hex
-	default 0x1000000
-
-config HEAP_SIZE
-	hex
-	default 0xc0000
-
 config BOOTBLOCK_MAINBOARD_INIT
 	string
 	default "mainboard/hp/dl165_g6_fam10/bootblock.c"
diff --git a/src/mainboard/hp/pavilion_m6_1035dx/Kconfig b/src/mainboard/hp/pavilion_m6_1035dx/Kconfig
index 1f3fd8a..e907c75 100644
--- a/src/mainboard/hp/pavilion_m6_1035dx/Kconfig
+++ b/src/mainboard/hp/pavilion_m6_1035dx/Kconfig
@@ -60,18 +60,6 @@ config IRQ_SLOT_COUNT
 	int
 	default 11
 
-config RAMTOP
-	hex
-	default 0x1000000
-
-config HEAP_SIZE
-	hex
-	default 0xc0000
-
-config RAMBASE
-	hex
-	default 0x200000
-
 config ONBOARD_VGA_IS_PRIMARY
 	bool
 	default y
diff --git a/src/mainboard/iei/kino-780am2-fam10/Kconfig b/src/mainboard/iei/kino-780am2-fam10/Kconfig
index 08c49a3..7565043 100644
--- a/src/mainboard/iei/kino-780am2-fam10/Kconfig
+++ b/src/mainboard/iei/kino-780am2-fam10/Kconfig
@@ -61,18 +61,6 @@ config AMD_UCODE_PATCH_FILE
 	string
 	default "mc_patch_01000086.h"
 
-config RAMTOP
-	hex
-	default 0x2000000
-
-config HEAP_SIZE
-	hex
-	default 0xc0000
-
-config RAMBASE
-	hex
-	default 0x200000
-
 config VGA_BIOS_ID
 	string
 	default "1002,9615"
diff --git a/src/mainboard/jetway/nf81-t56n-lf/Kconfig b/src/mainboard/jetway/nf81-t56n-lf/Kconfig
index 8a1e78b..2abaa68 100644
--- a/src/mainboard/jetway/nf81-t56n-lf/Kconfig
+++ b/src/mainboard/jetway/nf81-t56n-lf/Kconfig
@@ -58,18 +58,6 @@ config IRQ_SLOT_COUNT
 	int
 	default 11
 
-config RAMTOP
-	hex
-	default 0x1000000
-
-config HEAP_SIZE
-	hex
-	default 0xc0000
-
-config RAMBASE
-	hex
-	default 0x200000
-
 config ONBOARD_VGA_IS_PRIMARY
 	bool
 	default y
diff --git a/src/mainboard/jetway/pa78vm5/Kconfig b/src/mainboard/jetway/pa78vm5/Kconfig
index 8d007a4..c779eca 100644
--- a/src/mainboard/jetway/pa78vm5/Kconfig
+++ b/src/mainboard/jetway/pa78vm5/Kconfig
@@ -61,16 +61,4 @@ config AMD_UCODE_PATCH_FILE
 	string
 	default "mc_patch_010000b6.h"
 
-config RAMTOP
-	hex
-	default 0x2000000
-
-config HEAP_SIZE
-	hex
-	default 0xc0000
-
-config RAMBASE
-	hex
-	default 0x200000
-
 endif # BOARD_JETWAY_PA78VM5
diff --git a/src/mainboard/kontron/kt690/Kconfig b/src/mainboard/kontron/kt690/Kconfig
index 2891736..8d1f039 100644
--- a/src/mainboard/kontron/kt690/Kconfig
+++ b/src/mainboard/kontron/kt690/Kconfig
@@ -29,10 +29,6 @@ config MAINBOARD_PART_NUMBER
 	string
 	default "KT690/mITX"
 
-config HEAP_SIZE
-	hex
-	default 0x8000
-
 config MAX_CPUS
 	int
 	default 2
diff --git a/src/mainboard/lippert/frontrunner-af/Kconfig b/src/mainboard/lippert/frontrunner-af/Kconfig
index 64c9dd5..0e1b17b 100644
--- a/src/mainboard/lippert/frontrunner-af/Kconfig
+++ b/src/mainboard/lippert/frontrunner-af/Kconfig
@@ -59,18 +59,6 @@ config IRQ_SLOT_COUNT
 	int
 	default 11
 
-config RAMTOP
-	hex
-	default 0x1000000
-
-config HEAP_SIZE
-	hex
-	default 0xc0000
-
-config RAMBASE
-	hex
-	default 0x200000
-
 config ONBOARD_VGA_IS_PRIMARY
 	bool
 	default y
diff --git a/src/mainboard/lippert/toucan-af/Kconfig b/src/mainboard/lippert/toucan-af/Kconfig
index 32ea029..72c0390 100644
--- a/src/mainboard/lippert/toucan-af/Kconfig
+++ b/src/mainboard/lippert/toucan-af/Kconfig
@@ -61,18 +61,6 @@ config IRQ_SLOT_COUNT
 	int
 	default 11
 
-config RAMTOP
-	hex
-	default 0x1000000
-
-config HEAP_SIZE
-	hex
-	default 0xc0000
-
-config RAMBASE
-	hex
-	default 0x200000
-
 config ONBOARD_VGA_IS_PRIMARY
 	bool
 	default y
diff --git a/src/mainboard/msi/ms9652_fam10/Kconfig b/src/mainboard/msi/ms9652_fam10/Kconfig
index 15e179a..91ddbbc 100644
--- a/src/mainboard/msi/ms9652_fam10/Kconfig
+++ b/src/mainboard/msi/ms9652_fam10/Kconfig
@@ -49,10 +49,6 @@ config MAX_PHYSICAL_CPUS
 	int
 	default 2
 
-config HEAP_SIZE
-	hex
-	default 0x20000
-
 config USE_OPTION_TABLE
 	bool
 	default n
@@ -61,10 +57,6 @@ config MAINBOARD_PART_NUMBER
 	string
 	default "MS-9652"
 
-config RAMBASE
-	hex
-	default 0x200000
-
 config DEFAULT_CONSOLE_LOGLEVEL
 	int
 	default 9
@@ -97,10 +89,6 @@ config APIC_ID_OFFSET
 	hex
 	default 0x00
 
-config RAMTOP
-	hex
-	default 0x1000000
-
 config AMD_UCODE_PATCH_FILE
 	string
 	default "mc_patch_01000096.h"
diff --git a/src/mainboard/supermicro/h8dmr_fam10/Kconfig b/src/mainboard/supermicro/h8dmr_fam10/Kconfig
index 02c4691..9f31542 100644
--- a/src/mainboard/supermicro/h8dmr_fam10/Kconfig
+++ b/src/mainboard/supermicro/h8dmr_fam10/Kconfig
@@ -32,18 +32,6 @@ config DCACHE_RAM_SIZE
 	hex
 	default 0x0c000
 
-config RAMBASE
-	hex
-	default 0x200000
-
-config RAMTOP
-	hex
-	default 0x1000000
-
-config HEAP_SIZE
-	hex
-	default 0xc0000
-
 config APIC_ID_OFFSET
 	hex
 	default 0x0
diff --git a/src/mainboard/supermicro/h8qgi/Kconfig b/src/mainboard/supermicro/h8qgi/Kconfig
index ee78a2f..ced30cf 100644
--- a/src/mainboard/supermicro/h8qgi/Kconfig
+++ b/src/mainboard/supermicro/h8qgi/Kconfig
@@ -60,18 +60,6 @@ config IRQ_SLOT_COUNT
 	int
 	default 11
 
-config RAMTOP
-	hex
-	default 0x1000000
-
-config HEAP_SIZE
-	hex
-	default 0xc0000
-
-config RAMBASE
-	hex
-	default 0x200000
-
 config DRIVERS_PS2_KEYBOARD
 	bool
 	default y
diff --git a/src/mainboard/supermicro/h8qme_fam10/Kconfig b/src/mainboard/supermicro/h8qme_fam10/Kconfig
index 28d408e..89798aa 100644
--- a/src/mainboard/supermicro/h8qme_fam10/Kconfig
+++ b/src/mainboard/supermicro/h8qme_fam10/Kconfig
@@ -30,18 +30,6 @@ config DCACHE_RAM_SIZE
 	hex
 	default 0x0c000
 
-config RAMBASE
-	hex
-	default 0x200000
-
-config RAMTOP
-	hex
-	default 0x1000000
-
-config HEAP_SIZE
-	hex
-	default 0xff000
-
 config APIC_ID_OFFSET
 	hex
 	default 0x0
diff --git a/src/mainboard/supermicro/h8scm/Kconfig b/src/mainboard/supermicro/h8scm/Kconfig
index a9757df..793b918 100644
--- a/src/mainboard/supermicro/h8scm/Kconfig
+++ b/src/mainboard/supermicro/h8scm/Kconfig
@@ -63,18 +63,6 @@ config IRQ_SLOT_COUNT
 	int
 	default 11
 
-config RAMTOP
-	hex
-	default 0x1000000
-
-config HEAP_SIZE
-	hex
-	default 0xc0000
-
-config RAMBASE
-	hex
-	default 0x200000
-
 config DRIVERS_PS2_KEYBOARD
 	bool
 	default y
diff --git a/src/mainboard/supermicro/h8scm_fam10/Kconfig b/src/mainboard/supermicro/h8scm_fam10/Kconfig
index 967b62d..e76ecec 100644
--- a/src/mainboard/supermicro/h8scm_fam10/Kconfig
+++ b/src/mainboard/supermicro/h8scm_fam10/Kconfig
@@ -61,16 +61,4 @@ config AMD_UCODE_PATCH_FILE
 	string
 	default "mc_patch_010000c4.h"
 
-config RAMTOP
-	hex
-	default 0x2000000
-
-config HEAP_SIZE
-	hex
-	default 0xc0000
-
-config RAMBASE
-	hex
-	default 0x200000
-
 endif # BOARD_AMD_H8SCM_FAM10
diff --git a/src/mainboard/technexion/tim5690/Kconfig b/src/mainboard/technexion/tim5690/Kconfig
index 072919d..98dce39 100644
--- a/src/mainboard/technexion/tim5690/Kconfig
+++ b/src/mainboard/technexion/tim5690/Kconfig
@@ -53,8 +53,4 @@ config IRQ_SLOT_COUNT
 	int
 	default 11
 
-config HEAP_SIZE
-	hex
-	default 0x4000
-
 endif # BOARD_TECHNEXION_TIM5690
diff --git a/src/mainboard/tyan/s2912_fam10/Kconfig b/src/mainboard/tyan/s2912_fam10/Kconfig
index 8b651c6..901a7ed 100644
--- a/src/mainboard/tyan/s2912_fam10/Kconfig
+++ b/src/mainboard/tyan/s2912_fam10/Kconfig
@@ -72,18 +72,6 @@ config AMD_UCODE_PATCH_FILE
 	string
 	default "mc_patch_01000095.h"
 
-config RAMBASE
-	hex
-	default 0x200000
-
-config RAMTOP
-	hex
-	default 0x1000000
-
-config HEAP_SIZE
-	hex
-	default 0xc0000
-
 config MCP55_PCI_E_X_0
 	int
 	default 1
diff --git a/src/mainboard/tyan/s8226/Kconfig b/src/mainboard/tyan/s8226/Kconfig
index 64aa29a..20de9dc 100644
--- a/src/mainboard/tyan/s8226/Kconfig
+++ b/src/mainboard/tyan/s8226/Kconfig
@@ -60,18 +60,6 @@ config IRQ_SLOT_COUNT
 	int
 	default 11
 
-config RAMTOP
-	hex
-	default 0x1000000
-
-config HEAP_SIZE
-	hex
-	default 0xc0000
-
-config RAMBASE
-	hex
-	default 0x200000
-
 config DRIVERS_PS2_KEYBOARD
 	bool
 	default y
diff --git a/src/northbridge/amd/agesa/Kconfig b/src/northbridge/amd/agesa/Kconfig
index 6caff0f..d557e62 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 d26b05e..4526e01 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 3f8861e..9a57130 100644
--- a/src/northbridge/amd/amdk8/Kconfig
+++ b/src/northbridge/amd/amdk8/Kconfig
@@ -106,6 +106,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



More information about the coreboot-gerrit mailing list