Aamir Bohra has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/44000 )
Change subject: soc/intel/jasperlake: Add new IGD Device ID
......................................................................
Patch Set 2: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/44000
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Iab3ba286f36afbf9533ac3cc62891fa390ca2441
Gerrit-Change-Number: 44000
Gerrit-PatchSet: 2
Gerrit-Owner: Krishna P Bhat D <krishna.p.bhat.d(a)intel.com>
Gerrit-Reviewer: Aamir Bohra <aamir.bohra(a)intel.com>
Gerrit-Reviewer: Maulik V Vaghela <maulik.v.vaghela(a)intel.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Varshit B Pandya <varshit.b.pandya(a)intel.com>
Gerrit-Comment-Date: Thu, 13 Aug 2020 13:35:44 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/44404 )
Change subject: xeon_sp/cpx: Enable ACPI P-state support
......................................................................
Patch Set 4: Code-Review+1
(1 comment)
https://review.coreboot.org/c/coreboot/+/44404/4//COMMIT_MSG
Commit Message:
https://review.coreboot.org/c/coreboot/+/44404/4//COMMIT_MSG@9
PS4, Line 9: Implement ACPI P-state support to enable driver acpi_cpufreq
: This patch leverages code from the Skylake project
Missing period at the end of these two sentences
--
To view, visit https://review.coreboot.org/c/coreboot/+/44404
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I3bf3ad7f82fbf196a2134a8138b10176fc8be2cc
Gerrit-Change-Number: 44404
Gerrit-PatchSet: 4
Gerrit-Owner: Jingle Hsu <jingle_hsu(a)wiwynn.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Johnny Lin <Johnny_Lin(a)wiwynn.com>
Gerrit-Reviewer: Jonathan Zhang <jonzhang(a)fb.com>
Gerrit-Reviewer: Morgan Jang <Morgan_Jang(a)wiwynn.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Comment-Date: Thu, 13 Aug 2020 11:40:25 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
CK HU has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/43963 )
Change subject: mb/google/asurada: Add a stub implementation of Asurada mainboard
......................................................................
mb/google/asurada: Add a stub implementation of Asurada mainboard
Signed-off-by: CK Hu <ck.hu(a)mediatek.com>
Change-Id: Ic7c8bc8a4bba40d1b511823e09945be52198b247
---
A src/mainboard/google/asurada/Kconfig
A src/mainboard/google/asurada/Kconfig.name
A src/mainboard/google/asurada/Makefile.inc
A src/mainboard/google/asurada/bootblock.c
A src/mainboard/google/asurada/chromeos.c
A src/mainboard/google/asurada/chromeos.fmd
A src/mainboard/google/asurada/devicetree.cb
A src/mainboard/google/asurada/mainboard.c
A src/mainboard/google/asurada/memlayout.ld
A src/mainboard/google/asurada/reset.c
10 files changed, 199 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/63/43963/1
diff --git a/src/mainboard/google/asurada/Kconfig b/src/mainboard/google/asurada/Kconfig
new file mode 100644
index 0000000..aeb13b0
--- /dev/null
+++ b/src/mainboard/google/asurada/Kconfig
@@ -0,0 +1,64 @@
+##
+## 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; version 2 of the License.
+##
+## 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.
+##
+
+# Umbrella option to be selected by variant boards.
+config BOARD_GOOGLE_ASURADA_COMMON
+ def_bool n
+
+if BOARD_GOOGLE_ASURADA_COMMON
+
+config VBOOT
+ select EC_GOOGLE_CHROMEEC_SWITCHES
+ select VBOOT_VBNV_FLASH
+
+config BOARD_SPECIFIC_OPTIONS
+ def_bool y
+ select BOOTBLOCK_CONSOLE
+ select SOC_MEDIATEK_MT8192
+ select BOARD_ROMSIZE_KB_8192
+ select MAINBOARD_HAS_CHROMEOS
+ select CHROMEOS_USE_EC_WATCHDOG_FLAG if CHROMEOS
+ select COMMON_CBFS_SPI_WRAPPER
+ select SPI_FLASH
+ select SPI_FLASH_INCLUDE_ALL_DRIVERS
+ select EC_GOOGLE_CHROMEEC
+ select EC_GOOGLE_CHROMEEC_BOARDID
+ select EC_GOOGLE_CHROMEEC_SPI
+ select MAINBOARD_HAS_SPI_TPM_CR50 if VBOOT
+ select MAINBOARD_HAS_TPM2 if VBOOT
+ select MAINBOARD_HAS_NATIVE_VGA_INIT
+ select MAINBOARD_FORCE_NATIVE_VGA_INIT
+ select HAVE_LINEAR_FRAMEBUFFER
+
+config MAINBOARD_DIR
+ string
+ default "google/asurada"
+
+config MAINBOARD_PART_NUMBER
+ string
+ default "Asurada" if BOARD_GOOGLE_ASURADA
+
+config DRIVER_TPM_SPI_BUS
+ hex
+ default 0x0
+
+config BOOT_DEVICE_SPI_FLASH_BUS
+ int
+ default 1
+
+config EC_GOOGLE_CHROMEEC_SPI_BUS
+ hex
+ default 0x2
+
+endif
diff --git a/src/mainboard/google/asurada/Kconfig.name b/src/mainboard/google/asurada/Kconfig.name
new file mode 100644
index 0000000..df3dc24
--- /dev/null
+++ b/src/mainboard/google/asurada/Kconfig.name
@@ -0,0 +1,5 @@
+comment "Asurada"
+
+config BOARD_GOOGLE_ASURADA
+ bool "-> Asurada"
+ select BOARD_GOOGLE_ASURADA_COMMON
diff --git a/src/mainboard/google/asurada/Makefile.inc b/src/mainboard/google/asurada/Makefile.inc
new file mode 100644
index 0000000..80b7c0b
--- /dev/null
+++ b/src/mainboard/google/asurada/Makefile.inc
@@ -0,0 +1,12 @@
+bootblock-y += memlayout.ld
+bootblock-y += bootblock.c
+
+verstage-y += memlayout.ld
+verstage-y += reset.c
+
+romstage-y += memlayout.ld
+
+ramstage-y += memlayout.ld
+ramstage-y += chromeos.c
+ramstage-y += mainboard.c
+ramstage-y += reset.c
diff --git a/src/mainboard/google/asurada/bootblock.c b/src/mainboard/google/asurada/bootblock.c
new file mode 100644
index 0000000..5dcae8c
--- /dev/null
+++ b/src/mainboard/google/asurada/bootblock.c
@@ -0,0 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#include <bootblock_common.h>
+
+void bootblock_mainboard_init(void)
+{
+}
diff --git a/src/mainboard/google/asurada/chromeos.c b/src/mainboard/google/asurada/chromeos.c
new file mode 100644
index 0000000..8f9fa53
--- /dev/null
+++ b/src/mainboard/google/asurada/chromeos.c
@@ -0,0 +1,20 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#include <bootmode.h>
+#include <boot/coreboot_tables.h>
+#include <gpio.h>
+#include <security/tpm/tis.h>
+
+void fill_lb_gpios(struct lb_gpios *gpios)
+{
+}
+
+int get_write_protect_state(void)
+{
+ return 0;
+}
+
+int tis_plat_irq_status(void)
+{
+ return 0;
+}
diff --git a/src/mainboard/google/asurada/chromeos.fmd b/src/mainboard/google/asurada/chromeos.fmd
new file mode 100644
index 0000000..2635854
--- /dev/null
+++ b/src/mainboard/google/asurada/chromeos.fmd
@@ -0,0 +1,45 @@
+# Firmware Layout Description for Chrome OS.
+#
+# The size and address of every section must be aligned to at least 4K, except:
+# RO_FRID, RW_FWID*, GBB, or any unused / padding / CBFS type sections.
+#
+# 'FMAP' may be found by binary search so its starting address should be better
+# aligned to larger values.
+#
+# For sections to be preserved on update, add (PRESERVE) to individual sections
+# instead of a group section; otherwise the preserved data may be wrong if you
+# resize or reorder sections inside a group.
+
+FLASH@0x0 8M {
+ WP_RO@0x0 4M {
+ RO_SECTION {
+ BOOTBLOCK 128K
+ FMAP 4K
+ COREBOOT(CBFS)
+ GBB 0x2f00
+ RO_FRID 0x100
+ }
+ RO_VPD(PRESERVE) 32K # At least 16K.
+ }
+ RW_SECTION_A 1500K {
+ VBLOCK_A 8K
+ FW_MAIN_A(CBFS)
+ RW_FWID_A 0x100
+ }
+ RW_MISC 36K {
+ RW_VPD(PRESERVE) 16K # At least 8K.
+ RW_NVRAM(PRESERVE) 8K
+ RW_DDR_TRAINING(PRESERVE) 8K
+ RW_ELOG(PRESERVE) 4K # ELOG driver hard-coded size in 4K.
+ }
+ RW_SECTION_B 1500K {
+ VBLOCK_B 8K
+ FW_MAIN_B(CBFS)
+ RW_FWID_B 0x100
+ }
+ RW_SHARED 36K { # Will be force updated on recovery.
+ SHARED_DATA 4K # 4K or less for netboot params.
+ RW_UNUSED
+ }
+ RW_LEGACY(CBFS) 1M # Minimal 1M.
+}
diff --git a/src/mainboard/google/asurada/devicetree.cb b/src/mainboard/google/asurada/devicetree.cb
new file mode 100644
index 0000000..9f682c3
--- /dev/null
+++ b/src/mainboard/google/asurada/devicetree.cb
@@ -0,0 +1,19 @@
+##
+## 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; version 2 of the License.
+##
+## 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.
+##
+
+chip soc/mediatek/mt8192
+ device cpu_cluster 0 on
+ device cpu 0 on end
+ end
+end
diff --git a/src/mainboard/google/asurada/mainboard.c b/src/mainboard/google/asurada/mainboard.c
new file mode 100644
index 0000000..e6040fa
--- /dev/null
+++ b/src/mainboard/google/asurada/mainboard.c
@@ -0,0 +1,17 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#include <device/device.h>
+
+static void mainboard_init(struct device *dev)
+{
+}
+
+static void mainboard_enable(struct device *dev)
+{
+ dev->ops->init = &mainboard_init;
+}
+
+struct chip_operations mainboard_ops = {
+ .name = CONFIG_MAINBOARD_PART_NUMBER,
+ .enable_dev = mainboard_enable,
+};
diff --git a/src/mainboard/google/asurada/memlayout.ld b/src/mainboard/google/asurada/memlayout.ld
new file mode 100644
index 0000000..0f1fcec
--- /dev/null
+++ b/src/mainboard/google/asurada/memlayout.ld
@@ -0,0 +1,3 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#include <soc/memlayout.ld>
diff --git a/src/mainboard/google/asurada/reset.c b/src/mainboard/google/asurada/reset.c
new file mode 100644
index 0000000..3a97ee5
--- /dev/null
+++ b/src/mainboard/google/asurada/reset.c
@@ -0,0 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#include <reset.h>
+
+void do_board_reset(void)
+{
+}
--
To view, visit https://review.coreboot.org/c/coreboot/+/43963
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ic7c8bc8a4bba40d1b511823e09945be52198b247
Gerrit-Change-Number: 43963
Gerrit-PatchSet: 1
Gerrit-Owner: CK HU <ck.hu(a)mediatek.com>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-MessageType: newchange
Caveh Jalali has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/44430 )
Change subject: cse_lite: Move global reset after MRC writeback.
......................................................................
Patch Set 2:
(1 comment)
https://review.coreboot.org/c/coreboot/+/44430/1/src/soc/intel/common/block…
File src/soc/intel/common/block/cse/cse_lite.c:
https://review.coreboot.org/c/coreboot/+/44430/1/src/soc/intel/common/block…
PS1, Line 657: #if CONFIG(SOC_INTEL_TIGERLAKE)
> It would be helpful to have a comment here explaining why this particular phase was chosen for Tiger […]
Done
--
To view, visit https://review.coreboot.org/c/coreboot/+/44430
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ia42d72fdec41f9792ab8f04205b20a55758a4235
Gerrit-Change-Number: 44430
Gerrit-PatchSet: 2
Gerrit-Owner: Caveh Jalali <caveh(a)chromium.org>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Shelley Chen <shchen(a)google.com>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Thu, 13 Aug 2020 08:22:01 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Furquan Shaikh <furquan(a)google.com>
Gerrit-MessageType: comment