HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/32128
Change subject: TEST
......................................................................
TEST
Change-Id: Id50a0d3c875c9d71a78b22cba1a0cc9410786c91
Signed-off-by: Elyes HAOUAS <ehaouas(a)noos.fr>
---
M src/mainboard/google/smaug/romstage.c
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/28/32128/1
diff --git a/src/mainboard/google/smaug/romstage.c b/src/mainboard/google/smaug/romstage.c
index fd7c07f..affb04f 100644
--- a/src/mainboard/google/smaug/romstage.c
+++ b/src/mainboard/google/smaug/romstage.c
@@ -13,6 +13,7 @@
* GNU General Public License for more details.
*/
+/* Just for test */
#include <delay.h>
#include <soc/addressmap.h>
#include <device/i2c_simple.h>
--
To view, visit https://review.coreboot.org/c/coreboot/+/32128
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Id50a0d3c875c9d71a78b22cba1a0cc9410786c91
Gerrit-Change-Number: 32128
Gerrit-PatchSet: 1
Gerrit-Owner: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-MessageType: newchange
Balázs Vinarz has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/30988
Change subject: Little bit more helpful, giving back the lines for each file if any
......................................................................
Little bit more helpful, giving back the lines for each file if any
Change-Id: I8ae13f62c6e2cd87278fefab8de5faf0d1bc0a90
---
M util/lint/lint-stable-003-whitespace
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/88/30988/1
diff --git a/util/lint/lint-stable-003-whitespace b/util/lint/lint-stable-003-whitespace
index f9b7891..b2011e7 100755
--- a/util/lint/lint-stable-003-whitespace
+++ b/util/lint/lint-stable-003-whitespace
@@ -20,7 +20,7 @@
# shellcheck disable=SC2086,SC2046
if uname | grep -qi "linux"; then
- grep -l "[[:space:]][[:space:]]*$" \
+ grep -n -H "[[:space:]][[:space:]]*$" \
$(git ls-files $INCLUDELIST | \
grep -Ev "($EXCLUDELIST)" ) | \
sed -e "s,^.*$,File & has lines ending with whitespace.,"
--
To view, visit https://review.coreboot.org/c/coreboot/+/30988
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I8ae13f62c6e2cd87278fefab8de5faf0d1bc0a90
Gerrit-Change-Number: 30988
Gerrit-PatchSet: 1
Gerrit-Owner: Balázs Vinarz <vinibali1(a)gmail.com>
Gerrit-MessageType: newchange
Julius Werner has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/32112
Change subject: bootmode: display_init_required() to check VBOOT and OPROM_MATTERS
......................................................................
bootmode: display_init_required() to check VBOOT and OPROM_MATTERS
Skipping display init on normal-mode boot is a vboot feature, not
specific to Chrome OS. Fix the code in display_init_required() to check
CONFIG_VBOOT rather than CONFIG_CHROMEOS now that the two aren't always
the same anymore.
Also add a check to guarantee at compile time that VBOOT_OPROM_MATTERS
is enabled on all platforms that make a check to this function (when
VBOOT is also enabled). The whole display skipping mechanism is based on
the oprom_needed NVRAM flag, and skipping display init without enabling
the option to tell vboot that it needs to pay attention to that flag
would make the whole thing not work right.
Change-Id: I5d6421509bdcdaa61b78015af3fa6241fe75bb7f
Signed-off-by: Julius Werner <jwerner(a)chromium.org>
---
M src/lib/bootmode.c
1 file changed, 6 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/12/32112/1
diff --git a/src/lib/bootmode.c b/src/lib/bootmode.c
index e402536..b7ab649 100644
--- a/src/lib/bootmode.c
+++ b/src/lib/bootmode.c
@@ -13,6 +13,7 @@
* GNU General Public License for more details.
*/
+#include <assert.h>
#include <bootmode.h>
#include <vendorcode/google/chromeos/chromeos.h>
@@ -35,8 +36,12 @@
int display_init_required(void)
{
/* For Chrome OS always honor vboot_handoff_skip_display_init(). */
- if (CONFIG(CHROMEOS))
+ if (CONFIG(VBOOT)) {
+ if (!CONFIG(VBOOT_OPROM_MATTERS))
+ dead_code("If you call display_init_required() anywhere"
+ ", you need to select VBOOT_OPROM_MATTERS!");
return !vboot_handoff_skip_display_init();
+ }
/* By default always initialize display. */
return 1;
--
To view, visit https://review.coreboot.org/c/coreboot/+/32112
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I5d6421509bdcdaa61b78015af3fa6241fe75bb7f
Gerrit-Change-Number: 32112
Gerrit-PatchSet: 1
Gerrit-Owner: Julius Werner <jwerner(a)chromium.org>
Gerrit-MessageType: newchange