Richard Spiegel has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/31373
Change subject: vendorcode/amd/pi: Add merlinfalcon vendor code
......................................................................
vendorcode/amd/pi: Add merlinfalcon vendor code
Merlinfalcon is essentially stoneyridge (00670F00), but using a carizo CPU.
Therefore, it needs carizo AGESA (00660F01), but a stoneyridge vendor code
with a small modification to gcccar.inc due to carizo AGESA requiring CAR
at 0x3000 to 0x4000.
Please notice:
Most of the new files are duplicate from src/vendorcode/amd/pi/00670F00,
the only difference is gcccar.inc which has 1 extra instruction. I would
rather have some conditional build on a config parameter, but I was
not aware how to do it for an assembly file. I'm open to suggestions.
BUG=b:none.
TEST=Tested later with padmelon board.
Change-Id: I01b4cdef01ba185fd0d96e6674f8b1c56307d1f2
Signed-off-by: Richard Spiegel <richard.spiegel(a)silverbackltd.com>
---
A src/vendorcode/amd/pi/00670F00_CZ/AGESA.h
A src/vendorcode/amd/pi/00670F00_CZ/AMD.h
A src/vendorcode/amd/pi/00670F00_CZ/Include/Filecode.h
A src/vendorcode/amd/pi/00670F00_CZ/Include/PlatformMemoryConfiguration.h
A src/vendorcode/amd/pi/00670F00_CZ/Include/Topology.h
A src/vendorcode/amd/pi/00670F00_CZ/Makefile.inc
A src/vendorcode/amd/pi/00670F00_CZ/Porting.h
A src/vendorcode/amd/pi/00670F00_CZ/Proc/CPU/Family/cpuFamRegisters.h
A src/vendorcode/amd/pi/00670F00_CZ/Proc/CPU/Table.h
A src/vendorcode/amd/pi/00670F00_CZ/Proc/CPU/cpuFamilyTranslation.h
A src/vendorcode/amd/pi/00670F00_CZ/Proc/CPU/cpuRegisters.h
A src/vendorcode/amd/pi/00670F00_CZ/Proc/CPU/cpuServices.h
A src/vendorcode/amd/pi/00670F00_CZ/Proc/CPU/heapManager.h
A src/vendorcode/amd/pi/00670F00_CZ/Proc/Common/AmdFch.h
A src/vendorcode/amd/pi/00670F00_CZ/Proc/Fch/Common/FchCommonCfg.h
A src/vendorcode/amd/pi/00670F00_CZ/Proc/Fch/Fch.h
A src/vendorcode/amd/pi/00670F00_CZ/Proc/Fch/FchPlatform.h
A src/vendorcode/amd/pi/00670F00_CZ/agesa_headers.h
A src/vendorcode/amd/pi/00670F00_CZ/binaryPI/AGESA.c
A src/vendorcode/amd/pi/00670F00_CZ/binaryPI/OptionsIds.h
A src/vendorcode/amd/pi/00670F00_CZ/binaryPI/gcccar.inc
A src/vendorcode/amd/pi/00670F00_CZ/check_for_wrapper.h
A src/vendorcode/amd/pi/00670F00_CZ/gcc-intrin.h
M src/vendorcode/amd/pi/Kconfig
24 files changed, 15,360 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/73/31373/1
--
To view, visit https://review.coreboot.org/c/coreboot/+/31373
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I01b4cdef01ba185fd0d96e6674f8b1c56307d1f2
Gerrit-Change-Number: 31373
Gerrit-PatchSet: 1
Gerrit-Owner: Richard Spiegel <richard.spiegel(a)silverbackltd.com>
Gerrit-MessageType: newchange
Hello Iru Cai,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/coreboot/+/30912
to review the following change.
Change subject: autoport: Generate a libgfxinit template
......................................................................
autoport: Generate a libgfxinit template
Change-Id: I213628e525cc11c502de7d538bd60f49f3a930b9
Signed-off-by: Iru Cai <mytbk920423(a)gmail.com>
---
M util/autoport/main.go
1 file changed, 42 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/12/30912/1
diff --git a/util/autoport/main.go b/util/autoport/main.go
index 05a829b..c1a7907 100644
--- a/util/autoport/main.go
+++ b/util/autoport/main.go
@@ -748,6 +748,10 @@
ScanRoot(ctx)
+ KconfigBool["MAINBOARD_HAS_LIBGFXINIT"] = true
+ KconfigComment["MAINBOARD_HAS_LIBGFXINIT"] = "FIXME: check this"
+ AddRAMStageFile("gma-mainboard.ads", "CONFIG_MAINBOARD_USE_LIBGFXINIT")
+
if len(ROMStageFiles) > 0 || len(RAMStageFiles) > 0 || len(SMMFiles) > 0 {
mf := Create(ctx, "Makefile.inc")
defer mf.Close()
@@ -882,4 +886,42 @@
}
`)
+ gma := Create(ctx, "gma-mainboard.ads")
+ defer gma.Close()
+
+ gma.WriteString(`--
+-- This file is part of the coreboot project.
+--
+-- This program is free software; you can redistribute it and/or modify
+-- it under the terms of the GNU General Public License as published by
+-- the Free Software Foundation; either version 2 of the License, or
+-- (at your option) any later version.
+--
+-- This program is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+-- GNU General Public License for more details.
+--
+
+with HW.GFX.GMA;
+with HW.GFX.GMA.Display_Probing;
+
+use HW.GFX.GMA;
+use HW.GFX.GMA.Display_Probing;
+
+private package GMA.Mainboard is
+
+ ports : constant Port_List :=
+ (DP1,
+ DP2,
+ DP3,
+ HDMI1,
+ HDMI2,
+ HDMI3,
+ Analog,
+ Internal,
+ others => Disabled);
+
+end GMA.Mainboard;
+`)
}
--
To view, visit https://review.coreboot.org/c/coreboot/+/30912
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I213628e525cc11c502de7d538bd60f49f3a930b9
Gerrit-Change-Number: 30912
Gerrit-PatchSet: 1
Gerrit-Owner: Iru Cai (vimacs) <mytbk920423(a)gmail.com>
Gerrit-Reviewer: Iru Cai <mytbk920423(a)gmail.com>
Gerrit-MessageType: newchange
Kacper Słomiński has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/30980
Change subject: mainboard/Kconfig: add option for a 6144 KB(6 MB) ROM size
......................................................................
mainboard/Kconfig: add option for a 6144 KB(6 MB) ROM size
Signed-off-by: Kacper Słomiński <kacper.slominski72(a)gmail.com>
Change-Id: I7a1949c3512528b6b73955d907efc21728eed739
---
M src/mainboard/Kconfig
1 file changed, 10 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/80/30980/1
diff --git a/src/mainboard/Kconfig b/src/mainboard/Kconfig
index 363df55..c88d317 100644
--- a/src/mainboard/Kconfig
+++ b/src/mainboard/Kconfig
@@ -24,6 +24,8 @@
bool
config BOARD_ROMSIZE_KB_4096
bool
+config BOARD_ROMSIZE_KB_6144
+ bool
config BOARD_ROMSIZE_KB_8192
bool
config BOARD_ROMSIZE_KB_10240
@@ -47,6 +49,7 @@
default COREBOOT_ROMSIZE_KB_1024 if BOARD_ROMSIZE_KB_1024
default COREBOOT_ROMSIZE_KB_2048 if BOARD_ROMSIZE_KB_2048
default COREBOOT_ROMSIZE_KB_4096 if BOARD_ROMSIZE_KB_4096
+ default COREBOOT_ROMSIZE_KB_6144 if BOARD_ROMSIZE_KB_6144
default COREBOOT_ROMSIZE_KB_8192 if BOARD_ROMSIZE_KB_8192
default COREBOOT_ROMSIZE_KB_10240 if BOARD_ROMSIZE_KB_10240
default COREBOOT_ROMSIZE_KB_12288 if BOARD_ROMSIZE_KB_12288
@@ -94,6 +97,11 @@
help
Choose this option if you have a 4096 KB (4 MB) ROM chip.
+config COREBOOT_ROMSIZE_KB_6144
+ bool "6144 KB (6 MB)"
+ help
+ Choose this option if you have a 6144 KB (6 MB) ROM chip.
+
config COREBOOT_ROMSIZE_KB_8192
bool "8192 KB (8 MB)"
help
@@ -136,6 +144,7 @@
default 1024 if COREBOOT_ROMSIZE_KB_1024
default 2048 if COREBOOT_ROMSIZE_KB_2048
default 4096 if COREBOOT_ROMSIZE_KB_4096
+ default 6144 if COREBOOT_ROMSIZE_KB_6144
default 8192 if COREBOOT_ROMSIZE_KB_8192
default 10240 if COREBOOT_ROMSIZE_KB_10240
default 12288 if COREBOOT_ROMSIZE_KB_12288
@@ -153,6 +162,7 @@
default 0x100000 if COREBOOT_ROMSIZE_KB_1024
default 0x200000 if COREBOOT_ROMSIZE_KB_2048
default 0x400000 if COREBOOT_ROMSIZE_KB_4096
+ default 0x600000 if COREBOOT_ROMSIZE_KB_6144
default 0x800000 if COREBOOT_ROMSIZE_KB_8192
default 0xa00000 if COREBOOT_ROMSIZE_KB_10240
default 0xc00000 if COREBOOT_ROMSIZE_KB_12288
--
To view, visit https://review.coreboot.org/c/coreboot/+/30980
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I7a1949c3512528b6b73955d907efc21728eed739
Gerrit-Change-Number: 30980
Gerrit-PatchSet: 1
Gerrit-Owner: Kacper Słomiński <kacper.slominski72(a)gmail.com>
Gerrit-MessageType: newchange