Attention is currently required from: Zhuohao Lee.
Hello build bot (Jenkins), Furquan Shaikh, Tim Wawrzynczak, EricR Lai,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/56308
to look at the new patch set (#2).
Change subject: mb/google/brya: add BASEBOARD_DIR to support different baseboard
......................................................................
mb/google/brya: add BASEBOARD_DIR to support different baseboard
In order to support different baseboard configuration, we
add the BASEBOARD_DIR to switch the directory. The expected
structure looks like:
mb
..|_ google
.........|_ brya
.............. |_ variants
.....................|_ baseboard
..............................|_ brya
....................................|_ gpio.c
....................................|_ memory.c
....................................|_ devicetree
..............................|_ brask
....................................|_ gpio.c
....................................|_ memory.c
....................................|_ devicetree
......................|_ brya_variant1
......................|_ brya_variant2
......................|_ ...
......................|_ brask_variant1
......................|_ brask_variant2
......................|_ ...
...............|_ <all mb common code>
BUG=b:191472401
BRANCH=None
TEST=build pass
Change-Id: Ic99e42dbbd27fa3e1f6cb3a1b5daee1c8c7b1083
Signed-off-by: Zhuohao Lee <zhuohao(a)chromium.org>
---
M src/mainboard/google/brya/Kconfig
M src/mainboard/google/brya/Makefile.inc
R src/mainboard/google/brya/variants/baseboard/brya/Makefile.inc
R src/mainboard/google/brya/variants/baseboard/brya/devicetree.cb
R src/mainboard/google/brya/variants/baseboard/brya/gpio.c
R src/mainboard/google/brya/variants/baseboard/brya/include/baseboard/ec.h
R src/mainboard/google/brya/variants/baseboard/brya/include/baseboard/gpio.h
R src/mainboard/google/brya/variants/baseboard/brya/include/baseboard/variants.h
R src/mainboard/google/brya/variants/baseboard/brya/memory.c
9 files changed, 9 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/08/56308/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/56308
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ic99e42dbbd27fa3e1f6cb3a1b5daee1c8c7b1083
Gerrit-Change-Number: 56308
Gerrit-PatchSet: 2
Gerrit-Owner: Zhuohao Lee <zhuohao(a)chromium.org>
Gerrit-Reviewer: EricR Lai <ericr_lai(a)compal.corp-partner.google.com>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Zhuohao Lee <zhuohao(a)google.com>
Gerrit-Attention: Zhuohao Lee <zhuohao(a)google.com>
Gerrit-Attention: Zhuohao Lee <zhuohao(a)chromium.org>
Gerrit-MessageType: newpatchset
Attention is currently required from: Julius Werner, Bob Moragues.
Hello build bot (Jenkins), Julius Werner, Bob Moragues,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/56384
to look at the new patch set (#3).
Change subject: mb/google/trogdor: Add new variant Womdingler
......................................................................
mb/google/trogdor: Add new variant Womdingler
New boards introduced to trogdor family.
BUG=b:193870279
BRANCH=none
TEST=make
Change-Id: If3d9662e8725e30e1308d77b05545efbee29f846
Signed-off-by: Zanxi Chen <chenzanxi(a)huaqin.corp-partner.google.com>
---
M Documentation/security/vboot/list_vboot.md
M src/mainboard/google/trogdor/Kconfig
M src/mainboard/google/trogdor/Kconfig.name
3 files changed, 6 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/84/56384/3
--
To view, visit https://review.coreboot.org/c/coreboot/+/56384
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: If3d9662e8725e30e1308d77b05545efbee29f846
Gerrit-Change-Number: 56384
Gerrit-PatchSet: 3
Gerrit-Owner: zanxi chen <chenzanxi(a)huaqin.corp-partner.google.com>
Gerrit-Reviewer: Bob Moragues <moragues(a)chromium.org>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Tao Xia <xiatao5(a)huaqin.corp-partner.google.com>
Gerrit-CC: Weimin Wu <wuweimin(a)huaqin.corp-partner.google.com>
Gerrit-CC: Xuxin Xiong <xuxinxiong(a)huaqin.corp-partner.google.com>
Gerrit-Attention: Julius Werner <jwerner(a)chromium.org>
Gerrit-Attention: Bob Moragues <moragues(a)chromium.org>
Gerrit-MessageType: newpatchset
Attention is currently required from: Deomid "rojer" Ryabkov.
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/56386
to look at the new patch set (#3).
Change subject: Add console deinit API, use in SMM handler
......................................................................
Add console deinit API, use in SMM handler
When CONFIG_DEBUG_SMI is enabled SMM handler performs console
hardware initialization that may interfere with OS.
SMM handler should return shared hardware to the state it was at the
time of the SMI call.
Specifically, this has been observed with SMM handler output going to UART:
uart8250_init disables interrupts because it uses polling but the Linux kernel uses interrupts.
As a result, SMI call leaves interrupts disabled and causes OS console I/O issues.
For 8250, we save all the registers we touch in init and restore them in deinit.
Other deinit functions are provided as stubs only but should probably be
looked into as well.
Change-Id: Ia5e51f385f83cb998c244ca1d1ffc10339d3a714
---
M src/console/console.c
M src/console/init.c
M src/cpu/x86/smm/smm_module_handler.c
M src/drivers/uart/pl011.c
M src/drivers/uart/sifive.c
M src/drivers/uart/uart8250io.c
M src/drivers/uart/uart8250mem.c
M src/include/console/cbmem_console.h
M src/include/console/console.h
M src/include/console/flash.h
M src/include/console/ne2k.h
M src/include/console/qemu_debugcon.h
M src/include/console/spi.h
M src/include/console/spkmodem.h
M src/include/console/streams.h
M src/include/console/system76_ec.h
M src/include/console/uart.h
M src/include/console/usb.h
18 files changed, 122 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/86/56386/3
--
To view, visit https://review.coreboot.org/c/coreboot/+/56386
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ia5e51f385f83cb998c244ca1d1ffc10339d3a714
Gerrit-Change-Number: 56386
Gerrit-PatchSet: 3
Gerrit-Owner: Deomid "rojer" Ryabkov <rojer9(a)fb.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Deomid "rojer" Ryabkov <rojer9(a)fb.com>
Gerrit-MessageType: newpatchset
Deomid "rojer" Ryabkov has uploaded a new patch set (#2). ( https://review.coreboot.org/c/coreboot/+/56386 )
Change subject: Add console deinit API, use in SMM handler
......................................................................
Add console deinit API, use in SMM handler
When CONFIG_DEBUG_SMI is enabled SMM handler performs console
hardware initialization that may interfere with OS.
SMM handler should return shared hardware to the state it was at the
time of the SMI call.
Specifically, this has been observed with SMM handler output going to UART:
uart8250_init disables interrupts because it uses polling but the Linux kernel uses interrupts.
As a result, SMI call leaves interrupts disabled and causes OS console I/O issues.
For 8250, we save all the registers we touch in init and restore them in deinit.
Other deinit functions are provided as stubs only but should probably be
lokked into as well.
Change-Id: Ia5e51f385f83cb998c244ca1d1ffc10339d3a714
---
M src/console/console.c
M src/console/init.c
M src/cpu/x86/smm/smm_module_handler.c
M src/drivers/uart/pl011.c
M src/drivers/uart/sifive.c
M src/drivers/uart/uart8250io.c
M src/drivers/uart/uart8250mem.c
M src/include/console/cbmem_console.h
M src/include/console/console.h
M src/include/console/flash.h
M src/include/console/ne2k.h
M src/include/console/qemu_debugcon.h
M src/include/console/spi.h
M src/include/console/spkmodem.h
M src/include/console/streams.h
M src/include/console/system76_ec.h
M src/include/console/uart.h
M src/include/console/usb.h
18 files changed, 122 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/86/56386/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/56386
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ia5e51f385f83cb998c244ca1d1ffc10339d3a714
Gerrit-Change-Number: 56386
Gerrit-PatchSet: 2
Gerrit-Owner: Deomid "rojer" Ryabkov <rojer9(a)fb.com>
Gerrit-MessageType: newpatchset
Attention is currently required from: Tim Wawrzynczak.
Kevin Chang has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/56385 )
Change subject: mb/google/brya: Create taeko variant
......................................................................
Set Ready For Review
--
To view, visit https://review.coreboot.org/c/coreboot/+/56385
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: If738849bc3103c52a4c4d8a8aaef3f90a62ad5c1
Gerrit-Change-Number: 56385
Gerrit-PatchSet: 1
Gerrit-Owner: Kevin Chang <kevin.chang(a)lcfc.corp-partner.google.com>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Attention: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Comment-Date: Fri, 16 Jul 2021 11:57:15 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Kevin Chang has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/56385 )
Change subject: mb/google/brya: Create taeko variant
......................................................................
mb/google/brya: Create taeko variant
Create the taeko variant of the brya0 reference board by copying
the template files to a new directory named for the variant.
(Auto-Generated by create_coreboot_variant.sh version 4.5.0).
BUG=b:193685558
BRANCH=None
TEST=util/abuild/abuild -p none -t google/brya -x -a
make sure the build includes GOOGLE_TAEKO
Signed-off-by: Kevin Chang <kevin.chang(a)lcfc.corp-partner.google.com>
Change-Id: If738849bc3103c52a4c4d8a8aaef3f90a62ad5c1
---
M src/mainboard/google/brya/Kconfig
M src/mainboard/google/brya/Kconfig.name
A src/mainboard/google/brya/variants/taeko/include/variant/ec.h
A src/mainboard/google/brya/variants/taeko/include/variant/gpio.h
A src/mainboard/google/brya/variants/taeko/memory/Makefile.inc
A src/mainboard/google/brya/variants/taeko/memory/dram_id.generated.txt
A src/mainboard/google/brya/variants/taeko/memory/mem_parts_used.txt
A src/mainboard/google/brya/variants/taeko/overridetree.cb
8 files changed, 45 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/85/56385/1
diff --git a/src/mainboard/google/brya/Kconfig b/src/mainboard/google/brya/Kconfig
index 58635e9..49a8870 100644
--- a/src/mainboard/google/brya/Kconfig
+++ b/src/mainboard/google/brya/Kconfig
@@ -79,6 +79,7 @@
default "Gimble" if BOARD_GOOGLE_GIMBLE
default "Redrix" if BOARD_GOOGLE_REDRIX
default "Kano" if BOARD_GOOGLE_KANO
+ default "Taeko" if BOARD_GOOGLE_TAEKO
config VARIANT_DIR
string
@@ -87,6 +88,7 @@
default "gimble" if BOARD_GOOGLE_GIMBLE
default "redrix" if BOARD_GOOGLE_REDRIX
default "kano" if BOARD_GOOGLE_KANO
+ default "taeko" if BOARD_GOOGLE_TAEKO
config DIMM_SPD_SIZE
int
diff --git a/src/mainboard/google/brya/Kconfig.name b/src/mainboard/google/brya/Kconfig.name
index 4d1748e..b3b8032 100644
--- a/src/mainboard/google/brya/Kconfig.name
+++ b/src/mainboard/google/brya/Kconfig.name
@@ -28,3 +28,7 @@
config BOARD_GOOGLE_KANO
bool "-> Kano"
select BOARD_GOOGLE_BASEBOARD_BRYA
+
+config BOARD_GOOGLE_TAEKO
+ bool "-> Taeko"
+ select BOARD_GOOGLE_BASEBOARD_BRYA
diff --git a/src/mainboard/google/brya/variants/taeko/include/variant/ec.h b/src/mainboard/google/brya/variants/taeko/include/variant/ec.h
new file mode 100644
index 0000000..7a2a6ff
--- /dev/null
+++ b/src/mainboard/google/brya/variants/taeko/include/variant/ec.h
@@ -0,0 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+#ifndef __VARIANT_EC_H__
+#define __VARIANT_EC_H__
+
+#include <baseboard/ec.h>
+
+#endif
diff --git a/src/mainboard/google/brya/variants/taeko/include/variant/gpio.h b/src/mainboard/google/brya/variants/taeko/include/variant/gpio.h
new file mode 100644
index 0000000..c4fe342
--- /dev/null
+++ b/src/mainboard/google/brya/variants/taeko/include/variant/gpio.h
@@ -0,0 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+#ifndef VARIANT_GPIO_H
+#define VARIANT_GPIO_H
+
+#include <baseboard/gpio.h>
+
+#endif
diff --git a/src/mainboard/google/brya/variants/taeko/memory/Makefile.inc b/src/mainboard/google/brya/variants/taeko/memory/Makefile.inc
new file mode 100644
index 0000000..b0ca222
--- /dev/null
+++ b/src/mainboard/google/brya/variants/taeko/memory/Makefile.inc
@@ -0,0 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-or-later
+## This is an auto-generated file. Do not edit!!
+## Add memory parts in mem_parts_used.txt and run spd_tools to regenerate.
+
+SPD_SOURCES = placeholder.spd.hex
diff --git a/src/mainboard/google/brya/variants/taeko/memory/dram_id.generated.txt b/src/mainboard/google/brya/variants/taeko/memory/dram_id.generated.txt
new file mode 100644
index 0000000..fa24790
--- /dev/null
+++ b/src/mainboard/google/brya/variants/taeko/memory/dram_id.generated.txt
@@ -0,0 +1 @@
+DRAM Part Name ID to assign
diff --git a/src/mainboard/google/brya/variants/taeko/memory/mem_parts_used.txt b/src/mainboard/google/brya/variants/taeko/memory/mem_parts_used.txt
new file mode 100644
index 0000000..9cff262
--- /dev/null
+++ b/src/mainboard/google/brya/variants/taeko/memory/mem_parts_used.txt
@@ -0,0 +1,11 @@
+# This is a CSV file containing a list of memory parts used by this variant.
+# One part per line with an optional fixed ID in column 2.
+# Only include a fixed ID if it is required for legacy reasons!
+# Generated IDs are dependent on the order of parts in this file,
+# so new parts must always be added at the end of the file!
+#
+# Generate an updated Makefile.inc and dram_id.generated.txt by running the
+# gen_part_id tool from util/spd_tools/lp4x.
+# See util/spd_tools/lp4x/README.md for more details and instructions.
+
+# Part Name
diff --git a/src/mainboard/google/brya/variants/taeko/overridetree.cb b/src/mainboard/google/brya/variants/taeko/overridetree.cb
new file mode 100644
index 0000000..4f2c04a
--- /dev/null
+++ b/src/mainboard/google/brya/variants/taeko/overridetree.cb
@@ -0,0 +1,6 @@
+chip soc/intel/alderlake
+
+ device domain 0 on
+ end
+
+end
--
To view, visit https://review.coreboot.org/c/coreboot/+/56385
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: If738849bc3103c52a4c4d8a8aaef3f90a62ad5c1
Gerrit-Change-Number: 56385
Gerrit-PatchSet: 1
Gerrit-Owner: Kevin Chang <kevin.chang(a)lcfc.corp-partner.google.com>
Gerrit-MessageType: newchange
Attention is currently required from: zanxi chen.
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/56384
to look at the new patch set (#2).
Change subject: mb/google/trogdor: Add new variant Womdingler
......................................................................
mb/google/trogdor: Add new variant Womdingler
New boards introduced to trogdor family.
BUG=b:193870279
BRANCH=none
TEST=make
Change-Id: If3d9662e8725e30e1308d77b05545efbee29f846
Signed-off-by: Zanxi Chen <chenzanxi(a)huaqin.corp-partner.google.com>
---
M Documentation/security/vboot/list_vboot.md
M src/mainboard/google/trogdor/Kconfig
M src/mainboard/google/trogdor/Kconfig.name
3 files changed, 6 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/84/56384/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/56384
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: If3d9662e8725e30e1308d77b05545efbee29f846
Gerrit-Change-Number: 56384
Gerrit-PatchSet: 2
Gerrit-Owner: zanxi chen <chenzanxi(a)huaqin.corp-partner.google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: zanxi chen <chenzanxi(a)huaqin.corp-partner.google.com>
Gerrit-MessageType: newpatchset