Patrick Georgi (pgeorgi(a)google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/11389
-gerrit
commit f6f92a819f8005d071de97137c9dc9629af62ab5
Author: David Hendricks <dhendrix(a)chromium.org>
Date: Thu Aug 13 15:51:00 2015 -0700
edid: Memset output earlier in decode_edid()
This ensures the output buffer is initialized before exiting
decode_edid() so that if the return value is ignored in higher-level
logic (like when dealing with external displays) we don't leave
the struct filled with garbage.
BUG=chrome-os-partner:42946
BRANCH=firmware-veyron
TEST=none
Change-Id: I557e2495157458342db6d8b0b1ecb39f7267f61f
Signed-off-by: Patrick Georgi <patrick(a)georgi-clan.de>
Original-Commit-Id: bb12dca133576543efa4d3bcc9aadf85d37c8b71
Original-Change-Id: I697436fffadc7dd3af239436061975165a97ec8c
Original-Signed-off-by: David Hendricks <dhendrix(a)chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/293547
Original-Reviewed-by: Julius Werner <jwerner(a)chromium.org>
---
src/lib/edid.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/lib/edid.c b/src/lib/edid.c
index 22f3f0e..ed3565c 100644
--- a/src/lib/edid.c
+++ b/src/lib/edid.c
@@ -1001,12 +1001,13 @@ int decode_edid(unsigned char *edid, int size, struct edid *out)
dump_breakdown(edid);
+ memset(out, 0, sizeof(*out));
+
if (!edid || memcmp(edid, "\x00\xFF\xFF\xFF\xFF\xFF\xFF\x00", 8)) {
printk(BIOS_SPEW, "No header found\n");
return 1;
}
- memset(out, 0, sizeof(*out));
if (manufacturer_name(edid + 0x08))
c.manufacturer_name_well_formed = 1;
the following patch was just integrated into master:
commit 011b0b3af8426d4e9372eef86f16620038f04a1c
Author: Patrick Georgi <patrick(a)georgi-clan.de>
Date: Wed Aug 26 12:16:54 2015 +0200
cbfstool: update warning on cbfstool extract
We have tons of file types now that can be safely extracted.
It's pretty much only stages and payloads that aren't.
Change-Id: Ibf58a2c721f863d654537850c6f93d68a8a5bbeb
Signed-off-by: Patrick Georgi <patrick(a)georgi-clan.de>
Reviewed-on: http://review.coreboot.org/11360
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin(a)chromium.org>
See http://review.coreboot.org/11360 for details.
-gerrit
the following patch was just integrated into master:
commit 83c2d12a3d33764c4b74c14b30f2541ce4ab4a19
Author: Patrick Georgi <patrick(a)georgi-clan.de>
Date: Wed Aug 26 10:40:00 2015 +0200
cbfstool: update help text
cbfstool create doesn't accept alignment configuration anymore.
Change-Id: Idbf7662c605aa78e3d3413a21bfcbc1387f28701
Signed-off-by: Patrick Georgi <patrick(a)georgi-clan.de>
Reviewed-on: http://review.coreboot.org/11358
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin(a)chromium.org>
See http://review.coreboot.org/11358 for details.
-gerrit
the following patch was just integrated into master:
commit f5252f378bbe3227406711f317fb4e1a41610e33
Author: Patrick Georgi <patrick(a)georgi-clan.de>
Date: Tue Aug 25 22:27:57 2015 +0200
cbfstool: don't pass header_size as separate argument (part 2)
It's already present inside struct cbfs_file
Change-Id: Ic9682e93c3d208e2ed458940e4a9f9f5a64b6e98
Signed-off-by: Patrick Georgi <patrick(a)georgi-clan.de>
Reviewed-on: http://review.coreboot.org/11333
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin(a)chromium.org>
See http://review.coreboot.org/11333 for details.
-gerrit
the following patch was just integrated into master:
commit d5a4afa63d61e21851f0d46cab27b4eb9698ad90
Author: Patrick Georgi <patrick(a)georgi-clan.de>
Date: Tue Aug 25 22:27:57 2015 +0200
cbfstool: don't pass header_size as separate argument
It's already present inside struct cbfs_file
Change-Id: Ib10663c6601aa02e07b868e440f05da02af9c2d9
Signed-off-by: Patrick Georgi <patrick(a)georgi-clan.de>
Reviewed-on: http://review.coreboot.org/11332
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin(a)chromium.org>
See http://review.coreboot.org/11332 for details.
-gerrit
the following patch was just integrated into master:
commit a60e7b6da533c119cae0b83207222f7b94f40539
Author: Patrick Georgi <patrick(a)georgi-clan.de>
Date: Tue Aug 25 22:26:02 2015 +0200
cbfstool: use struct cbfs_file * instead of void *
My concern was that compilers may something stupid under the assumption
of a fixed struct size, but filename is already variable, so things are
okay.
Change-Id: I5348faf68f0a7993294e9de4c0b6c737278b28af
Signed-off-by: Patrick Georgi <patrick(a)georgi-clan.de>
Reviewed-on: http://review.coreboot.org/11331
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin(a)chromium.org>
See http://review.coreboot.org/11331 for details.
-gerrit
the following patch was just integrated into master:
commit dc9dbc0059af620efa919ac3e0d3b92abd50e658
Author: Patrick Georgi <patrick(a)georgi-clan.de>
Date: Tue Aug 25 20:17:14 2015 +0200
cbfstool: passing a header is now mandatory for converters
Change-Id: Iea5377af735b06bcaefb999547a8896b1c70763a
Signed-off-by: Patrick Georgi <patrick(a)georgi-clan.de>
Reviewed-on: http://review.coreboot.org/11330
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin(a)chromium.org>
See http://review.coreboot.org/11330 for details.
-gerrit
the following patch was just integrated into master:
commit e590358064a1db077a3dafec473433260a3ba646
Author: Patrick Georgi <patrick(a)georgi-clan.de>
Date: Tue Aug 25 13:53:42 2015 +0200
cbfstool: cbfs_add_entry() doesn't need to know filename or type
They're passed as part of the header now.
Change-Id: I7cd6296adac1fa72e0708b89c7009552e272f656
Signed-off-by: Patrick Georgi <patrick(a)georgi-clan.de>
Reviewed-on: http://review.coreboot.org/11327
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin(a)chromium.org>
See http://review.coreboot.org/11327 for details.
-gerrit
the following patch was just integrated into master:
commit 422c636683b82f7f2d155c28468d04d49c0d33fd
Author: Martin Roth <martinroth(a)google.com>
Date: Tue Aug 25 15:27:54 2015 -0600
google/storm/Kconfig: remove select CONSOLE_CBMEM_DUMP_TO_UART
This seems like more of a debug option, than something that should
be forced to be enabled by the platform. Since it's causing a Kconfig
warning, I'm just removing it.
The alternative to removing it would be to add dependencies on
CONSOLE_CBMEM && !CONSOLE_SERIAL
Change-Id: Ifc4e4cbeea08a503c38827dd75e0e2e78e8a5eda
Signed-off-by: Martin Roth <martinroth(a)google.com>
Reviewed-on: http://review.coreboot.org/11343
Tested-by: build bot (Jenkins)
Reviewed-by: Alexandru Gagniuc <mr.nuke.me(a)gmail.com>
See http://review.coreboot.org/11343 for details.
-gerrit