Hello Mike Banon,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/coreboot/+/31357
to review the following change.
Change subject: src/mainboard/lenovo/g505s: Disable SeaBIOS options not supported by hardware
......................................................................
src/mainboard/lenovo/g505s: Disable SeaBIOS options not supported by hardware
G505S does not have any SAS or NVMe controllers and could not have a TPM,
so it makes sense to disable the related SeaBIOS options for this laptop.
Signed-off-by: Mike Banon <mikebdp2(a)gmail.com>
Change-Id: I5b2ee6403d7d2298725729d8d833e37627a4f202
---
M src/mainboard/lenovo/g505s/Kconfig
A src/mainboard/lenovo/g505s/config_seabios
2 files changed, 10 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/57/31357/1
diff --git a/src/mainboard/lenovo/g505s/Kconfig b/src/mainboard/lenovo/g505s/Kconfig
index 883ef27..71ab909 100644
--- a/src/mainboard/lenovo/g505s/Kconfig
+++ b/src/mainboard/lenovo/g505s/Kconfig
@@ -55,4 +55,8 @@
string
default "1002,990b"
+config PAYLOAD_CONFIGFILE
+ string
+ default "$(top)/src/mainboard/$(MAINBOARDDIR)/config_seabios" if PAYLOAD_SEABIOS
+
endif # BOARD_LENOVO_G505S
diff --git a/src/mainboard/lenovo/g505s/config_seabios b/src/mainboard/lenovo/g505s/config_seabios
new file mode 100644
index 0000000..8d3957b
--- /dev/null
+++ b/src/mainboard/lenovo/g505s/config_seabios
@@ -0,0 +1,6 @@
+#
+# SeaBIOS custom configuration for Lenovo G505S
+#
+# CONFIG_MEGASAS is not set
+# CONFIG_NVME is not set
+# CONFIG_TCGBIOS is not set
--
To view, visit https://review.coreboot.org/c/coreboot/+/31357
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I5b2ee6403d7d2298725729d8d833e37627a4f202
Gerrit-Change-Number: 31357
Gerrit-PatchSet: 1
Gerrit-Owner: mikeb mikeb <mikebdp2(a)gmail.com>
Gerrit-Reviewer: Mike Banon <mikebdp2(a)gmail.com>
Gerrit-MessageType: newchange
Xiang Wang has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/31477
Change subject: riscv: currently riscv does not support fit payload, remove redundant code
......................................................................
riscv: currently riscv does not support fit payload, remove redundant code
This code is not necessary and will trigger an error when I try to boot linux
with bbl.If you want to add this code, it is recommended to add it with the
support code of the fit payload.
Change-Id: If6929897c7f12d8acb079eeebaef512ae506ca8b
Signed-off-by: Xiang Wang <wxjstz(a)126.com>
---
M src/arch/riscv/boot.c
1 file changed, 1 insertion(+), 8 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/77/31477/1
diff --git a/src/arch/riscv/boot.c b/src/arch/riscv/boot.c
index 29064b1..0c8143f 100644
--- a/src/arch/riscv/boot.c
+++ b/src/arch/riscv/boot.c
@@ -32,14 +32,7 @@
{
void (*doit)(int hart_id, void *fdt);
int hart_id;
- void *fdt = prog_entry_arg(prog);
-
- /*
- * If prog_entry_arg is not set (e.g. by fit_payload), use fdt from HLS
- * instead.
- */
- if (fdt == NULL)
- fdt = HLS()->fdt;
+ void *fdt = HLS()->fdt;
if (ENV_RAMSTAGE && prog_type(prog) == PROG_PAYLOAD) {
run_payload(prog, fdt, RISCV_PAYLOAD_MODE_S);
--
To view, visit https://review.coreboot.org/c/coreboot/+/31477
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: If6929897c7f12d8acb079eeebaef512ae506ca8b
Gerrit-Change-Number: 31477
Gerrit-PatchSet: 1
Gerrit-Owner: Xiang Wang <wxjstz(a)126.com>
Gerrit-MessageType: newchange
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