Michał Żygowski has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/21190 )
Change subject: binaryPI: Remove ACPI for IMC we don't run
......................................................................
Patch Set 6: Code-Review+1
--
To view, visit https://review.coreboot.org/c/coreboot/+/21190
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I6a58ab53d4a800d4c0c2026e50826122ece2c59f
Gerrit-Change-Number: 21190
Gerrit-PatchSet: 6
Gerrit-Owner: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Reviewer: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Reviewer: Marshall Dawson <marshalldawson3rd(a)gmail.com>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Michał Żygowski <michal.zygowski(a)3mdeb.com>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Piotr Król <piotr.krol(a)3mdeb.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Sun, 13 Jan 2019 13:59:03 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Kyösti Mälkki has submitted this change and it was merged. ( https://review.coreboot.org/c/coreboot/+/30558 )
Change subject: console: Add Kconfig debug option DEBUG_CONSOLE_INIT
......................................................................
console: Add Kconfig debug option DEBUG_CONSOLE_INIT
Under normal circumstances no printk() goes through until
console_hw_init() has completed. This is wanted behaviour,
except when you need to debug the setup of one of consoles.
Change-Id: Ifc2bb22bf930009ee229d4461f512ada3018307b
Signed-off-by: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Reviewed-on: https://review.coreboot.org/c/30558
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
Reviewed-by: Nico Huber <nico.h(a)gmx.de>
---
M src/Kconfig
M src/console/init.c
2 files changed, 15 insertions(+), 0 deletions(-)
Approvals:
build bot (Jenkins): Verified
Nico Huber: Looks good to me, approved
diff --git a/src/Kconfig b/src/Kconfig
index 87b088f..cba48af 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -782,6 +782,18 @@
If unsure, say N.
+config DEBUG_CONSOLE_INIT
+ bool "Debug console initialisation code"
+ default n
+ help
+ With this option printk()'s are attempted before console hardware
+ initialisation has been completed. Your mileage may vary.
+
+ Typically you will need to modify source in console_hw_init() such
+ that a working console appears before the one you want to debug.
+
+ If unsure, say N.
+
# Only visible if debug level is DEBUG (7) or SPEW (8) as it does additional
# printk(BIOS_DEBUG, ...) calls.
config REALMODE_DEBUG
diff --git a/src/console/init.c b/src/console/init.c
index f35dd51..0bafdbe 100644
--- a/src/console/init.c
+++ b/src/console/init.c
@@ -72,6 +72,9 @@
{
init_log_level();
+ if (IS_ENABLED(CONFIG_DEBUG_CONSOLE_INIT))
+ car_set_var(console_inited, 1);
+
#if IS_ENABLED(CONFIG_EARLY_PCI_BRIDGE)
if (!ENV_SMM && !ENV_RAMSTAGE)
pci_early_bridge_init();
--
To view, visit https://review.coreboot.org/c/coreboot/+/30558
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ifc2bb22bf930009ee229d4461f512ada3018307b
Gerrit-Change-Number: 30558
Gerrit-PatchSet: 6
Gerrit-Owner: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: merged
Patrick Georgi has submitted this change and it was merged. ( https://review.coreboot.org/c/coreboot/+/30859 )
Change subject: mb/google/kukui: add flapjack on top of kukui
......................................................................
mb/google/kukui: add flapjack on top of kukui
Add placeholder for future flapjack additions/modifications.
BUG=None
BRANCH=kukui
TEST=build with kukui/flapjack configurations
Signed-off-by: YH Lin <yueherngl(a)google.com>
Change-Id: Ib9cd39e284f19b9179da73ed9f2b13d97442960e
Reviewed-on: https://review.coreboot.org/c/30859
Reviewed-by: Julius Werner <jwerner(a)chromium.org>
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
---
M src/mainboard/google/kukui/Kconfig
M src/mainboard/google/kukui/Kconfig.name
2 files changed, 30 insertions(+), 3 deletions(-)
Approvals:
build bot (Jenkins): Verified
Julius Werner: Looks good to me, approved
diff --git a/src/mainboard/google/kukui/Kconfig b/src/mainboard/google/kukui/Kconfig
index d8ad84b..7635e5f 100644
--- a/src/mainboard/google/kukui/Kconfig
+++ b/src/mainboard/google/kukui/Kconfig
@@ -1,4 +1,23 @@
-if BOARD_GOOGLE_KUKUI
+##
+## This file is part of the coreboot project.
+##
+## Copyright 2019 Google Inc.
+##
+## 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_KUKUI_COMMON
+ def_bool n
+
+if BOARD_GOOGLE_KUKUI_COMMON
config VBOOT
select EC_GOOGLE_CHROMEEC_SWITCHES
@@ -25,7 +44,8 @@
config MAINBOARD_PART_NUMBER
string
- default "Kukui"
+ default "Kukui" if BOARD_GOOGLE_KUKUI
+ default "Flapjack" if BOARD_GOOGLE_FLAPJACK
config DRIVER_TPM_SPI_BUS
hex
diff --git a/src/mainboard/google/kukui/Kconfig.name b/src/mainboard/google/kukui/Kconfig.name
index ce3ac9e..6c84e26 100644
--- a/src/mainboard/google/kukui/Kconfig.name
+++ b/src/mainboard/google/kukui/Kconfig.name
@@ -1,2 +1,9 @@
+comment "Kukui"
+
config BOARD_GOOGLE_KUKUI
- bool "Kukui"
+ bool "-> Kukui"
+ select BOARD_GOOGLE_KUKUI_COMMON
+
+config BOARD_GOOGLE_FLAPJACK
+ bool "-> Flapjack"
+ select BOARD_GOOGLE_KUKUI_COMMON
--
To view, visit https://review.coreboot.org/c/coreboot/+/30859
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ib9cd39e284f19b9179da73ed9f2b13d97442960e
Gerrit-Change-Number: 30859
Gerrit-PatchSet: 2
Gerrit-Owner: YH Lin <yueherngl(a)google.com>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Nick Sanders <nsanders(a)chromium.org>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: YH Lin <yueherngl(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: merged