[coreboot-gerrit] New patch to review for coreboot: 6878140 Move same Kconfigs to northbridge/amd/pi/Kconfig

WANG Siyuan (wangsiyuanbuaa@gmail.com) gerrit at coreboot.org
Thu Jun 4 10:17:06 CEST 2015


WANG Siyuan (wangsiyuanbuaa at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10421

-gerrit

commit 687814022e06fee77adcba58ac5247027ec2071d
Author: WANG Siyuan <wangsiyuanbuaa at gmail.com>
Date:   Tue Jun 2 16:25:58 2015 +0800

    Move same Kconfigs to northbridge/amd/pi/Kconfig
    
    Bettong, Lamar and Olivehill Plus have many same Kconfigs.
    Move them to northbridge/amd/pi/Kconfig.
    
    Change-Id: I758d5a09f27eee7a7bd60268a2aaed6f16fd0294
    Signed-off-by: WANG Siyuan <wangsiyuanbuaa at gmail.com>
    Signed-off-by: WANG Siyuan <SiYuan.Wang at amd.com>
---
 src/mainboard/amd/bettong/Kconfig       | 32 --------------------------------
 src/mainboard/amd/lamar/Kconfig         | 32 --------------------------------
 src/mainboard/amd/olivehillplus/Kconfig | 20 --------------------
 src/northbridge/amd/pi/Kconfig          | 32 ++++++++++++++++++++++++++++++++
 4 files changed, 32 insertions(+), 84 deletions(-)

diff --git a/src/mainboard/amd/bettong/Kconfig b/src/mainboard/amd/bettong/Kconfig
index 17862c3..9f95ef1 100644
--- a/src/mainboard/amd/bettong/Kconfig
+++ b/src/mainboard/amd/bettong/Kconfig
@@ -40,42 +40,10 @@ config MAINBOARD_PART_NUMBER
 	string
 	default "FP4"
 
-config HW_MEM_HOLE_SIZEK
-	hex
-	default 0x200000
-
-config MAX_CPUS
-	int
-	default 4
-
-config HW_MEM_HOLE_SIZE_AUTO_INC
-	bool
-	default n
-
-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
-
 config HUDSON_LEGACY_FREE
 	bool
 	default y
diff --git a/src/mainboard/amd/lamar/Kconfig b/src/mainboard/amd/lamar/Kconfig
index 4d67a43..408d430 100644
--- a/src/mainboard/amd/lamar/Kconfig
+++ b/src/mainboard/amd/lamar/Kconfig
@@ -44,38 +44,6 @@ config MAINBOARD_SERIAL_NUMBER
 	string
 	default "52198A"
 
-config HW_MEM_HOLE_SIZEK
-	hex
-	default 0x200000
-
-config MAX_CPUS
-	int
-	default 4
-
-config HW_MEM_HOLE_SIZE_AUTO_INC
-	bool
-	default n
-
-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
-
 config HUDSON_XHCI_FWM_FILE
 	string
 	default "3rdparty/blobs/southbridge/amd/bolton/xhci.bin"
diff --git a/src/mainboard/amd/olivehillplus/Kconfig b/src/mainboard/amd/olivehillplus/Kconfig
index e99d17d..38e029b 100644
--- a/src/mainboard/amd/olivehillplus/Kconfig
+++ b/src/mainboard/amd/olivehillplus/Kconfig
@@ -39,26 +39,6 @@ config MAINBOARD_PART_NUMBER
 	string
 	default "DB-FT3b"
 
-config HW_MEM_HOLE_SIZEK
-	hex
-	default 0x200000
-
-config MAX_CPUS
-	int
-	default 4
-
-config HW_MEM_HOLE_SIZE_AUTO_INC
-	bool
-	default n
-
-config IRQ_SLOT_COUNT
-	int
-	default 11
-
-config ONBOARD_VGA_IS_PRIMARY
-	bool
-	default y
-
 config HUDSON_LEGACY_FREE
 	bool
 	default y
diff --git a/src/northbridge/amd/pi/Kconfig b/src/northbridge/amd/pi/Kconfig
index 950126b..5954a68 100644
--- a/src/northbridge/amd/pi/Kconfig
+++ b/src/northbridge/amd/pi/Kconfig
@@ -36,4 +36,36 @@ source src/northbridge/amd/pi/00630F01/Kconfig
 source src/northbridge/amd/pi/00730F01/Kconfig
 source src/northbridge/amd/pi/00660F01/Kconfig
 
+config HW_MEM_HOLE_SIZEK
+	hex
+	default 0x200000
+
+config MAX_CPUS
+	int
+	default 4
+
+config HW_MEM_HOLE_SIZE_AUTO_INC
+	bool
+	default n
+
+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
+
 endif # NORTHBRIDGE_AMD_PI



More information about the coreboot-gerrit mailing list