Nico Huber has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29979 )
Change subject: arch/x86/Kconfig: move MAX_REBOOT_CNT option
......................................................................
Patch Set 2:
(1 comment)
Currently, you can't set wrong values. That's a feature I'd like to
have maintained. Everything below the currently defined defaults is
wrong.
In other words, this option was hidden on purpose. You can add another
option for instance and take the minimum of both or something like
that. But you mustn't lower it.
https://review.coreboot.org/#/c/29979/1//COMMIT_MSG
Commit Message:
https://review.coreboot.org/#/c/29979/1//COMMIT_MSG@11
PS1, Line 11:
> It only adds the entry, so you don't have to change it in the config file by hand. […]
It's not about complete reboots. If you'd set it to 2 you
might get false fallbacks (because a single reboot can result
in coreboot resetting again, without anything failing).
--
To view, visit https://review.coreboot.org/c/coreboot/+/29979
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ice26e2ef349f1172b564edc14f1012c33546a93c
Gerrit-Change-Number: 29979
Gerrit-PatchSet: 2
Gerrit-Owner: Marcello Sylvester Bauer <sylvblck(a)sylv.io>
Gerrit-Reviewer: Marcello Sylvester Bauer <sylvblck(a)sylv.io>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Nico Huber <nico.h(a)gmx.de>
Gerrit-Comment-Date: Fri, 30 Nov 2018 23:59:39 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Nico Huber <nico.h(a)gmx.de>
Comment-In-Reply-To: Marcello Sylvester Bauer <sylvblck(a)sylv.io>
Gerrit-MessageType: comment
Hello Jairaj Arava, Patrick Rudolph, Pratikkumar V Prajapati, Subrata Banik, Sathyanarayana Nujella, build bot (Jenkins), Krzysztof M Sywula,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/29651
to look at the new patch set (#5).
Change subject: soc/intel/cannonlake: Program HD Audio SVID/SSID
......................................................................
soc/intel/cannonlake: Program HD Audio SVID/SSID
Realtek Codec kernel driver requires PCH HD Audio controller to have
subystem vendor id and subsystem device id matched with verb table. So
program same values to make it working.
BUG=b:119058355,b:119054586
TEST=Boot up on Sarien board and check with kernel driver dmesg to see
ALC3204 or ALC3254.
Change-Id: I25e22313fd99479f1a2f68636a2eab83126ca488
Signed-off-by: Lijian Zhao <lijian.zhao(a)intel.com>
---
M src/soc/intel/cannonlake/Kconfig
M src/soc/intel/cannonlake/fsp_params.c
A src/soc/intel/cannonlake/include/soc/hda_ssid.h
3 files changed, 65 insertions(+), 11 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/51/29651/5
--
To view, visit https://review.coreboot.org/c/coreboot/+/29651
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I25e22313fd99479f1a2f68636a2eab83126ca488
Gerrit-Change-Number: 29651
Gerrit-PatchSet: 5
Gerrit-Owner: Lijian Zhao <lijian.zhao(a)intel.com>
Gerrit-Reviewer: Jairaj Arava <jairaj.arava(a)intel.com>
Gerrit-Reviewer: Krzysztof M Sywula <krzysztof.m.sywula(a)intel.com>
Gerrit-Reviewer: Lijian Zhao <lijian.zhao(a)intel.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Pratikkumar V Prajapati <pratikkumar.v.prajapati(a)intel.com>
Gerrit-Reviewer: Sathyanarayana Nujella <sathyanarayana.nujella(a)intel.com>
Gerrit-Reviewer: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Duncan Laurie <dlaurie(a)chromium.org>
Gerrit-CC: Nico Huber <nico.h(a)gmx.de>
Gerrit-MessageType: newpatchset
Nico Huber has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29651 )
Change subject: soc/intel/cannonlake: Program HD Audio SVID/SSID
......................................................................
Patch Set 3:
Is this just setting subsystem ids of a PCI device? These should be
set in the devicetree and no blob needed.
If yes, this seems backwards. Shouldn't we set the id of the PCI
device first and when configuring the codec take the id of the PCI
device?
--
To view, visit https://review.coreboot.org/c/coreboot/+/29651
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I25e22313fd99479f1a2f68636a2eab83126ca488
Gerrit-Change-Number: 29651
Gerrit-PatchSet: 3
Gerrit-Owner: Lijian Zhao <lijian.zhao(a)intel.com>
Gerrit-Reviewer: Jairaj Arava <jairaj.arava(a)intel.com>
Gerrit-Reviewer: Krzysztof M Sywula <krzysztof.m.sywula(a)intel.com>
Gerrit-Reviewer: Lijian Zhao <lijian.zhao(a)intel.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Pratikkumar V Prajapati <pratikkumar.v.prajapati(a)intel.com>
Gerrit-Reviewer: Sathyanarayana Nujella <sathyanarayana.nujella(a)intel.com>
Gerrit-Reviewer: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Duncan Laurie <dlaurie(a)chromium.org>
Gerrit-CC: Nico Huber <nico.h(a)gmx.de>
Gerrit-Comment-Date: Fri, 30 Nov 2018 23:49:29 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Lijian Zhao has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29651 )
Change subject: soc/intel/cannonlake: Program HD Audio SVID/SSID
......................................................................
Patch Set 4:
> Patch Set 1:
>
> Could we do this at the SOC level?
>
> If we had a Kconfig entry in the SOC that allowed the mainboard to define an HDA codec device ID then the SOC level code could have this structure (filled with CONFIG_SUBSYSTEM_VENDOR_ID and something like CONFIG_HDA_CODEC_ID) and pass it to FSP if HDA is enabled.
Done, moved to SOC level and add HDA_CODEC_ID
--
To view, visit https://review.coreboot.org/c/coreboot/+/29651
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I25e22313fd99479f1a2f68636a2eab83126ca488
Gerrit-Change-Number: 29651
Gerrit-PatchSet: 4
Gerrit-Owner: Lijian Zhao <lijian.zhao(a)intel.com>
Gerrit-Reviewer: Jairaj Arava <jairaj.arava(a)intel.com>
Gerrit-Reviewer: Krzysztof M Sywula <krzysztof.m.sywula(a)intel.com>
Gerrit-Reviewer: Lijian Zhao <lijian.zhao(a)intel.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Pratikkumar V Prajapati <pratikkumar.v.prajapati(a)intel.com>
Gerrit-Reviewer: Sathyanarayana Nujella <sathyanarayana.nujella(a)intel.com>
Gerrit-Reviewer: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Duncan Laurie <dlaurie(a)chromium.org>
Gerrit-Comment-Date: Fri, 30 Nov 2018 23:49:26 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Hello Jairaj Arava, Patrick Rudolph, Pratikkumar V Prajapati, Subrata Banik, Sathyanarayana Nujella, build bot (Jenkins), Krzysztof M Sywula,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/29651
to look at the new patch set (#4).
Change subject: soc/intel/cannonlake: Program HD Audio SVID/SSID
......................................................................
soc/intel/cannonlake: Program HD Audio SVID/SSID
Realtek Codec kernel driver requires PCH HD Audio controller to have
subystem vendor id and subsystem device id matched with verb table. So
program same values to make it working.
BUG=b:119058355,b:119054586
TEST=Boot up on Sarien board and check with kernel driver dmesg to see
ALC3204 or ALC3254.
Change-Id: I25e22313fd99479f1a2f68636a2eab83126ca488
Signed-off-by: Lijian Zhao <lijian.zhao(a)intel.com>
---
M src/soc/intel/cannonlake/Kconfig
M src/soc/intel/cannonlake/fsp_params.c
A src/soc/intel/cannonlake/include/soc/hda_ssid.h
3 files changed, 65 insertions(+), 11 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/51/29651/4
--
To view, visit https://review.coreboot.org/c/coreboot/+/29651
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I25e22313fd99479f1a2f68636a2eab83126ca488
Gerrit-Change-Number: 29651
Gerrit-PatchSet: 4
Gerrit-Owner: Lijian Zhao <lijian.zhao(a)intel.com>
Gerrit-Reviewer: Jairaj Arava <jairaj.arava(a)intel.com>
Gerrit-Reviewer: Krzysztof M Sywula <krzysztof.m.sywula(a)intel.com>
Gerrit-Reviewer: Lijian Zhao <lijian.zhao(a)intel.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Pratikkumar V Prajapati <pratikkumar.v.prajapati(a)intel.com>
Gerrit-Reviewer: Sathyanarayana Nujella <sathyanarayana.nujella(a)intel.com>
Gerrit-Reviewer: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Duncan Laurie <dlaurie(a)chromium.org>
Gerrit-MessageType: newpatchset
Hello Jairaj Arava, Patrick Rudolph, Pratikkumar V Prajapati, Subrata Banik, Sathyanarayana Nujella, build bot (Jenkins), Krzysztof M Sywula,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/29651
to look at the new patch set (#3).
Change subject: soc/intel/cannonlake: Program HD Audio SVID/SSID
......................................................................
soc/intel/cannonlake: Program HD Audio SVID/SSID
Realtek Codec kernel driver requires PCH HD Audio controller to have
subystem vendor id and subsystem device id matched with verb table. So
program same values to make it working.
BUG=b:119058355,b:119054586
TEST=Boot up on Sarien board and check with kernel driver dmesg to see
ALC3204 or ALC3254.
Change-Id: I25e22313fd99479f1a2f68636a2eab83126ca488
Signed-off-by: Lijian Zhao <lijian.zhao(a)intel.com>
---
M src/soc/intel/cannonlake/Kconfig
M src/soc/intel/cannonlake/fsp_params.c
A src/soc/intel/cannonlake/include/soc/hda_ssid.h
3 files changed, 62 insertions(+), 11 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/51/29651/3
--
To view, visit https://review.coreboot.org/c/coreboot/+/29651
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I25e22313fd99479f1a2f68636a2eab83126ca488
Gerrit-Change-Number: 29651
Gerrit-PatchSet: 3
Gerrit-Owner: Lijian Zhao <lijian.zhao(a)intel.com>
Gerrit-Reviewer: Jairaj Arava <jairaj.arava(a)intel.com>
Gerrit-Reviewer: Krzysztof M Sywula <krzysztof.m.sywula(a)intel.com>
Gerrit-Reviewer: Lijian Zhao <lijian.zhao(a)intel.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Pratikkumar V Prajapati <pratikkumar.v.prajapati(a)intel.com>
Gerrit-Reviewer: Sathyanarayana Nujella <sathyanarayana.nujella(a)intel.com>
Gerrit-Reviewer: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Duncan Laurie <dlaurie(a)chromium.org>
Gerrit-MessageType: newpatchset
Hello Jairaj Arava, Pratikkumar V Prajapati, Subrata Banik, Sathyanarayana Nujella, build bot (Jenkins), Krzysztof M Sywula,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/29651
to look at the new patch set (#2).
Change subject: soc/intel/cannonlake: Program HD Audio SVID/SSID
......................................................................
soc/intel/cannonlake: Program HD Audio SVID/SSID
Realtek Codec kernel driver requires PCH HD Audio controller to have
subystem vendor id and subsystem device id matched with verb table. So
program same values to make it working.
BUG=b:119058355,b:119054586
TEST=Boot up on Sarien board and check with kernel driver dmesg to see
ALC3204 or ALC3254.
Change-Id: I25e22313fd99479f1a2f68636a2eab83126ca488
Signed-off-by: Lijian Zhao <lijian.zhao(a)intel.com>
---
M src/mainboard/google/sarien/ramstage.c
M src/soc/intel/cannonlake/Kconfig
M src/soc/intel/cannonlake/fsp_params.c
A src/soc/intel/cannonlake/include/soc/hda_ssid.h
4 files changed, 63 insertions(+), 11 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/51/29651/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/29651
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I25e22313fd99479f1a2f68636a2eab83126ca488
Gerrit-Change-Number: 29651
Gerrit-PatchSet: 2
Gerrit-Owner: Lijian Zhao <lijian.zhao(a)intel.com>
Gerrit-Reviewer: Jairaj Arava <jairaj.arava(a)intel.com>
Gerrit-Reviewer: Krzysztof M Sywula <krzysztof.m.sywula(a)intel.com>
Gerrit-Reviewer: Lijian Zhao <lijian.zhao(a)intel.com>
Gerrit-Reviewer: Pratikkumar V Prajapati <pratikkumar.v.prajapati(a)intel.com>
Gerrit-Reviewer: Sathyanarayana Nujella <sathyanarayana.nujella(a)intel.com>
Gerrit-Reviewer: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Duncan Laurie <dlaurie(a)chromium.org>
Gerrit-MessageType: newpatchset
Duncan Laurie has abandoned this change. ( https://review.coreboot.org/c/coreboot/+/29755 )
Change subject: mb/google/{zoombini,sarien}: Use common CPU ACPI code
......................................................................
Abandoned
--
To view, visit https://review.coreboot.org/c/coreboot/+/29755
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ief3de0c8061fd1a985fecbc355062eb23d046d6d
Gerrit-Change-Number: 29755
Gerrit-PatchSet: 1
Gerrit-Owner: Duncan Laurie <dlaurie(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: abandon
Duncan Laurie has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/29987
Change subject: ec/google/wilco: Turn camera power on
......................................................................
ec/google/wilco: Turn camera power on
Send the EC command required to turn the camera power on
and verify that it shows up on the USB bus.
Change-Id: I9e9ba712a11cef85cde91ac21a4b6b5090ef58dc
Signed-off-by: Duncan Laurie <dlaurie(a)google.com>
---
M src/ec/google/wilco/chip.c
M src/ec/google/wilco/commands.h
2 files changed, 10 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/87/29987/1
diff --git a/src/ec/google/wilco/chip.c b/src/ec/google/wilco/chip.c
index e1f468d..a9caaec 100644
--- a/src/ec/google/wilco/chip.c
+++ b/src/ec/google/wilco/chip.c
@@ -69,6 +69,9 @@
/* Enable WiFi radio */
wilco_ec_radio_control(RADIO_WIFI, 1);
+
+ /* Turn on camera power */
+ wilco_ec_send(KB_CAMERA, CAMERA_ON);
}
static void wilco_ec_resource(struct device *dev, int index,
diff --git a/src/ec/google/wilco/commands.h b/src/ec/google/wilco/commands.h
index 0989b20..752e19b 100644
--- a/src/ec/google/wilco/commands.h
+++ b/src/ec/google/wilco/commands.h
@@ -32,6 +32,8 @@
KB_SAVE = 0x2f,
/* Restore PS/2 data after S3 resume */
KB_RESTORE = 0x30,
+ /* Manage the EC control of camera power */
+ KB_CAMERA = 0x33,
/* Retrieve information about the EC */
KB_EC_INFO = 0x38,
/* Set ACPI mode on or off */
@@ -67,6 +69,11 @@
RADIO_WIFI = 0x02,
};
+enum ec_camera {
+ CAMERA_ON = 0,
+ CAMERA_OFF
+};
+
/**
* wilco_ec_radio_control() - Control wireless radios.
* @ec_radio: Wireless radio type.
--
To view, visit https://review.coreboot.org/c/coreboot/+/29987
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I9e9ba712a11cef85cde91ac21a4b6b5090ef58dc
Gerrit-Change-Number: 29987
Gerrit-PatchSet: 1
Gerrit-Owner: Duncan Laurie <dlaurie(a)chromium.org>
Gerrit-MessageType: newchange
Furquan Shaikh has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29872 )
Change subject: mb/poppy/variant/nami: Move FPMCU_INT_L gpios to B group
......................................................................
Patch Set 2:
> Patch Set 2: Code-Review+1
>
> my test result is same as shelley now by
> correct the HW re-work
>
> Would you help to +2 ?
> We need it to build the EVT
Does APIC_INVERT fail for you too?
--
To view, visit https://review.coreboot.org/c/coreboot/+/29872
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I2332b0eb7a2f74e8178b95a23c8ac2091027a071
Gerrit-Change-Number: 29872
Gerrit-PatchSet: 2
Gerrit-Owner: Shelley Chen <shchen(a)google.com>
Gerrit-Reviewer: Ren Kuo <ren.kuo(a)quanta.corp-partner.google.com>
Gerrit-Reviewer: Shelley Chen <shchen(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Furquan Shaikh <furquan(a)google.com>
Gerrit-Comment-Date: Fri, 30 Nov 2018 22:24:22 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Nico Huber has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29984 )
Change subject: Makefile.inc: Avoid race condition when using 'make -j<N>'
......................................................................
Patch Set 1:
I guess the the now earlier triggered build of `conf` could still col-
lide with the one triggered by the oldconfig rule in Makefile. So add
the same dependency to the other rule, too?
--
To view, visit https://review.coreboot.org/c/coreboot/+/29984
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ie93eda567f88ca08c97df7e70cdff5b07442747d
Gerrit-Change-Number: 29984
Gerrit-PatchSet: 1
Gerrit-Owner: Jonathan Neuschäfer <j.neuschaefer(a)gmx.net>
Gerrit-Reviewer: Jonathan Neuschäfer <j.neuschaefer(a)gmx.net>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Nico Huber <nico.h(a)gmx.de>
Gerrit-Comment-Date: Fri, 30 Nov 2018 20:15:55 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
HAOUAS Elyes has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29917 )
Change subject: src: Remove not used variable
......................................................................
Patch Set 11:
(1 comment)
https://review.coreboot.org/#/c/29917/11/src/northbridge/intel/x4x/early_in…
File src/northbridge/intel/x4x/early_init.c:
https://review.coreboot.org/#/c/29917/11/src/northbridge/intel/x4x/early_in…
PS11, Line 227: reg32 = RCBA32(0x2010);
is it needed to read RCBA 0x2010 ?
--
To view, visit https://review.coreboot.org/c/coreboot/+/29917
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ibdfbf1031130ff861c4313d1271d6ccb68bf8837
Gerrit-Change-Number: 29917
Gerrit-PatchSet: 11
Gerrit-Owner: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Damien Zammit <damien(a)zamaudio.com>
Gerrit-Reviewer: David Guckian <david.guckian(a)intel.com>
Gerrit-Reviewer: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Huang Jin <huang.jin(a)intel.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-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Philipp Deppenwiese <zaolin.daisuki(a)gmail.com>
Gerrit-Reviewer: York Yang <york.yang(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Fri, 30 Nov 2018 20:09:11 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Lijian Zhao has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29651 )
Change subject: mb/google/sarien: Program HD Audio SVID/SSID
......................................................................
Patch Set 1:
> Patch Set 1:
>
> Could we do this at the SOC level?
>
> If we had a Kconfig entry in the SOC that allowed the mainboard to define an HDA codec device ID then the SOC level code could have this structure (filled with CONFIG_SUBSYSTEM_VENDOR_ID and something like CONFIG_HDA_CODEC_ID) and pass it to FSP if HDA is enabled.
Sure, thought about that before that sounds better.
--
To view, visit https://review.coreboot.org/c/coreboot/+/29651
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I25e22313fd99479f1a2f68636a2eab83126ca488
Gerrit-Change-Number: 29651
Gerrit-PatchSet: 1
Gerrit-Owner: Lijian Zhao <lijian.zhao(a)intel.com>
Gerrit-Reviewer: Jairaj Arava <jairaj.arava(a)intel.com>
Gerrit-Reviewer: Krzysztof M Sywula <krzysztof.m.sywula(a)intel.com>
Gerrit-Reviewer: Lijian Zhao <lijian.zhao(a)intel.com>
Gerrit-Reviewer: Pratikkumar V Prajapati <pratikkumar.v.prajapati(a)intel.com>
Gerrit-Reviewer: Sathyanarayana Nujella <sathyanarayana.nujella(a)intel.com>
Gerrit-Reviewer: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Duncan Laurie <dlaurie(a)chromium.org>
Gerrit-Comment-Date: Fri, 30 Nov 2018 19:29:22 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Richard Spiegel has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/29985
Change subject: src/(device/lib/soc): Remove unused variables
......................................................................
src/(device/lib/soc): Remove unused variables
When building grunt with flags set to detect variables that get a value but
then are unused, there are 7 instances that causes error (unused variable).
In most cases it's enough to simply remove the variable. In one instance,
the variable is used to receive the return of a function. For this instance,
add a debug print that will use it. On another instance, the variable will
be used depending on build options, so the variable must only be created and
set if this build option is set.
BUG=b:120260448
TEST=Build and boot grunt.
Change-Id: I0d00fb6a42db20afb34c76b9445a741a57096ead
Signed-off-by: Richard Spiegel <richard.spiegel(a)silverbackltd.com>
---
M src/device/dram/ddr3.c
M src/lib/selfboot.c
M src/soc/amd/common/block/pi/def_callouts.c
M src/soc/amd/stoneyridge/lpc.c
M src/soc/amd/stoneyridge/northbridge.c
M src/soc/amd/stoneyridge/southbridge.c
6 files changed, 9 insertions(+), 12 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/85/29985/1
diff --git a/src/device/dram/ddr3.c b/src/device/dram/ddr3.c
index f27fdcb..1f5b7eb 100644
--- a/src/device/dram/ddr3.c
+++ b/src/device/dram/ddr3.c
@@ -136,7 +136,10 @@
u8 reg8;
u32 mtb; /* medium time base */
u32 ftb; /* fine time base */
- unsigned int val, param;
+ unsigned int val;
+#if IS_ENABLED(CONFIG_DEBUG_RAM_SETUP)
+ unsigned int param;
+#endif
ret = SPD_STATUS_OK;
@@ -173,7 +176,9 @@
printram(" Invalid number of memory banks\n");
ret = SPD_STATUS_INVALID_FIELD;
}
+#if IS_ENABLED(CONFIG_DEBUG_RAM_SETUP)
param = 1 << (val + 3);
+#endif
printram(" Banks : %u\n", param);
/* SDRAM capacity */
capacity_shift = reg8 & 0x0f;
diff --git a/src/lib/selfboot.c b/src/lib/selfboot.c
index 9c52cd6..f1c2ba4 100644
--- a/src/lib/selfboot.c
+++ b/src/lib/selfboot.c
@@ -144,9 +144,9 @@
{
uint8_t *dest;
size_t memsz;
- struct cbfs_payload_segment *first_segment, *seg, segment;
+ struct cbfs_payload_segment *seg, segment;
- for (first_segment = seg = cbfssegs;; ++seg) {
+ for (seg = cbfssegs;; ++seg) {
printk(BIOS_DEBUG, "Checking segment from ROM address 0x%p\n", seg);
cbfs_decode_payload_segment(&segment, seg);
dest = (uint8_t *)(uintptr_t)segment.load_addr;
diff --git a/src/soc/amd/common/block/pi/def_callouts.c b/src/soc/amd/common/block/pi/def_callouts.c
index 0fffaf3..693c7c5 100644
--- a/src/soc/amd/common/block/pi/def_callouts.c
+++ b/src/soc/amd/common/block/pi/def_callouts.c
@@ -116,10 +116,8 @@
{
AGESA_STATUS Status;
uintptr_t ResetType;
- AMD_CONFIG_PARAMS *StdHeader;
ResetType = Data;
- StdHeader = ConfigPtr;
/*
* This should perform the RESET based upon the ResetType, but coreboot
diff --git a/src/soc/amd/stoneyridge/lpc.c b/src/soc/amd/stoneyridge/lpc.c
index 317574b..efc948d 100644
--- a/src/soc/amd/stoneyridge/lpc.c
+++ b/src/soc/amd/stoneyridge/lpc.c
@@ -145,6 +145,7 @@
/* Allocate ACPI NVS in CBMEM */
gnvs = cbmem_add(CBMEM_ID_ACPI_GNVS, sizeof(global_nvs_t));
+ printk(BIOS_DEBUG, "ACPI GNVS at %p\n", gnvs);
}
static void lpc_set_resources(struct device *dev)
diff --git a/src/soc/amd/stoneyridge/northbridge.c b/src/soc/amd/stoneyridge/northbridge.c
index 749eefe..94242da 100644
--- a/src/soc/amd/stoneyridge/northbridge.c
+++ b/src/soc/amd/stoneyridge/northbridge.c
@@ -226,12 +226,9 @@
acpi_header_t *ssdt;
acpi_header_t *alib;
acpi_header_t *ivrs;
- acpi_hest_t *hest;
- acpi_bert_t *bert;
/* HEST */
current = ALIGN(current, 8);
- hest = (acpi_hest_t *)current;
acpi_write_hest((void *)current, acpi_fill_hest);
acpi_add_table(rsdp, (void *)current);
current += ((acpi_header_t *)current)->length;
@@ -249,7 +246,6 @@
printk(BIOS_ERR, "Error: Can't find BERT storage area\n");
} else {
current = ALIGN(current, 8);
- bert = (acpi_bert_t *)current;
acpi_write_bert((void *)current, (uintptr_t)rgn, size);
acpi_add_table(rsdp, (void *)current);
current += ((acpi_header_t *)current)->length;
diff --git a/src/soc/amd/stoneyridge/southbridge.c b/src/soc/amd/stoneyridge/southbridge.c
index 6157e50..bbebf6c 100644
--- a/src/soc/amd/stoneyridge/southbridge.c
+++ b/src/soc/amd/stoneyridge/southbridge.c
@@ -217,13 +217,10 @@
*/
int sb_find_wideio_range(uint16_t start, uint16_t size)
{
- uint32_t enable_register;
int i, index = WIDEIO_RANGE_ERROR;
uint16_t end, current_size, start_wideio, end_wideio;
end = start + size;
- enable_register = pci_read_config32(SOC_LPC_DEV,
- LPC_IO_OR_MEM_DECODE_ENABLE);
for (i = 0; i < TOTAL_WIDEIO_PORTS; i++) {
current_size = sb_wideio_size(i);
if (current_size == 0)
--
To view, visit https://review.coreboot.org/c/coreboot/+/29985
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I0d00fb6a42db20afb34c76b9445a741a57096ead
Gerrit-Change-Number: 29985
Gerrit-PatchSet: 1
Gerrit-Owner: Richard Spiegel <richard.spiegel(a)silverbackltd.com>
Gerrit-MessageType: newchange
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29917 )
Change subject: src: Remove not used variable
......................................................................
Patch Set 11:
(1 comment)
https://review.coreboot.org/#/c/29917/11/src/cpu/amd/family_10h-family_15h/…
File src/cpu/amd/family_10h-family_15h/init_cpus.c:
https://review.coreboot.org/#/c/29917/11/src/cpu/amd/family_10h-family_15h/…
PS11, Line 1061: if ((get_option(&nvram, "cpu_c_states") == CB_SUCCESS) &&
line over 80 characters
--
To view, visit https://review.coreboot.org/c/coreboot/+/29917
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ibdfbf1031130ff861c4313d1271d6ccb68bf8837
Gerrit-Change-Number: 29917
Gerrit-PatchSet: 11
Gerrit-Owner: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Damien Zammit <damien(a)zamaudio.com>
Gerrit-Reviewer: David Guckian <david.guckian(a)intel.com>
Gerrit-Reviewer: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Huang Jin <huang.jin(a)intel.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-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Philipp Deppenwiese <zaolin.daisuki(a)gmail.com>
Gerrit-Reviewer: York Yang <york.yang(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Fri, 30 Nov 2018 16:31:28 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Hello Patrick Rudolph, Huang Jin, Julius Werner, Angel Pons, York Yang, Philipp Deppenwiese, build bot (Jenkins), Damien Zammit, David Guckian, Patrick Georgi, Martin Roth,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/29917
to look at the new patch set (#11).
Change subject: src: Remove not used variable
......................................................................
src: Remove not used variable
Change-Id: Ibdfbf1031130ff861c4313d1271d6ccb68bf8837
Signed-off-by: Elyes HAOUAS <ehaouas(a)noos.fr>
---
M src/arch/arm64/boot.c
M src/cpu/amd/family_10h-family_15h/init_cpus.c
M src/device/dram/ddr3.c
M src/drivers/spi/sst.c
M src/lib/selfboot.c
M src/northbridge/amd/amdmct/mct/mct_d.c
M src/northbridge/amd/amdmct/mct_ddr3/mct_d.c
M src/northbridge/amd/pi/00730F01/northbridge.c
M src/northbridge/intel/haswell/raminit.c
M src/northbridge/intel/pineview/early_init.c
M src/northbridge/intel/pineview/raminit.c
M src/northbridge/intel/x4x/dq_dqs.c
M src/northbridge/intel/x4x/early_init.c
M src/northbridge/via/vx900/raminit_ddr3.c
M src/soc/amd/stoneyridge/southbridge.c
M src/soc/cavium/common/bootblock.c
M src/soc/intel/fsp_baytrail/romstage/romstage.c
M src/soc/intel/fsp_broadwell_de/romstage/romstage.c
M src/soc/intel/quark/i2c.c
M src/southbridge/amd/common/amd_pci_util.c
M src/southbridge/intel/fsp_rangeley/romstage.c
M src/southbridge/intel/i82371eb/fadt.c
22 files changed, 25 insertions(+), 88 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/17/29917/11
--
To view, visit https://review.coreboot.org/c/coreboot/+/29917
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ibdfbf1031130ff861c4313d1271d6ccb68bf8837
Gerrit-Change-Number: 29917
Gerrit-PatchSet: 11
Gerrit-Owner: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Damien Zammit <damien(a)zamaudio.com>
Gerrit-Reviewer: David Guckian <david.guckian(a)intel.com>
Gerrit-Reviewer: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Huang Jin <huang.jin(a)intel.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-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Philipp Deppenwiese <zaolin.daisuki(a)gmail.com>
Gerrit-Reviewer: York Yang <york.yang(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: newpatchset
HAOUAS Elyes has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29917 )
Change subject: src: Remove not used variable
......................................................................
Patch Set 10:
(1 comment)
https://review.coreboot.org/#/c/29917/10/src/northbridge/intel/x4x/early_in…
File src/northbridge/intel/x4x/early_init.c:
https://review.coreboot.org/#/c/29917/10/src/northbridge/intel/x4x/early_in…
PS10, Line 227: reg32 = RCBA32(0x2010);
is it needed to read RCBA32(0x2010) ?
--
To view, visit https://review.coreboot.org/c/coreboot/+/29917
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ibdfbf1031130ff861c4313d1271d6ccb68bf8837
Gerrit-Change-Number: 29917
Gerrit-PatchSet: 10
Gerrit-Owner: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Damien Zammit <damien(a)zamaudio.com>
Gerrit-Reviewer: David Guckian <david.guckian(a)intel.com>
Gerrit-Reviewer: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Huang Jin <huang.jin(a)intel.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-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Philipp Deppenwiese <zaolin.daisuki(a)gmail.com>
Gerrit-Reviewer: York Yang <york.yang(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Fri, 30 Nov 2018 16:23:25 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29917 )
Change subject: src: Remove not used variable
......................................................................
Patch Set 10:
(1 comment)
https://review.coreboot.org/#/c/29917/10/src/cpu/amd/family_10h-family_15h/…
File src/cpu/amd/family_10h-family_15h/init_cpus.c:
https://review.coreboot.org/#/c/29917/10/src/cpu/amd/family_10h-family_15h/…
PS10, Line 1061: if ((get_option(&nvram, "cpu_c_states") == CB_SUCCESS) &&
line over 80 characters
--
To view, visit https://review.coreboot.org/c/coreboot/+/29917
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ibdfbf1031130ff861c4313d1271d6ccb68bf8837
Gerrit-Change-Number: 29917
Gerrit-PatchSet: 10
Gerrit-Owner: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Damien Zammit <damien(a)zamaudio.com>
Gerrit-Reviewer: David Guckian <david.guckian(a)intel.com>
Gerrit-Reviewer: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Huang Jin <huang.jin(a)intel.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-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Philipp Deppenwiese <zaolin.daisuki(a)gmail.com>
Gerrit-Reviewer: York Yang <york.yang(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Fri, 30 Nov 2018 16:00:50 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Hello Patrick Rudolph, Huang Jin, Julius Werner, Angel Pons, York Yang, Philipp Deppenwiese, build bot (Jenkins), Damien Zammit, David Guckian, Patrick Georgi, Martin Roth,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/29917
to look at the new patch set (#10).
Change subject: src: Remove not used variable
......................................................................
src: Remove not used variable
Change-Id: Ibdfbf1031130ff861c4313d1271d6ccb68bf8837
Signed-off-by: Elyes HAOUAS <ehaouas(a)noos.fr>
---
M src/arch/arm64/boot.c
M src/cpu/amd/family_10h-family_15h/init_cpus.c
M src/device/dram/ddr3.c
M src/drivers/spi/sst.c
M src/lib/selfboot.c
M src/northbridge/amd/amdmct/mct/mct_d.c
M src/northbridge/amd/amdmct/mct_ddr3/mct_d.c
M src/northbridge/amd/pi/00730F01/northbridge.c
M src/northbridge/intel/haswell/raminit.c
M src/northbridge/intel/pineview/early_init.c
M src/northbridge/intel/pineview/raminit.c
M src/northbridge/intel/x4x/dq_dqs.c
M src/northbridge/intel/x4x/early_init.c
M src/northbridge/via/vx900/raminit_ddr3.c
M src/soc/amd/stoneyridge/southbridge.c
M src/soc/cavium/common/bootblock.c
M src/soc/intel/fsp_baytrail/romstage/romstage.c
M src/soc/intel/fsp_broadwell_de/romstage/romstage.c
M src/soc/intel/quark/i2c.c
M src/southbridge/amd/common/amd_pci_util.c
M src/southbridge/intel/fsp_rangeley/romstage.c
M src/southbridge/intel/i82371eb/fadt.c
22 files changed, 25 insertions(+), 87 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/17/29917/10
--
To view, visit https://review.coreboot.org/c/coreboot/+/29917
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ibdfbf1031130ff861c4313d1271d6ccb68bf8837
Gerrit-Change-Number: 29917
Gerrit-PatchSet: 10
Gerrit-Owner: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Damien Zammit <damien(a)zamaudio.com>
Gerrit-Reviewer: David Guckian <david.guckian(a)intel.com>
Gerrit-Reviewer: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Huang Jin <huang.jin(a)intel.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-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Philipp Deppenwiese <zaolin.daisuki(a)gmail.com>
Gerrit-Reviewer: York Yang <york.yang(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: newpatchset
Jonathan Neuschäfer has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/29984
Change subject: Makefile.inc: Avoid race condition when using 'make -j<N>'
......................................................................
Makefile.inc: Avoid race condition when using 'make -j<N>'
When building coreboot from scratch with 'make -j4', I sometimes see
this error:
CREATE build/mainboard/emulation/qemu-riscv/cbfs-file.wblRgZ.out (from /.../coreboot/.config)
HOSTCC cbfstool/cbfstool (link)
make[1]: execvp: build/util/kconfig/conf: Permission denied
make[1]: *** [/.../coreboot/util/kconfig/Makefile:92: savedefconfig] Error 127
It happens, I think, because the rule generated by
cbfs-files-processor-defconfig runs 'make savedefconfig', which builds
build/util/kconfig/conf, and something also builds it, at the same time.
Fix this case, by making this rule depend on $(objutil)/kconfig/conf.
Change-Id: Ie93eda567f88ca08c97df7e70cdff5b07442747d
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer(a)gmx.net>
---
M Makefile.inc
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/84/29984/1
diff --git a/Makefile.inc b/Makefile.inc
index aaae7bc..6a702a2 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -287,7 +287,7 @@
# arg1: input
# arg2: output
cbfs-files-processor-defconfig= \
- $(eval $(2): $(1) $(obj)/build.h; \
+ $(eval $(2): $(1) $(obj)/build.h $(objutil)/kconfig/conf; \
+printf " CREATE $(2) (from $(1))\n"; \
printf "\# This image was built using coreboot " > $(2).tmp && \
grep "\<COREBOOT_VERSION\>" $(obj)/build.h |cut -d\" -f2 >> $(2).tmp && \
--
To view, visit https://review.coreboot.org/c/coreboot/+/29984
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ie93eda567f88ca08c97df7e70cdff5b07442747d
Gerrit-Change-Number: 29984
Gerrit-PatchSet: 1
Gerrit-Owner: Jonathan Neuschäfer <j.neuschaefer(a)gmx.net>
Gerrit-MessageType: newchange
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/29979
to look at the new patch set (#2).
Change subject: arch/x86/Kconfig: move MAX_REBOOT_CNT option
......................................................................
arch/x86/Kconfig: move MAX_REBOOT_CNT option
Move the MAX_REBOOT_CNT option to arch/x86/Kconfig, to make it in the
menuconfig reachable. This simplifies the change of this option.
Change-Id: Ice26e2ef349f1172b564edc14f1012c33546a93c
Signed-off-by: Marcello Sylvester Bauer <info(a)marcellobauer.com>
---
M src/Kconfig
M src/arch/x86/Kconfig
2 files changed, 10 insertions(+), 8 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/79/29979/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/29979
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ice26e2ef349f1172b564edc14f1012c33546a93c
Gerrit-Change-Number: 29979
Gerrit-PatchSet: 2
Gerrit-Owner: Marcello Sylvester Bauer <sylvblck(a)sylv.io>
Gerrit-Reviewer: Marcello Sylvester Bauer <sylvblck(a)sylv.io>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Nico Huber <nico.h(a)gmx.de>
Gerrit-MessageType: newpatchset
Marcello Sylvester Bauer has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29979 )
Change subject: arch/x86/Kconfig: move MAX_REBOOT_CNT option
......................................................................
Patch Set 1:
(2 comments)
https://review.coreboot.org/#/c/29979/1//COMMIT_MSG
Commit Message:
https://review.coreboot.org/#/c/29979/1//COMMIT_MSG@11
PS1, Line 11:
> Use case? […]
It only adds the entry, so you don't have to change it in the config file by hand.
In my case I would rather fallback after 2 failed reboots, but also values up to 15 are possible.
https://review.coreboot.org/#/c/29979/1/src/arch/x86/Kconfig
File src/arch/x86/Kconfig:
https://review.coreboot.org/#/c/29979/1/src/arch/x86/Kconfig@274
PS1, Line 274: 0
> 0 would mean every boot has failed? Never use the normal path?
true. it will be changed to 1.
--
To view, visit https://review.coreboot.org/c/coreboot/+/29979
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ice26e2ef349f1172b564edc14f1012c33546a93c
Gerrit-Change-Number: 29979
Gerrit-PatchSet: 1
Gerrit-Owner: Marcello Sylvester Bauer <sylvblck(a)sylv.io>
Gerrit-Reviewer: Marcello Sylvester Bauer <sylvblck(a)sylv.io>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Nico Huber <nico.h(a)gmx.de>
Gerrit-Comment-Date: Fri, 30 Nov 2018 15:27:28 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Nico Huber <nico.h(a)gmx.de>
Gerrit-MessageType: comment
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29917 )
Change subject: src: Remove not used variable
......................................................................
Patch Set 9:
(1 comment)
https://review.coreboot.org/#/c/29917/9/src/cpu/amd/family_10h-family_15h/i…
File src/cpu/amd/family_10h-family_15h/init_cpus.c:
https://review.coreboot.org/#/c/29917/9/src/cpu/amd/family_10h-family_15h/i…
PS9, Line 1062: if (!!nvram) {
suspect code indent for conditional statements (32, 32)
--
To view, visit https://review.coreboot.org/c/coreboot/+/29917
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ibdfbf1031130ff861c4313d1271d6ccb68bf8837
Gerrit-Change-Number: 29917
Gerrit-PatchSet: 9
Gerrit-Owner: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Damien Zammit <damien(a)zamaudio.com>
Gerrit-Reviewer: David Guckian <david.guckian(a)intel.com>
Gerrit-Reviewer: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Huang Jin <huang.jin(a)intel.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-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Philipp Deppenwiese <zaolin.daisuki(a)gmail.com>
Gerrit-Reviewer: York Yang <york.yang(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Fri, 30 Nov 2018 15:26:42 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Hello Patrick Rudolph, Huang Jin, Julius Werner, Angel Pons, York Yang, Philipp Deppenwiese, build bot (Jenkins), Damien Zammit, David Guckian, Patrick Georgi, Martin Roth,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/29917
to look at the new patch set (#9).
Change subject: src: Remove not used variable
......................................................................
src: Remove not used variable
Change-Id: Ibdfbf1031130ff861c4313d1271d6ccb68bf8837
Signed-off-by: Elyes HAOUAS <ehaouas(a)noos.fr>
---
M src/arch/arm64/boot.c
M src/cpu/amd/family_10h-family_15h/init_cpus.c
M src/device/dram/ddr3.c
M src/drivers/spi/sst.c
M src/lib/selfboot.c
M src/northbridge/amd/amdmct/mct/mct_d.c
M src/northbridge/amd/amdmct/mct_ddr3/mct_d.c
M src/northbridge/amd/pi/00730F01/northbridge.c
M src/northbridge/intel/haswell/raminit.c
M src/northbridge/intel/pineview/early_init.c
M src/northbridge/intel/pineview/raminit.c
M src/northbridge/intel/x4x/dq_dqs.c
M src/northbridge/intel/x4x/early_init.c
M src/northbridge/via/vx900/raminit_ddr3.c
M src/soc/amd/stoneyridge/southbridge.c
M src/soc/cavium/common/bootblock.c
M src/soc/intel/fsp_baytrail/romstage/romstage.c
M src/soc/intel/fsp_broadwell_de/romstage/romstage.c
M src/soc/intel/quark/i2c.c
M src/southbridge/amd/common/amd_pci_util.c
M src/southbridge/intel/fsp_rangeley/romstage.c
M src/southbridge/intel/i82371eb/fadt.c
22 files changed, 26 insertions(+), 87 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/17/29917/9
--
To view, visit https://review.coreboot.org/c/coreboot/+/29917
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ibdfbf1031130ff861c4313d1271d6ccb68bf8837
Gerrit-Change-Number: 29917
Gerrit-PatchSet: 9
Gerrit-Owner: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Damien Zammit <damien(a)zamaudio.com>
Gerrit-Reviewer: David Guckian <david.guckian(a)intel.com>
Gerrit-Reviewer: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Huang Jin <huang.jin(a)intel.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-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Philipp Deppenwiese <zaolin.daisuki(a)gmail.com>
Gerrit-Reviewer: York Yang <york.yang(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: newpatchset
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29917 )
Change subject: src: Remove not used variable
......................................................................
Patch Set 8:
(1 comment)
https://review.coreboot.org/#/c/29917/8/src/cpu/amd/family_10h-family_15h/i…
File src/cpu/amd/family_10h-family_15h/init_cpus.c:
https://review.coreboot.org/#/c/29917/8/src/cpu/amd/family_10h-family_15h/i…
PS8, Line 1061: if ((get_option(&nvram, "cpu_c_states") == CB_SUCCESS) &&
line over 80 characters
--
To view, visit https://review.coreboot.org/c/coreboot/+/29917
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ibdfbf1031130ff861c4313d1271d6ccb68bf8837
Gerrit-Change-Number: 29917
Gerrit-PatchSet: 8
Gerrit-Owner: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Damien Zammit <damien(a)zamaudio.com>
Gerrit-Reviewer: David Guckian <david.guckian(a)intel.com>
Gerrit-Reviewer: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Huang Jin <huang.jin(a)intel.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-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Philipp Deppenwiese <zaolin.daisuki(a)gmail.com>
Gerrit-Reviewer: York Yang <york.yang(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Fri, 30 Nov 2018 15:06:52 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Hello Patrick Rudolph, Huang Jin, Julius Werner, Angel Pons, York Yang, Philipp Deppenwiese, build bot (Jenkins), Damien Zammit, David Guckian, Patrick Georgi, Martin Roth,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/29917
to look at the new patch set (#8).
Change subject: src: Remove not used variable
......................................................................
src: Remove not used variable
Change-Id: Ibdfbf1031130ff861c4313d1271d6ccb68bf8837
Signed-off-by: Elyes HAOUAS <ehaouas(a)noos.fr>
---
M src/arch/arm64/boot.c
M src/cpu/amd/family_10h-family_15h/init_cpus.c
M src/device/dram/ddr3.c
M src/drivers/spi/sst.c
M src/lib/selfboot.c
M src/northbridge/amd/amdmct/mct/mct_d.c
M src/northbridge/amd/amdmct/mct_ddr3/mct_d.c
M src/northbridge/amd/pi/00730F01/northbridge.c
M src/northbridge/intel/haswell/raminit.c
M src/northbridge/intel/pineview/early_init.c
M src/northbridge/intel/x4x/dq_dqs.c
M src/northbridge/via/vx900/raminit_ddr3.c
M src/soc/cavium/common/bootblock.c
M src/soc/intel/fsp_baytrail/romstage/romstage.c
M src/soc/intel/fsp_broadwell_de/romstage/romstage.c
M src/soc/intel/quark/i2c.c
M src/southbridge/amd/common/amd_pci_util.c
M src/southbridge/intel/fsp_rangeley/romstage.c
M src/southbridge/intel/i82371eb/fadt.c
19 files changed, 21 insertions(+), 68 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/17/29917/8
--
To view, visit https://review.coreboot.org/c/coreboot/+/29917
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ibdfbf1031130ff861c4313d1271d6ccb68bf8837
Gerrit-Change-Number: 29917
Gerrit-PatchSet: 8
Gerrit-Owner: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Damien Zammit <damien(a)zamaudio.com>
Gerrit-Reviewer: David Guckian <david.guckian(a)intel.com>
Gerrit-Reviewer: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Huang Jin <huang.jin(a)intel.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-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Philipp Deppenwiese <zaolin.daisuki(a)gmail.com>
Gerrit-Reviewer: York Yang <york.yang(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: newpatchset
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29917 )
Change subject: src: Remove not used variable
......................................................................
Patch Set 7:
(1 comment)
https://review.coreboot.org/#/c/29917/7/src/cpu/amd/family_10h-family_15h/i…
File src/cpu/amd/family_10h-family_15h/init_cpus.c:
https://review.coreboot.org/#/c/29917/7/src/cpu/amd/family_10h-family_15h/i…
PS7, Line 1062: if (!!nvram) {
suspect code indent for conditional statements (32, 32)
--
To view, visit https://review.coreboot.org/c/coreboot/+/29917
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ibdfbf1031130ff861c4313d1271d6ccb68bf8837
Gerrit-Change-Number: 29917
Gerrit-PatchSet: 7
Gerrit-Owner: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Damien Zammit <damien(a)zamaudio.com>
Gerrit-Reviewer: David Guckian <david.guckian(a)intel.com>
Gerrit-Reviewer: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Huang Jin <huang.jin(a)intel.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-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Philipp Deppenwiese <zaolin.daisuki(a)gmail.com>
Gerrit-Reviewer: York Yang <york.yang(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Fri, 30 Nov 2018 14:57:34 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Nico Huber has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29977 )
Change subject: sb/intel/lynxpoint: Allow the flash chip to be write-protected
......................................................................
Patch Set 1:
> While technically correct I don't see why we need to duplicate code and
> Kconfig options. Can you move the bd82x6x code to sb/intel/common and
> just use that instead ?
+1
--
To view, visit https://review.coreboot.org/c/coreboot/+/29977
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I781082b1ed507b00815d1e85aec3e56ae5a4bef2
Gerrit-Change-Number: 29977
Gerrit-PatchSet: 1
Gerrit-Owner: Tristan Corrick <tristan(a)corrick.kiwi>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Tristan Corrick <tristan(a)corrick.kiwi>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Fri, 30 Nov 2018 14:56:28 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Hello Patrick Rudolph, Julius Werner, Angel Pons, build bot (Jenkins), Patrick Georgi, Martin Roth,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/29917
to look at the new patch set (#7).
Change subject: src: Remove not used variable
......................................................................
src: Remove not used variable
Change-Id: Ibdfbf1031130ff861c4313d1271d6ccb68bf8837
Signed-off-by: Elyes HAOUAS <ehaouas(a)noos.fr>
---
M src/arch/arm64/boot.c
M src/cpu/amd/family_10h-family_15h/init_cpus.c
M src/device/dram/ddr3.c
M src/drivers/spi/sst.c
M src/lib/selfboot.c
M src/northbridge/amd/amdmct/mct/mct_d.c
M src/northbridge/amd/amdmct/mct_ddr3/mct_d.c
M src/northbridge/amd/pi/00730F01/northbridge.c
M src/northbridge/intel/haswell/raminit.c
M src/northbridge/intel/pineview/early_init.c
M src/northbridge/intel/x4x/dq_dqs.c
M src/northbridge/via/vx900/raminit_ddr3.c
M src/soc/cavium/common/bootblock.c
M src/soc/intel/fsp_baytrail/romstage/romstage.c
M src/soc/intel/fsp_broadwell_de/romstage/romstage.c
M src/soc/intel/quark/i2c.c
M src/southbridge/amd/common/amd_pci_util.c
M src/southbridge/intel/fsp_rangeley/romstage.c
M src/southbridge/intel/i82371eb/fadt.c
19 files changed, 22 insertions(+), 68 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/17/29917/7
--
To view, visit https://review.coreboot.org/c/coreboot/+/29917
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ibdfbf1031130ff861c4313d1271d6ccb68bf8837
Gerrit-Change-Number: 29917
Gerrit-PatchSet: 7
Gerrit-Owner: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: HAOUAS Elyes <ehaouas(a)noos.fr>
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-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: newpatchset
Jonathan Neuschäfer has uploaded a new patch set (#2). ( https://review.coreboot.org/c/coreboot/+/29983 )
Change subject: Documentation: gerrit guidelines: Adopt the new topic syntax
......................................................................
Documentation: gerrit guidelines: Adopt the new topic syntax
When the old syntax is used, gerrit now respends with:
remote: WARNING: deprecated topic syntax. Use %topic=TOPIC instead
Change-Id: I002bfc3e9c4b348379337bc386d3bdefb307679d
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer(a)gmx.net>
---
M Documentation/getting_started/gerrit_guidelines.md
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/83/29983/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/29983
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I002bfc3e9c4b348379337bc386d3bdefb307679d
Gerrit-Change-Number: 29983
Gerrit-PatchSet: 2
Gerrit-Owner: Jonathan Neuschäfer <j.neuschaefer(a)gmx.net>
Gerrit-MessageType: newpatchset
Jonathan Neuschäfer has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/29983
Change subject: Documentation: gerrit guidelines: Adopt the new topic syntax
......................................................................
Documentation: gerrit guidelines: Adopt the new topic syntax
Change-Id: I002bfc3e9c4b348379337bc386d3bdefb307679d
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer(a)gmx.net>
---
M Documentation/getting_started/gerrit_guidelines.md
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/83/29983/1
diff --git a/Documentation/getting_started/gerrit_guidelines.md b/Documentation/getting_started/gerrit_guidelines.md
index 9210c84..77edaf2 100644
--- a/Documentation/getting_started/gerrit_guidelines.md
+++ b/Documentation/getting_started/gerrit_guidelines.md
@@ -151,7 +151,7 @@
the patch and clicking on the icon next to the topic line. Topics can also
be set when you push the patches into gerrit. For example, to push a set of
commits with the the i915-kernel-x60 set, use the command:
- git push origin HEAD:refs/for/master/i915-kernel-x60
+ git push origin HEAD:refs/for/master%topic=i915-kernel-x60
* If one of your patches isn't ready to be merged, make sure it's obvious
that you don't feel it's ready for merge yet. The preferred way to show
--
To view, visit https://review.coreboot.org/c/coreboot/+/29983
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I002bfc3e9c4b348379337bc386d3bdefb307679d
Gerrit-Change-Number: 29983
Gerrit-PatchSet: 1
Gerrit-Owner: Jonathan Neuschäfer <j.neuschaefer(a)gmx.net>
Gerrit-MessageType: newchange
Patrick Rudolph has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29977 )
Change subject: sb/intel/lynxpoint: Allow the flash chip to be write-protected
......................................................................
Patch Set 1:
While technically correct I don't see why we need to duplicate code and Kconfig options.
Can you move the bd82x6x code to sb/intel/common and just use that instead ?
--
To view, visit https://review.coreboot.org/c/coreboot/+/29977
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I781082b1ed507b00815d1e85aec3e56ae5a4bef2
Gerrit-Change-Number: 29977
Gerrit-PatchSet: 1
Gerrit-Owner: Tristan Corrick <tristan(a)corrick.kiwi>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Tristan Corrick <tristan(a)corrick.kiwi>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Fri, 30 Nov 2018 14:05:53 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29950 )
Change subject: soc/qualcomm/qcs405: Add MMU support
......................................................................
Patch Set 2:
(1 comment)
https://review.coreboot.org/#/c/29950/2/src/soc/qualcomm/qcs405/mmu.c
File src/soc/qualcomm/qcs405/mmu.c:
https://review.coreboot.org/#/c/29950/2/src/soc/qualcomm/qcs405/mmu.c@22
PS2, Line 22: void qcs405_mmu_init()
Bad function definition - void qcs405_mmu_init() should probably be void qcs405_mmu_init(void)
--
To view, visit https://review.coreboot.org/c/coreboot/+/29950
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I8c6353be2c0379ec94f91223805762a2286de06d
Gerrit-Change-Number: 29950
Gerrit-PatchSet: 2
Gerrit-Owner: nsekar(a)codeaurora.org
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Reviewer: nsekar(a)codeaurora.org
Gerrit-Comment-Date: Fri, 30 Nov 2018 14:05:35 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Patrick Rudolph has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29975 )
Change subject: sb/intel/lynxpoint: Make the finalise handler common
......................................................................
Patch Set 1: Code-Review+1
--
To view, visit https://review.coreboot.org/c/coreboot/+/29975
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I13b581a2219288019a4e0c9e618db3ac7c3c15ab
Gerrit-Change-Number: 29975
Gerrit-PatchSet: 1
Gerrit-Owner: Tristan Corrick <tristan(a)corrick.kiwi>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Tristan Corrick <tristan(a)corrick.kiwi>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Fri, 30 Nov 2018 14:01:25 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Patrick Rudolph has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29917 )
Change subject: src: Remove not used variable
......................................................................
Patch Set 6: Code-Review+1
--
To view, visit https://review.coreboot.org/c/coreboot/+/29917
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ibdfbf1031130ff861c4313d1271d6ccb68bf8837
Gerrit-Change-Number: 29917
Gerrit-PatchSet: 6
Gerrit-Owner: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: HAOUAS Elyes <ehaouas(a)noos.fr>
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-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Fri, 30 Nov 2018 13:59:28 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Jonathan Neuschäfer has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/29980
Change subject: MAINTAINERS: Add Philipp Hug as reviewer for RISC-V
......................................................................
MAINTAINERS: Add Philipp Hug as reviewer for RISC-V
Philipp has been reviewing and writing RISC-V-related code for a while.
Change-Id: I3f2d3a61f66343a6e0350909edfe466d2ee6c089
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer(a)gmx.net>
---
M MAINTAINERS
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/80/29980/1
diff --git a/MAINTAINERS b/MAINTAINERS
index 3df572c..40b4911 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -136,6 +136,7 @@
RISC-V ARCHITECTURE
M: Ronald Minnich <rminnich(a)gmail.com>
M: Jonathan Neuschäfer <j.neuschaefer(a)gmx.net>
+R: Philipp Hug <philipp(a)hug.cx>
S: Maintained
F: src/arch/riscv/
F: src/soc/sifive/
--
To view, visit https://review.coreboot.org/c/coreboot/+/29980
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I3f2d3a61f66343a6e0350909edfe466d2ee6c089
Gerrit-Change-Number: 29980
Gerrit-PatchSet: 1
Gerrit-Owner: Jonathan Neuschäfer <j.neuschaefer(a)gmx.net>
Gerrit-MessageType: newchange
Hello Patrick Rudolph, Julius Werner, Angel Pons, build bot (Jenkins), Patrick Georgi, Martin Roth,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/29917
to look at the new patch set (#6).
Change subject: src: Remove not used variable
......................................................................
src: Remove not used variable
Change-Id: Ibdfbf1031130ff861c4313d1271d6ccb68bf8837
Signed-off-by: Elyes HAOUAS <ehaouas(a)noos.fr>
---
M src/arch/arm64/boot.c
M src/device/dram/ddr3.c
M src/drivers/spi/sst.c
M src/lib/selfboot.c
M src/northbridge/intel/haswell/raminit.c
M src/southbridge/amd/common/amd_pci_util.c
M src/southbridge/intel/i82371eb/fadt.c
7 files changed, 6 insertions(+), 16 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/17/29917/6
--
To view, visit https://review.coreboot.org/c/coreboot/+/29917
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ibdfbf1031130ff861c4313d1271d6ccb68bf8837
Gerrit-Change-Number: 29917
Gerrit-PatchSet: 6
Gerrit-Owner: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: HAOUAS Elyes <ehaouas(a)noos.fr>
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-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: newpatchset
Ren Kuo has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29872 )
Change subject: mb/poppy/variant/nami: Move FPMCU_INT_L gpios to B group
......................................................................
Patch Set 2: Code-Review+1
my test result is same as shelley now by
correct the HW re-work
Would you help to +2 ?
We need it to build the EVT
--
To view, visit https://review.coreboot.org/c/coreboot/+/29872
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I2332b0eb7a2f74e8178b95a23c8ac2091027a071
Gerrit-Change-Number: 29872
Gerrit-PatchSet: 2
Gerrit-Owner: Shelley Chen <shchen(a)google.com>
Gerrit-Reviewer: Ren Kuo <ren.kuo(a)quanta.corp-partner.google.com>
Gerrit-Reviewer: Shelley Chen <shchen(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Furquan Shaikh <furquan(a)google.com>
Gerrit-Comment-Date: Fri, 30 Nov 2018 13:05:06 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
HAOUAS Elyes has restored this change. ( https://review.coreboot.org/c/coreboot/+/29926 )
Change subject: Crash Test
......................................................................
Restored
for test
--
To view, visit https://review.coreboot.org/c/coreboot/+/29926
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ic3dde296ab4b84add8a8ab6a3bb5ecb65da2c158
Gerrit-Change-Number: 29926
Gerrit-PatchSet: 5
Gerrit-Owner: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: restore
HAOUAS Elyes has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29905 )
Change subject: broadcom: Remove SoC and board support
......................................................................
Patch Set 4:
maybe a missing file: payloads/libpayload/configs/config.purin ?
--
To view, visit https://review.coreboot.org/c/coreboot/+/29905
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I148dd7eb0192d396cb69bc26c4062f88a764771a
Gerrit-Change-Number: 29905
Gerrit-PatchSet: 4
Gerrit-Owner: Philipp Deppenwiese <zaolin.daisuki(a)gmail.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.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-Reviewer: Philipp Deppenwiese <zaolin.daisuki(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Comment-Date: Fri, 30 Nov 2018 12:34:29 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Hello Patrick Rudolph, build bot (Jenkins), Hannah Williams, Patrick Georgi, Martin Roth,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/29414
to look at the new patch set (#4).
Change subject: src/soc/intel/braswell: Remove disabled LPE acpi code
......................................................................
src/soc/intel/braswell: Remove disabled LPE acpi code
The ACPI code for LPE device was included regardless
of the availability of the LPE controller.
Move the LPE ACPI code to seperate SSDT and hide it when
LPE is disabled.
BUG=N/A
TEST=Intel CherryHill CRB
Change-Id: Ic8acf9ea9e9b0ba9b272e20beb2023b7a4716a73
Signed-off-by: Frans Hendriks <fhendriks(a)eltan.com>
---
M src/mainboard/google/cyan/Makefile.inc
M src/mainboard/google/cyan/acpi/codec_maxim.asl
M src/mainboard/google/cyan/acpi/codec_realtek.asl
A src/mainboard/google/cyan/acpi/jack_board.asl
A src/mainboard/google/cyan/acpi/jack_detect.asl
A src/mainboard/google/cyan/ssdtlpe.asl
A src/mainboard/google/cyan/variants/banon/include/variant/acpi/lpe.asl
A src/mainboard/google/cyan/variants/celes/include/variant/acpi/lpe.asl
A src/mainboard/google/cyan/variants/cyan/include/variant/acpi/lpe.asl
A src/mainboard/google/cyan/variants/edgar/include/variant/acpi/lpe.asl
A src/mainboard/google/cyan/variants/kefka/include/variant/acpi/lpe.asl
A src/mainboard/google/cyan/variants/reks/include/variant/acpi/lpe.asl
A src/mainboard/google/cyan/variants/relm/include/variant/acpi/lpe.asl
A src/mainboard/google/cyan/variants/setzer/include/variant/acpi/lpe.asl
A src/mainboard/google/cyan/variants/terra/include/variant/acpi/lpe.asl
A src/mainboard/google/cyan/variants/ultima/include/variant/acpi/lpe.asl
A src/mainboard/google/cyan/variants/wizpig/include/variant/acpi/lpe.asl
M src/mainboard/intel/strago/Makefile.inc
M src/mainboard/intel/strago/acpi/mainboard.asl
A src/mainboard/intel/strago/ssdtlpe.asl
M src/soc/intel/braswell/acpi/southcluster.asl
M src/soc/intel/braswell/include/soc/acpi.h
M src/soc/intel/braswell/lpe.c
23 files changed, 393 insertions(+), 38 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/14/29414/4
--
To view, visit https://review.coreboot.org/c/coreboot/+/29414
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ic8acf9ea9e9b0ba9b272e20beb2023b7a4716a73
Gerrit-Change-Number: 29414
Gerrit-PatchSet: 4
Gerrit-Owner: Frans Hendriks <fhendriks(a)eltan.com>
Gerrit-Reviewer: Frans Hendriks <fhendriks(a)eltan.com>
Gerrit-Reviewer: Hannah Williams <hannah.williams(a)intel.com>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-MessageType: newpatchset
Marcello Sylvester Bauer has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/29979
Change subject: arch/x86/Kconfig: move MAX_REBOOT_CNT option
......................................................................
arch/x86/Kconfig: move MAX_REBOOT_CNT option
Move the MAX_REBOOT_CNT option to arch/x86/Kconfig, to make it in the
menuconfig reachable. This simplifies the change of this option.
Change-Id: Ice26e2ef349f1172b564edc14f1012c33546a93c
Signed-off-by: Marcello Sylvester Bauer <info(a)marcellobauer.com>
---
M src/Kconfig
M src/arch/x86/Kconfig
2 files changed, 10 insertions(+), 8 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/79/29979/1
diff --git a/src/Kconfig b/src/Kconfig
index 62a7a92..812e83e 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -1085,14 +1085,6 @@
help
Internal option that controls whether we compile in register scripts.
-config MAX_REBOOT_CNT
- int
- default 3
- help
- Internal option that sets the maximum number of bootblock executions allowed
- with the normal image enabled before assuming the normal image is defective
- and switching to the fallback image.
-
config CREATE_BOARD_CHECKLIST
bool
default n
diff --git a/src/arch/x86/Kconfig b/src/arch/x86/Kconfig
index 7c8371e..0bbd0b0 100644
--- a/src/arch/x86/Kconfig
+++ b/src/arch/x86/Kconfig
@@ -268,6 +268,16 @@
default "bootblock_simple.c" if BOOTBLOCK_SIMPLE
default "bootblock_normal.c" if BOOTBLOCK_NORMAL
+config MAX_REBOOT_CNT
+ int "Max reboot count"
+ default 3
+ range 0 15
+ depends on BOOTBLOCK_NORMAL
+ help
+ Sets the maximum number of bootblock executions allowed with the
+ normal image enabled before assuming the normal image is defective
+ and switching to the fallback image.
+
config SKIP_MAX_REBOOT_CNT_CLEAR
bool "Do not clear reboot count after successful boot"
depends on BOOTBLOCK_NORMAL
--
To view, visit https://review.coreboot.org/c/coreboot/+/29979
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ice26e2ef349f1172b564edc14f1012c33546a93c
Gerrit-Change-Number: 29979
Gerrit-PatchSet: 1
Gerrit-Owner: Marcello Sylvester Bauer <sylvblck(a)sylv.io>
Gerrit-MessageType: newchange
Chris Zhou has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29830 )
Change subject: mb/google/sarien/variants/sarien: Enable melf touchscreen
......................................................................
Patch Set 2:
(1 comment)
https://review.coreboot.org/#/c/29830/2/src/mainboard/google/sarien/variant…
File src/mainboard/google/sarien/variants/sarien/devicetree.cb:
https://review.coreboot.org/#/c/29830/2/src/mainboard/google/sarien/variant…
PS2, Line 124: GPP_B13
> There does not seem to be a dedicated touchscreen reset pin, this is PLTRST and doesn't seem like wh […]
According schematic, the reset_gpio is connected with PLTRST.
Please see issue 119799550 #5(https://partnerissuetracker.corp.google.com/issues/119799550#comment5).
--
To view, visit https://review.coreboot.org/c/coreboot/+/29830
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I926c988c141628ae2d98206f9eb615d06357a366
Gerrit-Change-Number: 29830
Gerrit-PatchSet: 2
Gerrit-Owner: Chris Zhou <chris_zhou(a)compal.corp-partner.google.com>
Gerrit-Reviewer: Chris Zhou <chris_zhou(a)compal.corp-partner.google.com>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Shelley Chen <shchen(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Crystal Lin <crystal_lin(a)compal.corp-partner.google.com>
Gerrit-CC: Duncan Laurie <dlaurie(a)chromium.org>
Gerrit-CC: Ivy Jian <ivy_jian(a)compal.corp-partner.google.com>
Gerrit-CC: Van Chen <van_chen(a)compal.corp-partner.google.com>
Gerrit-Comment-Date: Fri, 30 Nov 2018 10:43:53 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Duncan Laurie <dlaurie(a)chromium.org>
Gerrit-MessageType: comment
David Guckian has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29931 )
Change subject: cpu/intel/fsp_model_406dx: Drop dead microcode reference
......................................................................
Patch Set 1: Code-Review+1
--
To view, visit https://review.coreboot.org/c/coreboot/+/29931
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ia724262a526fe960c17ae4b248acfa42fc342331
Gerrit-Change-Number: 29931
Gerrit-PatchSet: 1
Gerrit-Owner: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: David Guckian
Gerrit-Reviewer: David Guckian <david.guckian(a)intel.com>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Fri, 30 Nov 2018 10:26:53 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Philipp Deppenwiese has submitted this change and it was merged. ( https://review.coreboot.org/c/coreboot/+/29905 )
Change subject: broadcom: Remove SoC and board support
......................................................................
broadcom: Remove SoC and board support
The reason for this code cleanup is the legacy
Google Purin board which isn't available anymore
and AFAIK never made it into the stores.
* Remove broadcom cygnus SoC support
* Remove /util/broadcom tool
* Remove Google Purin mainboard
* Remove MAINTAINERS entries
Change-Id: I148dd7eb0192d396cb69bc26c4062f88a764771a
Signed-off-by: Philipp Deppenwiese <zaolin.daisuki(a)gmail.com>
Reviewed-on: https://review.coreboot.org/c/29905
Reviewed-by: Julius Werner <jwerner(a)chromium.org>
Reviewed-by: Angel Pons <th3fanbus(a)gmail.com>
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
---
M Documentation/util.md
M MAINTAINERS
M Makefile.inc
D src/mainboard/google/purin/Kconfig
D src/mainboard/google/purin/Kconfig.name
D src/mainboard/google/purin/Makefile.inc
D src/mainboard/google/purin/board_info.txt
D src/mainboard/google/purin/boardid.c
D src/mainboard/google/purin/bootblock.c
D src/mainboard/google/purin/chromeos.c
D src/mainboard/google/purin/chromeos.fmd
D src/mainboard/google/purin/devicetree.cb
D src/mainboard/google/purin/mainboard.c
D src/mainboard/google/purin/memlayout.ld
D src/mainboard/google/purin/reset.c
D src/soc/broadcom/Kconfig
D src/soc/broadcom/cygnus/Kconfig
D src/soc/broadcom/cygnus/Makefile.inc
D src/soc/broadcom/cygnus/bootblock.c
D src/soc/broadcom/cygnus/cbmem.c
D src/soc/broadcom/cygnus/ddr_init.c
D src/soc/broadcom/cygnus/ddr_init_table.c
D src/soc/broadcom/cygnus/gpio.c
D src/soc/broadcom/cygnus/hw_init.c
D src/soc/broadcom/cygnus/i2c.c
D src/soc/broadcom/cygnus/include/soc/addressmap.h
D src/soc/broadcom/cygnus/include/soc/config.h
D src/soc/broadcom/cygnus/include/soc/cygnus.h
D src/soc/broadcom/cygnus/include/soc/cygnus_types.h
D src/soc/broadcom/cygnus/include/soc/ddr_bist.h
D src/soc/broadcom/cygnus/include/soc/gpio.h
D src/soc/broadcom/cygnus/include/soc/halapis/ddr_regs.h
D src/soc/broadcom/cygnus/include/soc/hw_init.h
D src/soc/broadcom/cygnus/include/soc/i2c.h
D src/soc/broadcom/cygnus/include/soc/memlayout.ld
D src/soc/broadcom/cygnus/include/soc/ns16550.h
D src/soc/broadcom/cygnus/include/soc/reg_utils.h
D src/soc/broadcom/cygnus/include/soc/sdram.h
D src/soc/broadcom/cygnus/include/soc/shmoo_and28/phy_and28_e2.h
D src/soc/broadcom/cygnus/include/soc/shmoo_and28/phy_reg_access.h
D src/soc/broadcom/cygnus/include/soc/shmoo_and28/shmoo_and28.h
D src/soc/broadcom/cygnus/include/soc/shmoo_and28/ydc_ddr_bist.h
D src/soc/broadcom/cygnus/include/soc/tz.h
D src/soc/broadcom/cygnus/iomux.c
D src/soc/broadcom/cygnus/ns16550.c
D src/soc/broadcom/cygnus/phy_reg_access.c
D src/soc/broadcom/cygnus/romstage.c
D src/soc/broadcom/cygnus/sdram.c
D src/soc/broadcom/cygnus/shmoo_and28.c
D src/soc/broadcom/cygnus/soc.c
D src/soc/broadcom/cygnus/spi.c
D src/soc/broadcom/cygnus/timer.c
D src/soc/broadcom/cygnus/tz.c
D src/soc/broadcom/cygnus/usb.c
D src/soc/broadcom/cygnus/ydc_ddr_bist.c
M util/README.md
D util/broadcom/Makefile.inc
D util/broadcom/description.md
D util/broadcom/khmacsha256
D util/broadcom/secimage/Makefile
D util/broadcom/secimage/Makefile.inc
D util/broadcom/secimage/crypto.c
D util/broadcom/secimage/io.c
D util/broadcom/secimage/misc.c
D util/broadcom/secimage/sbi.c
D util/broadcom/secimage/secimage.h
D util/broadcom/secimage/test/data/expected/binary.xxdump
D util/broadcom/secimage/test/data/input/binary.xxdump
D util/broadcom/secimage/test/data/input/configfile.xxdump
D util/broadcom/secimage/test/data/input/hmac_binary_key.xxdump
D util/broadcom/secimage/test/hmac.sh
D util/broadcom/unauth.cfg
M util/testing/Makefile.inc
73 files changed, 1 insertion(+), 29,729 deletions(-)
Approvals:
build bot (Jenkins): Verified
Julius Werner: Looks good to me, approved
Angel Pons: Looks good to me, but someone else must approve
--
To view, visit https://review.coreboot.org/c/coreboot/+/29905
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I148dd7eb0192d396cb69bc26c4062f88a764771a
Gerrit-Change-Number: 29905
Gerrit-PatchSet: 4
Gerrit-Owner: Philipp Deppenwiese <zaolin.daisuki(a)gmail.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.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-Reviewer: Philipp Deppenwiese <zaolin.daisuki(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: merged
Philipp Deppenwiese has submitted this change and it was merged. ( https://review.coreboot.org/c/coreboot/+/29913 )
Change subject: MAINTAINERS: Add myself as a maintainer
......................................................................
MAINTAINERS: Add myself as a maintainer
Add myself as a maintainer for legacy Intel-based ChromeOS devices
for which I provide coreboot images as a comminuty member, and
as a maintainer for Purism devices in a professional capacity.
Change-Id: I70df3b9e4e36c2e5d73f8888fe0ec220aa8a91b7
Signed-off-by: Matt DeVillier <matt.devillier(a)gmail.com>
Reviewed-on: https://review.coreboot.org/c/29913
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki(a)gmail.com>
Reviewed-by: Angel Pons <th3fanbus(a)gmail.com>
---
M MAINTAINERS
1 file changed, 25 insertions(+), 0 deletions(-)
Approvals:
build bot (Jenkins): Verified
Philipp Deppenwiese: Looks good to me, approved
Angel Pons: Looks good to me, approved
diff --git a/MAINTAINERS b/MAINTAINERS
index ad94bc1..8ff21a8 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -193,6 +193,20 @@
S: Supported
F: src/mainboard/google/panther/
+GOOGLE MAINBOARDS (Intel-based, legacy/inactive)
+M: Matt DeVillier <MrChromebox(a)gmail.com>
+S: Maintained
+F: src/mainboard/google/auron/
+F: src/mainboard/google/beltino/
+F: src/mainboard/google/butterfly/
+F: src/mainboard/google/cyan/
+F: src/mainboard/google/glados/
+F: src/mainboard/google/jecht/
+F: src/mainboard/google/link/
+F: src/mainboard/google/parrot/
+F: src/mainboard/google/slippy/
+F: src/mainboard/google/stout/
+
OCP MAINBOARDS
M: Philipp Deppenwiese <zaolin.daisuki(a)gmail.com>
M: Patrick Rudolph <patrick.rudolph(a)9elements.com>
@@ -207,6 +221,17 @@
F: src/mainboard/opencellular/rotundu/
F: src/mainboard/opencellular/elgon/
+PURISM MAINBOARDS
+M: Matt DeVillier <matt.devillier(a)puri.sm>
+S: Supported
+F: src/mainboard/purism
+
+SAMSUNG CHROMEOS MAINBOARDS
+M: Matt DeVillier <MrChromebox(a)gmail.com>
+S: Maintained
+F: src/mainboard/samsung/lumpy/
+F: src/mainboard/samsung/stumpy/
+
INTEL MINNOWBOARD MAX MAINBOARD
M: Huang Jin <huang.jin(a)intel.com>
M: York Yang <york.yang(a)intel.com>
--
To view, visit https://review.coreboot.org/c/coreboot/+/29913
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I70df3b9e4e36c2e5d73f8888fe0ec220aa8a91b7
Gerrit-Change-Number: 29913
Gerrit-PatchSet: 3
Gerrit-Owner: Matt DeVillier <matt.devillier(a)gmail.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Philipp Deppenwiese <zaolin.daisuki(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: merged
Philipp Deppenwiese has submitted this change and it was merged. ( https://review.coreboot.org/c/coreboot/+/29935 )
Change subject: LinuxBoot: fix initramfs xz compression
......................................................................
LinuxBoot: fix initramfs xz compression
Add the flag '--check=crc32' to the xz compression to use CRC32 for the
integrity check. The linux kernel does not support CRC64 for integrity
checks, which is the default flag on most xz applications.
Change-Id: I738bd99ef22aa053dc198df5595e1878069de13e
Signed-off-by: Marcello Sylvester Bauer <info(a)marcellobauer.com>
Reviewed-on: https://review.coreboot.org/c/29935
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki(a)gmail.com>
---
M payloads/external/LinuxBoot/Makefile
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
build bot (Jenkins): Verified
Philipp Deppenwiese: Looks good to me, approved
diff --git a/payloads/external/LinuxBoot/Makefile b/payloads/external/LinuxBoot/Makefile
index 8016095..a67b16a 100644
--- a/payloads/external/LinuxBoot/Makefile
+++ b/payloads/external/LinuxBoot/Makefile
@@ -39,7 +39,7 @@
initramfs_compressed: initramfs
ifeq ($(CONFIG_LINUXBOOT_INITRAMFS_COMPRESSION_XZ),y)
- xz --keep --force --lzma2=dict=1MiB $(top)/$(CONFIG_LINUXBOOT_INITRAMFS)
+ xz --keep --force --check=crc32 --lzma2=dict=1MiB $(top)/$(CONFIG_LINUXBOOT_INITRAMFS)
endif
ifeq ($(CONFIG_LINUXBOOT_COMPILE_KERNEL),y)
--
To view, visit https://review.coreboot.org/c/coreboot/+/29935
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I738bd99ef22aa053dc198df5595e1878069de13e
Gerrit-Change-Number: 29935
Gerrit-PatchSet: 2
Gerrit-Owner: Marcello Sylvester Bauer <sylvblck(a)sylv.io>
Gerrit-Reviewer: Jens Drenhaus <jens.drenhaus(a)9elements.com>
Gerrit-Reviewer: Marcello Sylvester Bauer <sylvblck(a)sylv.io>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Philipp Deppenwiese <zaolin.daisuki(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: merged
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29950 )
Change subject: soc/qualcomm/qcs405: Add MMU support
......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/#/c/29950/1/src/soc/qualcomm/qcs405/mmu.c
File src/soc/qualcomm/qcs405/mmu.c:
https://review.coreboot.org/#/c/29950/1/src/soc/qualcomm/qcs405/mmu.c@22
PS1, Line 22: void qcs405_mmu_init()
Bad function definition - void qcs405_mmu_init() should probably be void qcs405_mmu_init(void)
--
To view, visit https://review.coreboot.org/c/coreboot/+/29950
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I8c6353be2c0379ec94f91223805762a2286de06d
Gerrit-Change-Number: 29950
Gerrit-PatchSet: 1
Gerrit-Owner: nsekar(a)codeaurora.org
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: nsekar(a)codeaurora.org
Gerrit-CC: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Fri, 30 Nov 2018 10:15:10 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Tristan Corrick has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/29977
Change subject: sb/intel/lynxpoint: Allow the flash chip to be write-protected
......................................................................
sb/intel/lynxpoint: Allow the flash chip to be write-protected
This patch is based on the bd82x6x code. Lynx Point uses the same
register locations and layout for flash protection.
Tested on an ASRock H81M-HDS. When write-protection is configured,
flashrom reports all flash regions as read-only, and does not manage
to alter the contents of the flash chip.
Change-Id: I781082b1ed507b00815d1e85aec3e56ae5a4bef2
Signed-off-by: Tristan Corrick <tristan(a)corrick.kiwi>
---
M src/southbridge/intel/lynxpoint/Kconfig
M src/southbridge/intel/lynxpoint/finalize.c
2 files changed, 21 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/77/29977/1
diff --git a/src/southbridge/intel/lynxpoint/Kconfig b/src/southbridge/intel/lynxpoint/Kconfig
index 5b06c4b..0690972 100644
--- a/src/southbridge/intel/lynxpoint/Kconfig
+++ b/src/southbridge/intel/lynxpoint/Kconfig
@@ -59,6 +59,20 @@
If you set this option to y, the serial IRQ machine will be
operated in continuous mode.
+config SPI_FLASH_WRITE_PROTECT
+ bool "Write-protect the SPI flash during chipset lockdown"
+ help
+ Select this if you want the entire firmware flash chip to be
+ write-protected during chipset lockdown. This can provide a
+ security benefit, as malware will not be able to write to the
+ flash chip. However, it is important to note that ALL writes
+ and erases are blocked, so you will not be able to update
+ coreboot using flashrom's internal programmer.
+
+ If you have configured coreboot not to run the chipset lockdown
+ (see `INTEL_CHIPSET_LOCKDOWN`), then the payload must initiate
+ the lockdown in order for this setting to take effect.
+
config ME_MBP_CLEAR_LATE
bool "Defer wait for ME MBP Cleared"
default y
diff --git a/src/southbridge/intel/lynxpoint/finalize.c b/src/southbridge/intel/lynxpoint/finalize.c
index 590a245..3971874 100644
--- a/src/southbridge/intel/lynxpoint/finalize.c
+++ b/src/southbridge/intel/lynxpoint/finalize.c
@@ -32,6 +32,13 @@
RCBA32(0x3898) = SPI_OPMENU_LOWER;
RCBA32(0x389c) = SPI_OPMENU_UPPER;
+ if (IS_ENABLED(CONFIG_SPI_FLASH_WRITE_PROTECT)) {
+ int i;
+ for (i = 0; i <= 4; i++)
+ SPIBAR32(0x74 + i * 4) =
+ SPIBAR32(0x54 + i * 4) | (1UL << 31);
+ }
+
/* Lock SPIBAR */
RCBA32_OR(0x3804, (1 << 15));
--
To view, visit https://review.coreboot.org/c/coreboot/+/29977
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I781082b1ed507b00815d1e85aec3e56ae5a4bef2
Gerrit-Change-Number: 29977
Gerrit-PatchSet: 1
Gerrit-Owner: Tristan Corrick <tristan(a)corrick.kiwi>
Gerrit-MessageType: newchange
nsekar(a)codeaurora.org has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/29974
Change subject: qcs405 [temp]: HACK HACK for commit id for VBOOT project
......................................................................
qcs405 [temp]: HACK HACK for commit id for VBOOT project
This pacth is needed for having control over the vboot
project checked out.
Change-Id: I1fd040619eb996164e50705fcf16547571e99f99
Signed-off-by: Sricharan R <sricharan(a)codeaurora.org>
Signed-off-by: Nitheesh Sekar <nsekar(a)codeaurora.org>
---
M 3rdparty/vboot
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/74/29974/1
diff --git a/3rdparty/vboot b/3rdparty/vboot
index 392211f..356d5f1 160000
--- a/3rdparty/vboot
+++ b/3rdparty/vboot
@@ -1 +1 @@
-Subproject commit 392211f0358919d510179ad399d8f056180e652e
+Subproject commit 356d5f1c866655af435400da91ecb6010f96ceb9
--
To view, visit https://review.coreboot.org/c/coreboot/+/29974
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I1fd040619eb996164e50705fcf16547571e99f99
Gerrit-Change-Number: 29974
Gerrit-PatchSet: 1
Gerrit-Owner: nsekar(a)codeaurora.org
Gerrit-MessageType: newchange
nsekar(a)codeaurora.org has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/29973
Change subject: qcs405 [temp]: Combine BB with QC-Sec for ROM boot
......................................................................
qcs405 [temp]: Combine BB with QC-Sec for ROM boot
Some of the changes in this patch are part of the SDM845 upstream
patches. Those will be needed until the sdm845 patches are
merged. After that the remaining delta would have to be patched
out and pushed separately.
TEST=build & run
Change-Id: Ief4d92214cdc7ec06e90b0c7e73c11b6d6deddb9
Signed-off-by: Sricharan R <sricharan(a)codeaurora.org>
Signed-off-by: Nitheesh Sekar <nsekar(a)codeaurora.org>
---
M src/arch/arm64/armv8/cpu.S
M src/soc/qualcomm/ipq40xx/Kconfig
M src/soc/qualcomm/ipq40xx/mbn_header.h
M src/soc/qualcomm/ipq806x/Makefile.inc
M src/soc/qualcomm/ipq806x/mbn_header.h
M src/soc/qualcomm/qcs405/Makefile.inc
M src/soc/qualcomm/sdm845/Makefile.inc
R util/qualcomm/createxbl.py
M util/qualcomm/description.md
R util/qualcomm/ipqheader.py
R util/qualcomm/mbn_tools.py
R util/qualcomm/mbncat.py
A util/qualcomm/qgpt.py
M util/qualcomm/scripts/cmm/debug_cb_405.cmm
M util/qualcomm/scripts/cmm/debug_cb_845.cmm
M util/qualcomm/scripts/cmm/debug_cb_common.cmm
M util/qualcomm/scripts/cmm/pbl32_to_bootblock64_jump.cmm
17 files changed, 483 insertions(+), 224 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/73/29973/1
diff --git a/src/arch/arm64/armv8/cpu.S b/src/arch/arm64/armv8/cpu.S
index d3fd9d3..038e711 100644
--- a/src/arch/arm64/armv8/cpu.S
+++ b/src/arch/arm64/armv8/cpu.S
@@ -148,7 +148,7 @@
2:
stp x0, x0, [x1], #16
cmp x1, x2
- bne 2b
+ ble 2b
/* Initialize stack with sentinel value to later check overflow. */
ldr x2, =0xdeadbeefdeadbeef
diff --git a/src/soc/qualcomm/ipq40xx/Kconfig b/src/soc/qualcomm/ipq40xx/Kconfig
index 2cfcd2d..849d306 100644
--- a/src/soc/qualcomm/ipq40xx/Kconfig
+++ b/src/soc/qualcomm/ipq40xx/Kconfig
@@ -48,7 +48,7 @@
config SBL_UTIL_PATH
depends on USE_BLOBS
string "Path for utils to combine SBL_ELF and bootblock"
- default "util/ipqheader"
+ default "util/qualcomm"
help
Path for utils to combine SBL_ELF and bootblock
diff --git a/src/soc/qualcomm/ipq40xx/mbn_header.h b/src/soc/qualcomm/ipq40xx/mbn_header.h
index cedcf12..a48de1c 100644
--- a/src/soc/qualcomm/ipq40xx/mbn_header.h
+++ b/src/soc/qualcomm/ipq40xx/mbn_header.h
@@ -18,7 +18,7 @@
#include <types.h>
-/* QCA firmware blob header gleaned from util/ipqheader/ipqheader.py */
+/* QCA firmware blob header gleaned from util/qualcomm/ipqheader.py */
struct mbn_header {
u32 mbn_type;
diff --git a/src/soc/qualcomm/ipq806x/Makefile.inc b/src/soc/qualcomm/ipq806x/Makefile.inc
index 8a428b2..1fd134a 100644
--- a/src/soc/qualcomm/ipq806x/Makefile.inc
+++ b/src/soc/qualcomm/ipq806x/Makefile.inc
@@ -62,14 +62,14 @@
# Add MBN header to allow SBL3 to start coreboot bootblock
$(objcbfs)/bootblock.mbn: $(objcbfs)/bootblock.raw.bin
@printf " ADD MBN $(subst $(obj)/,,$(@))\n"
- ./util/ipqheader/ipqheader.py $(call loadaddr,bootblock) $< $@.tmp
+ ./util/qualcomm/ipqheader.py $(call loadaddr,bootblock) $< $@.tmp
@mv $@.tmp $@
# Create a complete bootblock which will start up the system
$(objcbfs)/bootblock.bin: $(call strip_quotes,$(CONFIG_SBL_BLOB)) \
$(objcbfs)/bootblock.mbn
@printf " MBNCAT $(subst $(obj)/,,$(@))\n"
- @util/ipqheader/mbncat.py -o $@.tmp $^
+ @util/qualcomm/mbncat.py -o $@.tmp $^
@mv $@.tmp $@
endif
diff --git a/src/soc/qualcomm/ipq806x/mbn_header.h b/src/soc/qualcomm/ipq806x/mbn_header.h
index 1e6a32f..c7b38d3 100644
--- a/src/soc/qualcomm/ipq806x/mbn_header.h
+++ b/src/soc/qualcomm/ipq806x/mbn_header.h
@@ -18,7 +18,7 @@
#include <types.h>
-/* Qualcomm firmware blob header gleaned from util/ipqheader/ipqheader.py */
+/* Qualcomm firmware blob header gleaned from util/qualcomm/ipqheader.py */
struct mbn_header {
u32 mbn_type;
diff --git a/src/soc/qualcomm/qcs405/Makefile.inc b/src/soc/qualcomm/qcs405/Makefile.inc
index 47ec7ca..40dcb9b 100644
--- a/src/soc/qualcomm/qcs405/Makefile.inc
+++ b/src/soc/qualcomm/qcs405/Makefile.inc
@@ -90,7 +90,7 @@
qc_sec_file := $(shell ls $(QC_SEC_FILE))
ifneq (,$(findstring $(QC_SEC_FILE),$(qc_sec_file)))
$(objcbfs)/bootblock.bin: $(objcbfs)/bootblock.elf
- @util/qualcomm/createxbl.py -f $(objcbfs)/bootblock.elf \
+ @python util/qualcomm/createxbl.py -f $(objcbfs)/bootblock.elf \
-x $(QC_SEC_FILE) -o $(objcbfs)/merged_bb_qcsec.mbn \
-a 64 -d 32 -c 32
ifeq ($(CONFIG_QC_FLASH_SIMULATE_SDCARD),y)
diff --git a/src/soc/qualcomm/sdm845/Makefile.inc b/src/soc/qualcomm/sdm845/Makefile.inc
index 507d913..6f3f3bf 100644
--- a/src/soc/qualcomm/sdm845/Makefile.inc
+++ b/src/soc/qualcomm/sdm845/Makefile.inc
@@ -31,8 +31,22 @@
CPPFLAGS_common += -Isrc/soc/qualcomm/sdm845/include
+SDM845_BLOB := $(top)/3rdparty/blobs/soc/qualcomm/sdm845
+
+################################################################################
+QC_SEC_FILE := $(SDM845_BLOB)/qc_sec.mbn
+qc_sec_file := $(shell ls $(QC_SEC_FILE))
+ifneq (,$(findstring $(QC_SEC_FILE),$(qc_sec_file)))
+$(objcbfs)/bootblock.bin: $(objcbfs)/bootblock.elf
+ @util/qualcomm/createxbl.py -f $(objcbfs)/bootblock.elf \
+ -x $(QC_SEC_FILE) -o $(objcbfs)/merged_bb_qcsec.mbn \
+ -a 64 -d 64 -c 64
+ @util/qualcomm/qgpt.py $(objcbfs)/merged_bb_qcsec.mbn \
+ $(objcbfs)/bootblock.bin
+else
$(objcbfs)/bootblock.bin: $(objcbfs)/bootblock.raw.bin
@printf "Generating: $(subst $(obj)/,,$(@))\n"
cp $(objcbfs)/bootblock.raw.bin $(objcbfs)/bootblock.bin
+endif
endif
diff --git a/util/ipqheader/createxbl.py b/util/qualcomm/createxbl.py
similarity index 87%
rename from util/ipqheader/createxbl.py
rename to util/qualcomm/createxbl.py
index 1efd8ba..655b0ec 100755
--- a/util/ipqheader/createxbl.py
+++ b/util/qualcomm/createxbl.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python2
#============================================================================
#
#/** @file createxbl.py
@@ -6,32 +5,9 @@
# GENERAL DESCRIPTION
# Concatentates XBL segments into one ELF image
#
-# Copyright (c) 2016, The Linux Foundation. All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are
-# met:
-# * Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-# * Redistributions in binary form must reproduce the above
-# copyright notice, this list of conditions and the following
-# disclaimer in the documentation and/or other materials provided
-# with the distribution.
-# * Neither the name of The Linux Foundation nor the names of its
-# contributors may be used to endorse or promote products derived
-# from this software without specific prior written permission.
-#
-# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
-# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
-# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
-# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
-# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
-# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# Copyright 2014-2016 by QUALCOMM Technologies, Incorporated.
+# All Rights Reserved.
+# QUALCOMM Proprietary/GTDR
#
#**/
#
@@ -44,7 +20,9 @@
#
# when who what, where, why
# -------- --- ------------------------------------------------------
-# 09/04/15 et Added -x and -d to embed xbl_sec ELF
+# 04/16/16 et Appended path to import correct mbn_tools
+# 11/09/15 plc Update pflag for xblsec segment
+# 09/04/15 et Added -x and -d to embed xbl_sec ELF
# 02/11/15 ck Fixed missing elf type check in ZI OOB feature
# 11/04/14 ck Updated calls to mbn_tools functions
# 10/22/14 ck Added -z option to remove out of bounds ZI segments when converting from 64 to 32
@@ -60,15 +38,19 @@
import os
import sys
import shutil
+
+# Add path to mbn_tools
+sys.path.append(os.path.join(os.path.dirname(os.path.abspath(__file__)),
+ 'sectools','sectools','features','isc','parsegen'))
import mbn_tools
-PAGE_SIZE = 4096
-SEGMENT_ALIGN = 16
-ELF32_HDR_SIZE = 52
-ELF32_PHDR_SIZE = 32
-ELF64_HDR_SIZE = 64
-ELF64_PHDR_SIZE = 56
-
+PAGE_SIZE = 4096
+SEGMENT_ALIGN = 16
+ELF32_HDR_SIZE = 52
+ELF32_PHDR_SIZE = 32
+ELF64_HDR_SIZE = 64
+ELF64_PHDR_SIZE = 56
+SEGMENT_ALIGN_4K = 4096
##############################################################################
# main
@@ -83,7 +65,7 @@
parser.add_option("-s", "--second_filepath",
action="store", type="string", dest="elf_inp_file2",
help="Second ELF file to merge.")
-
+
parser.add_option("-x", "--xbl_sec_filepath",
action="store", type="string", dest="elf_inp_xbl_sec",
help="Second ELF file to merge.")
@@ -99,7 +81,7 @@
parser.add_option("-b", "--second_elf_arch",
action="store", type="string", dest="elf_2_arch",
help="Second ELF file architecture. '32' or '64'")
-
+
parser.add_option("-d", "--xbl_sec_elf_arch",
action="store", type="string", dest="elf_xbl_sec_arch",
help="xbl_sec file architecture. '32' or '64'")
@@ -118,7 +100,7 @@
help="Removes ZI segments that have addresses greater" + \
" than 32 bits when converting from a 64 to 32 bit ELF")
-
+
(options, args) = parser.parse_args()
if not options.elf_inp_file1:
parser.error('First ELF filename not given')
@@ -128,7 +110,7 @@
if not options.elf_1_arch:
parser.error('First ELF architecture not given')
-
+
if (not options.elf_1_arch == '64') and (not options.elf_1_arch == '32'):
parser.error('Invalid First ELF architecture given')
@@ -136,7 +118,7 @@
if options.elf_inp_file2:
if (not options.elf_2_arch == '64') and (not options.elf_2_arch == '32'):
parser.error('Invalid Second ELF architecture given')
-
+
# Only evaluate elf_xbl_sec_arch if file is given
if options.elf_inp_xbl_sec:
if (not options.elf_xbl_sec_arch == '64') and (not options.elf_xbl_sec_arch == '32'):
@@ -159,7 +141,7 @@
elf_inp_file2 = options.elf_inp_file2
else:
elf_inp_file2 = ""
-
+
# Do same for xbl_sec
elf_inp_xbl_sec = options.elf_inp_xbl_sec if options.elf_inp_xbl_sec else ""
@@ -179,7 +161,7 @@
is_elf2_64_bit = False
else:
is_elf2_64_bit = False
-
+
if options.elf_inp_xbl_sec:
if options.elf_xbl_sec_arch == '64':
is_elf_xbl_sec_64_bit = True
@@ -187,7 +169,7 @@
is_elf_xbl_sec_64_bit = False
else:
is_elf_xbl_sec_64_bit = False
-
+
# If output ELF arch is given then set is_out_elf_64_bit accordingly.
# If not then default to be input1's setting
if options.elf_out_arch:
@@ -207,7 +189,7 @@
mbn_type = 'elf'
- header_format = 'reg'
+ header_format = 'reg'
gen_dict['IMAGE_KEY_IMAGE_ID'] = mbn_tools.ImageType.APPSBL_IMG
#gen_dict['IMAGE_KEY_IMAGE_SOURCE'] = 0
#gen_dict['IMAGE_KEY_IMAGE_DEST'] = 0
@@ -224,9 +206,9 @@
target_nonsec = target_base + "_combined_hash.mbn"
- #print "Input file 1:", elf_inp_file1
- #print "Input file 2:", elf_inp_file2
- #print "Output file:", binary_out
+ print "Input file 1:", elf_inp_file1
+ print "Input file 2:", elf_inp_file2
+ print "Output file:", binary_out
merge_elfs([],
elf_inp_file1,
@@ -238,7 +220,7 @@
is_elf_xbl_sec_64_bit,
is_out_elf_64_bit,
zi_oob_enabled)
-
+
# Hash the image if user did not explicitly say not to
if options.hash_image:
@@ -246,21 +228,21 @@
shutil.move(merged_elf, binary_out)
else:
shutil.copy(merged_elf, source_elf)
-
- # Create hash table
+
+ # Create hash table
rv = mbn_tools.pboot_gen_elf([],
source_elf,
- target_hash,
+ target_hash,
elf_out_file_name = target_phdr_elf,
- secure_type = image_header_secflag)
+ secure_type = image_header_secflag)
if rv:
raise RuntimeError, "Failed to run pboot_gen_elf"
# Create hash table header
- rv = mbn_tools.image_header([],
+ rv = mbn_tools.image_header(os.environ,
gen_dict,
target_hash,
- target_hash_hd,
+ target_hash_hd,
image_header_secflag,
elf_file_name = source_elf)
if rv:
@@ -269,7 +251,7 @@
files_to_cat_in_order = [target_hash_hd, target_hash]
mbn_tools.concat_files (target_nonsec, files_to_cat_in_order)
- # Add the hash segment into the ELF
+ # Add the hash segment into the ELF
mbn_tools.pboot_add_hash([],
target_phdr_elf,
target_nonsec,
@@ -287,7 +269,7 @@
##############################################################################
# merge_elfs
##############################################################################
-def merge_elfs(env,
+def merge_elfs(env,
elf_in_file_name1,
elf_in_file_name2,
elf_in_file_xbl_sec,
@@ -299,17 +281,17 @@
zi_oob_enabled):
[elf_header1, phdr_table1] = \
- mbn_tools.preprocess_elf_file(elf_in_file_name1)
+ mbn_tools.preprocess_elf_file(elf_in_file_name1)
# Check to make sure second file path exists before using
if elf_in_file_name2 != "":
[elf_header2, phdr_table2] = \
- mbn_tools.preprocess_elf_file(elf_in_file_name2)
-
+ mbn_tools.preprocess_elf_file(elf_in_file_name2)
+
# Check to make sure xbl_sec file path exists before using
if elf_in_file_xbl_sec != "":
[elf_headerxblsec, phdr_tablexblsec] = \
- mbn_tools.preprocess_elf_file(elf_in_file_xbl_sec)
+ mbn_tools.preprocess_elf_file(elf_in_file_xbl_sec)
# Open Files
elf_in_fp1 = mbn_tools.OPEN(elf_in_file_name1, "rb")
@@ -340,7 +322,7 @@
else:
phdr_total_size += elf_header2.e_phnum * ELF32_PHDR_SIZE
phdr_total_count += elf_header2.e_phnum
-
+
# Account for xbl_sec header if included
if elf_in_file_xbl_sec != "":
phdr_total_count += 1
@@ -379,7 +361,7 @@
'\x00' + \
'\x00' + \
('\x00' * 7))
-
+
# Address needs to be verified that it is not greater than 32 bits
# as it is possible to go from a 64 bit elf to 32.
if (elf_header1.e_entry > 0xFFFFFFFF):
@@ -415,7 +397,7 @@
phdr_total_count = phdr_total_count - 1
# Do not include xbl_sec in above calculation
# xbl_sec is to be treated as a single blob
-
+
# Now it is ok to populate the ELF header and write it out
out_elf_header.e_phnum = phdr_total_count
@@ -492,9 +474,9 @@
exit()
new_phdr.p_align = curr_phdr.p_align
-
- #print "i=",i
- #print "phdr_offset=", phdr_offset
+
+ print "i=",i
+ print "phdr_offset=", phdr_offset
# update output file location to next phdr location
elf_out_fp.seek(phdr_offset)
@@ -502,15 +484,12 @@
phdr_offset += out_elf_header.e_phentsize
inp_data_offset = curr_phdr.p_offset # used to read data from input file
-
-# print "inp_data_offset="
-# print inp_data_offset
-#
-# print "curr_phdr.p_offset="
-# print curr_phdr.p_offset
-#
-# print "curr_phdr.p_filesz="
-# print curr_phdr.p_filesz
+ print "inp_data_offset="
+ print inp_data_offset
+ print "curr_phdr.p_offset="
+ print curr_phdr.p_offset
+ print "curr_phdr.p_filesz="
+ print curr_phdr.p_filesz
# output current phdr
if is_out_elf_64_bit == False:
@@ -525,8 +504,14 @@
new_phdr.p_offset,
new_phdr.p_filesz)
+ # Update segment alignment value if applicable
+ if new_phdr.p_align == SEGMENT_ALIGN_4K:
+ local_align = SEGMENT_ALIGN
+ else:
+ local_align = new_phdr.p_align
+
# update data segment offset to be aligned after previous segment
- segment_offset += roundup(new_phdr.p_filesz, SEGMENT_ALIGN);
+ segment_offset += roundup(new_phdr.p_filesz, local_align);
elf_in_fp1.close()
# Output second elf data if applicable
@@ -590,9 +575,10 @@
exit()
new_phdr.p_align = curr_phdr.p_align
-
-# print "i=",i
-# print "phdr_offset=", phdr_offset
+ print "i"
+ print i
+ print "phdr_offset="
+ print phdr_offset
# update output file location to next phdr location
elf_out_fp.seek(phdr_offset)
@@ -600,15 +586,12 @@
phdr_offset += out_elf_header.e_phentsize
inp_data_offset = curr_phdr.p_offset # used to read data from input file
-
-# print "inp_data_offset="
-# print inp_data_offset
-#
-# print "curr_phdr.p_offset="
-# print curr_phdr.p_offset
-#
-# print "curr_phdr.p_filesz="
-# print curr_phdr.p_filesz
+ print "inp_data_offset="
+ print inp_data_offset
+ print "curr_phdr.p_offset="
+ print curr_phdr.p_offset
+ print "curr_phdr.p_filesz="
+ print curr_phdr.p_filesz
# output current phdr
if is_out_elf_64_bit == False:
@@ -623,28 +606,38 @@
new_phdr.p_offset,
new_phdr.p_filesz)
+ # Update segment alignment value if applicable
+ if new_phdr.p_align == SEGMENT_ALIGN_4K:
+ local_align = SEGMENT_ALIGN
+ else:
+ local_align = new_phdr.p_align
+
# update data segment offset to be aligned after previous segment
- segment_offset += roundup(new_phdr.p_filesz, SEGMENT_ALIGN);
+ segment_offset += roundup(new_phdr.p_filesz, local_align);
elf_in_fp2.close()
-
+
# Embed xbl_sec image if provided
if elf_in_file_xbl_sec != "":
-
+
# Scan pheaders in xbl_sec for segment that contains entry point address
entry_seg_offset = -1
entry_addr = elf_headerxblsec.e_entry
+ start_addr = -1
for i in range(elf_headerxblsec.e_phnum):
phdr = phdr_tablexblsec[i]
- max_addr = phdr.p_vaddr + phdr.p_memsz
+ max_addr = phdr.p_vaddr + phdr.p_memsz - 1
if phdr.p_vaddr <= entry_addr <= max_addr:
entry_seg_offset = phdr.p_offset
+ start_addr = phdr.p_vaddr
break
if entry_seg_offset == -1:
print "Error: Failed to find entry point in any segment!"
exit()
# magical equation for program header's phys and virt addr
- phys_virt_addr = entry_addr - entry_seg_offset
-
+ # phys_virt_addr = entry_addr - entry_seg_offset
+ phys_virt_addr = start_addr - entry_seg_offset
+ print "entry_addr " + str(hex(entry_addr)) + "entry_seg_offset " + str(hex(start_addr)) + "phys_virt_addr " + str(hex(phys_virt_addr))
+
if is_out_elf_64_bit:
# Converting from 32 to 64 elf requires no data size validation
new_phdr = mbn_tools.Elf64_Phdr('\0' * ELF64_PHDR_SIZE)
@@ -654,7 +647,7 @@
new_phdr.p_paddr = phys_virt_addr
new_phdr.p_filesz = os.path.getsize(elf_in_file_xbl_sec)
new_phdr.p_memsz = new_phdr.p_filesz
- new_phdr.p_flags = 0x5
+ new_phdr.p_flags = 0x5 | (mbn_tools.MI_PBT_SWAPPED_SEGMENT << mbn_tools.MI_PBT_FLAG_SEGMENT_TYPE_SHIFT);
new_phdr.p_align = 0x1000
else:
# Converting from 64 to 32 elf requires data size validation
@@ -663,7 +656,7 @@
new_phdr = mbn_tools.Elf32_Phdr('\0' * ELF32_PHDR_SIZE)
new_phdr.p_type = 0x1 #
new_phdr.p_offset = segment_offset
- new_phdr.p_flags = 0x5
+ new_phdr.p_flags = 0x5 | (mbn_tools.MI_PBT_SWAPPED_SEGMENT << mbn_tools.MI_PBT_FLAG_SEGMENT_TYPE_SHIFT);
new_phdr.p_align = 0x1000
if phys_virt_addr > 0xFFFFFFFF:
@@ -678,22 +671,22 @@
exit()
new_phdr.p_filesz = os.path.getsize(elf_in_file_xbl_sec)
new_phdr.p_memsz = new_phdr.p_filesz
-
-
+
+
# update output file location to next phdr location
elf_out_fp.seek(phdr_offset)
# increment phdr_offset to next location
phdr_offset += out_elf_header.e_phentsize
# Copy entire xbl_sec file, so start from byte 0
- inp_data_offset = 0
-
+ inp_data_offset = 0
+
# Output xbl_sec's phdr
elf_in_file_xbl_sec
if is_out_elf_64_bit == False:
elf_out_fp.write(mbn_tools.Elf32_Phdr.getPackedData(new_phdr))
else:
elf_out_fp.write(mbn_tools.Elf64_Phdr.getPackedData(new_phdr))
-
+
# Copy the ENTIRE xbl_sec image
bytes_written = mbn_tools.file_copy_offset(elf_in_fpxblsec,
inp_data_offset,
@@ -702,10 +695,17 @@
new_phdr.p_filesz)
# update data segment offset to be aligned after previous segment
# Not necessary, unless appending more pheaders after this point
- segment_offset += roundup(new_phdr.p_filesz, SEGMENT_ALIGN);
+ # Update segment alignment value if applicable
+ if new_phdr.p_align == SEGMENT_ALIGN_4K:
+ local_align = SEGMENT_ALIGN
+ else:
+ local_align = new_phdr.p_align
+
+ segment_offset += roundup(new_phdr.p_filesz, local_align);
+
elf_in_fpxblsec.close()
-
+
elf_out_fp.close()
return 0
diff --git a/util/qualcomm/description.md b/util/qualcomm/description.md
old mode 100644
new mode 100755
diff --git a/util/ipqheader/ipqheader.py b/util/qualcomm/ipqheader.py
similarity index 100%
rename from util/ipqheader/ipqheader.py
rename to util/qualcomm/ipqheader.py
diff --git a/util/ipqheader/mbn_tools.py b/util/qualcomm/mbn_tools.py
similarity index 94%
rename from util/ipqheader/mbn_tools.py
rename to util/qualcomm/mbn_tools.py
index c66afda..a144b23 100755
--- a/util/ipqheader/mbn_tools.py
+++ b/util/qualcomm/mbn_tools.py
@@ -1,38 +1,15 @@
-#!/usr/bin/env python2
+#==============================================================================
+#
+# Copyright (c) 2010-2013,2017 Qualcomm Technologies, Inc.
+# All Rights Reserved.
+# Confidential and Proprietary - Qualcomm Technologies, Inc.
+#
#===============================================================================
#
# MBN TOOLS
#
# GENERAL DESCRIPTION
# Contains all MBN Utilities for image generation
-#
-# Copyright (c) 2016, The Linux Foundation. All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are
-# met:
-# * Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-# * Redistributions in binary form must reproduce the above
-# copyright notice, this list of conditions and the following
-# disclaimer in the documentation and/or other materials provided
-# with the distribution.
-# * Neither the name of The Linux Foundation nor the names of its
-# contributors may be used to endorse or promote products derived
-# from this software without specific prior written permission.
-#
-# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
-# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
-# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
-# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
-# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
-# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
#-------------------------------------------------------------------------------
# EDIT HISTORY FOR FILE
#
@@ -52,13 +29,12 @@
# 10/20/11 dxiang Clean up
#===============================================================================
-import stat
-import csv
-import itertools
-import struct
-import os
-import shutil
+import copy
import hashlib
+import os
+import re
+import shutil
+import struct
#----------------------------------------------------------------------------
# GLOBAL VARIABLES BEGIN
@@ -311,7 +287,7 @@
1) 'X's | char * | string | 'X' bytes
2) H | unsigned short | integer | 2 bytes
3) I | unsigned int | integer | 4 bytes
-
+ 4) Q | unsigned long | integer | 8 bytes
"""
#----------------------------------------------------------------------------
@@ -989,6 +965,12 @@
boot_header.cert_chain_ptr = image_dest + code_size + signature_size
boot_header.cert_chain_size = cert_chain_size
+ # If platform image integrity check is enabled
+ if 'USES_PLATFORM_IMAGE_INTEGRITY_CHECK' in env:
+ boot_header.flash_parti_ver = 5 # version
+ boot_header.image_src = 0 # sig_size_qti
+ boot_header.image_dest_ptr = 0 # cert_chain_size_qti
+
# If preamble is required, output the preamble file and update the boot_header
if requires_preamble is True:
boot_header = image_preamble(gen_dict, preamble_file_name, boot_header, num_of_pages)
@@ -1005,14 +987,16 @@
# pboot_gen_elf
#----------------------------------------------------------------------------
def pboot_gen_elf(env, elf_in_file_name,
- hash_out_file_name,
- elf_out_file_name,
- secure_type = 'non_secure',
- hash_seg_max_size = None,
- last_phys_addr = None,
- append_xml_hdr = False,
- is_sha256_algo = True,
- cert_chain_size_in = CERT_CHAIN_ONEROOT_MAXSIZE):
+ hash_out_file_name,
+ elf_out_file_name,
+ secure_type='non_secure',
+ hash_seg_max_size=None,
+ last_phys_addr=None,
+ append_xml_hdr=False,
+ is_sha256_algo=True,
+ cert_chain_size_in=CERT_CHAIN_ONEROOT_MAXSIZE,
+ hash_pageseg_as_segment=False):
+
global MI_PROG_BOOT_DIGEST_SIZE
if (is_sha256_algo is True):
MI_PROG_BOOT_DIGEST_SIZE = 32
@@ -1090,26 +1074,41 @@
off = seg_offset + seg_size
- while seg_offset < off:
+ # Add a single hash table entry for pageable segment
+ if hash_pageseg_as_segment:
+ elf_in_fp.seek(seg_offset)
+ fbuf = elf_in_fp.read(seg_size)
- if seg_offset < ELF_BLOCK_ALIGN:
- hash_size = seg_offset
- else:
- hash_size = ELF_BLOCK_ALIGN
+ if MI_PBT_CHECK_FLAG_TYPE(curr_phdr.p_flags) is True:
+ hash = generate_hash(fbuf, is_sha256_algo)
+ else:
+ hash = '\0' * MI_PROG_BOOT_DIGEST_SIZE
- elf_in_fp.seek(seg_offset)
- fbuf = elf_in_fp.read(hash_size)
+ # Write hash to file
+ hash_out_fp.write(hash)
+ hashtable_size += MI_PROG_BOOT_DIGEST_SIZE
+ # Add a hash table entry for each block of pageable segment
+ else:
+ while seg_offset < off:
- if MI_PBT_CHECK_FLAG_TYPE(curr_phdr.p_flags) is True:
- hash = generate_hash(fbuf, is_sha256_algo)
- else:
- hash = '\0' * MI_PROG_BOOT_DIGEST_SIZE
+ if seg_offset < ELF_BLOCK_ALIGN:
+ hash_size = seg_offset
+ else:
+ hash_size = ELF_BLOCK_ALIGN
- # Write hash to file
- hash_out_fp.write(hash)
+ elf_in_fp.seek(seg_offset)
+ fbuf = elf_in_fp.read(hash_size)
- hashtable_size += MI_PROG_BOOT_DIGEST_SIZE
- seg_offset += ELF_BLOCK_ALIGN
+ if MI_PBT_CHECK_FLAG_TYPE(curr_phdr.p_flags) is True:
+ hash = generate_hash(fbuf, is_sha256_algo)
+ else:
+ hash = '\0' * MI_PROG_BOOT_DIGEST_SIZE
+
+ # Write hash to file
+ hash_out_fp.write(hash)
+
+ hashtable_size += MI_PROG_BOOT_DIGEST_SIZE
+ seg_offset += ELF_BLOCK_ALIGN
# Copy the hash entry for all that are PAGED segments and those that are not the PHDR type. This is for
# backward tool compatibility where some images are generated using older exe tools.
@@ -1165,15 +1164,15 @@
bytes_to_pad = ELF_BLOCK_ALIGN - pad_hash_segment
hash_seg_end = hash_tbl_end_addr + bytes_to_pad
- # Check if a shifting is required to accommodate for the hash segment.
+ # Check if a shifting is required to accomodate for the hash segment.
# Get the minimum offset by going through the program headers.
# Note that the program headers in the input file do not contain
# the dummy program header for ELF + Program header, and the
# program header for the hashtable.
- min_offset = phdr_table[0].p_offset
+ min_offset = hash_seg_end #start with the minimum needed
for i in range(num_phdrs):
curr_phdr = phdr_table[i]
- if curr_phdr.p_offset < min_offset:
+ if curr_phdr.p_offset < min_offset and (curr_phdr.p_type != PHDR_TYPE): # discard entry of type PHDR which will have offset=0:
min_offset = curr_phdr.p_offset
if min_offset < hash_seg_end:
@@ -1443,6 +1442,11 @@
[elf_header, phdr_table] = preprocess_elf_file(elf_in_file_name)
segment_list = readSCL(scl_file_name, env['GLOBAL_DICT'])
+ if 'USES_FEATURE_DYNAMIC_LOADING' in env:
+ sub = 1
+ else:
+ sub = 0
+
if elf_header.e_ident[ELFINFO_CLASS_INDEX] == ELFINFO_CLASS_64:
curr_phdr = Elf64_Phdr('\0' * ELF64_PHDR_SIZE)
# Offset into program header where the p_flags field is stored
@@ -1456,14 +1460,14 @@
elf_in_fp = OPEN(elf_in_file_name, "r+")
# Check for corresponding number of segments
- if len(segment_list) is not elf_header.e_phnum:
+ if len(segment_list) is not (elf_header.e_phnum -sub):
raise RuntimeError, 'SCL file and ELF file have different number of segments!'
# Go to the start of the p_flag entry in the first program header
file_offset = elf_header.e_phoff + phdr_flag_off
# Change each program header flag in the ELF file based off the SCL file
- for i in range(elf_header.e_phnum):
+ for i in range(elf_header.e_phnum -sub):
# Seek to correct location and create new p_flag value
elf_in_fp.seek(file_offset)
curr_phdr = phdr_table[i]
@@ -1810,8 +1814,8 @@
# Get file names for 'cust' and 'targ' auto-generated files inside 'build/ms'
cust_h = env.subst('CUST${BUILD_ID}.H').lower()
targ_h = env.subst('TARG${BUILD_ID}.H').lower()
- cust_file_name = str(env.FindFile(cust_h, "${INC_ROOT}/build/ms"))
- targ_file_name = str(env.FindFile(targ_h, "${INC_ROOT}/build/ms"))
+ cust_file_name = str(env.FindFile(cust_h, "${INC_ROOT}/build/ms").abspath)
+ targ_file_name = str(env.FindFile(targ_h, "${INC_ROOT}/build/ms").abspath)
# Check that files are present
if (os.path.exists(cust_file_name) is True) and \
@@ -1834,45 +1838,36 @@
raise RuntimeError, "At least 1 file must be specified as an input"
global_dict = {}
- Fields = ["Define", "Key", "Value"]
# For each input file
for i in range(len(args)):
+ with open(args[i]) as fp:
+ for line in fp:
+ temp = re.findall('\#define[ ]+(\w+)([ ]+[^\n]+)*', line.strip())
+ if (1 == len(temp)):
+ k, v = temp[0]
+ k = k.strip()
+ v = v.strip()
+ if 0 == len(v):
+ # If value pair is empty string, assume feature definition is true
+ global_dict[k] = 'yes'
+ continue
- template_file_path = args[i]
- instream = OPEN(template_file_path, 'r')
- # Tokenize each line with a white space
- values = csv.DictReader(instream, Fields, delimiter=" ")
+ if global_dict is not None and len(global_dict.keys()) > 0:
+ # Check for and handle text replacements as we parse
+ all_keys = copy.copy(global_dict.keys())
+ all_keys.sort(key=lambda x: len(x), reverse=True)
+ for x in all_keys:
+ v = v.replace(x, str(global_dict[x]))
- for values in itertools.izip(values):
- new_entry = values[0]
- # Verify the parsed tokens
- if (new_entry['Define'] == '#define') and \
- (new_entry['Key'] != None) and \
- (new_entry['Value'] != None):
+ # Attempt to evaluate value
+ try:
+ v = eval(v)
+ # Catch exceptions and do not evaluate
+ except:
+ pass
- new_key = new_entry['Key'].strip()
- new_value = new_entry['Value'].strip()
-
- # If value pair is empty string, assume feature definition is true
- if new_value == '':
- new_value = 'yes'
-
- # Check for and handle text replacements as we parse
- if global_dict is not None and len(global_dict.keys()) > 0:
- for key in global_dict:
- new_value = new_value.replace(key, str(global_dict.get(key)))
-
- # Attempt to evaluate value
- try:
- new_value = eval(new_value)
- # Catch exceptions and do not evaluate
- except:
- pass
-
- # Add to global dictionary
- global_dict[new_key] = new_value
- instream.close()
+ global_dict[k] = v
return global_dict
@@ -2224,25 +2219,25 @@
#generate new file for appending target data + required MCs
file = open(target, "ab")
+ filedata_till_128kb = filedata[0:VIRTUAL_BLOCK_SIZE]
+ filedata_after_128kb = filedata[VIRTUAL_BLOCK_SIZE:length]
+
+ a = str(hex(FLASH_CODE_WORD))
+ mc1 = chr(int(a[8:10],16)) + chr(int(a[6:8],16)) + chr(int(a[4:6],16)) + chr(int(a[2:4],16))
+
+ b = str(hex(MAGIC_NUM))
+ mc2 = chr(int(b[8:10],16)) + chr(int(b[6:8],16)) + chr(int(b[4:6],16)) + chr(int(b[2:4],16))
+
+ c = str(hex(SBL_VIRTUAL_BLOCK_MAGIC_NUM))
+ mc3 = chr(int(c[8:10],16)) + chr(int(c[6:8],16)) + chr(int(c[4:6],16)) + chr(int(c[2:4],16))
+
while length > VIRTUAL_BLOCK_SIZE:
+ file.write(filedata_till_128kb)
+ filedata = mc1 + mc2 + mc3 + filedata_after_128kb
+ length = len(filedata)
filedata_till_128kb = filedata[0:VIRTUAL_BLOCK_SIZE]
filedata_after_128kb = filedata[VIRTUAL_BLOCK_SIZE:length]
- a = str(hex(FLASH_CODE_WORD))
- mc1 = chr(int(a[8:10],16)) + chr(int(a[6:8],16)) + chr(int(a[4:6],16)) + chr(int(a[2:4],16))
-
- b = str(hex(MAGIC_NUM))
- mc2 = chr(int(b[8:10],16)) + chr(int(b[6:8],16)) + chr(int(b[4:6],16)) + chr(int(b[2:4],16))
-
- c = str(hex(SBL_VIRTUAL_BLOCK_MAGIC_NUM))
- mc3 = chr(int(c[8:10],16)) + chr(int(c[6:8],16)) + chr(int(c[4:6],16)) + chr(int(c[2:4],16))
-
- MC_inserted_data = filedata_till_128kb + mc1 + mc2 + mc3
- file.write(MC_inserted_data)
-
- filedata = filedata_after_128kb
- length = len(filedata)
-
#copy the leftover data (<128KB) in output file
if length > 0:
file.write(filedata)
@@ -2313,3 +2308,4 @@
#----------------------------------------------------------------------------
# HELPER FUNCTIONS END
#----------------------------------------------------------------------------
+
diff --git a/util/ipqheader/mbncat.py b/util/qualcomm/mbncat.py
similarity index 100%
rename from util/ipqheader/mbncat.py
rename to util/qualcomm/mbncat.py
diff --git a/util/qualcomm/qgpt.py b/util/qualcomm/qgpt.py
new file mode 100755
index 0000000..596ec54
--- /dev/null
+++ b/util/qualcomm/qgpt.py
@@ -0,0 +1,249 @@
+#!/usr/bin/python
+#============================================================================
+#
+#/** @file qgpt.py
+#
+# GENERAL DESCRIPTION
+# Generates QCom GPT header for wrapping Bootblock
+#
+# Copyright (c) 2018, The Linux Foundation. All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are
+# met:
+# * Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+# * Redistributions in binary form must reproduce the above
+# copyright notice, this list of conditions and the following
+# disclaimer in the documentation and/or other materials provided
+# with the distribution.
+# * Neither the name of The Linux Foundation nor the names of its
+# contributors may be used to endorse or promote products derived
+# from this software without specific prior written permission.
+#
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
+# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
+# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+#**/
+#
+
+import os
+import math
+import random
+import re
+import struct
+import sys
+import tempfile
+
+from binascii import crc32
+from optparse import OptionParser
+from types import *
+
+
+def UpdateMBR(options, GPTBlobBuffer):
+ i = 0x1BE
+ GPTBlobBuffer[i + 0] = 0x00 # not bootable
+ GPTBlobBuffer[i + 1] = 0x00 # head
+ GPTBlobBuffer[i + 2] = 0x01 # sector
+ GPTBlobBuffer[i + 3] = 0x00 # cylinder
+ GPTBlobBuffer[i + 4] = 0xEE # type
+ GPTBlobBuffer[i + 5] = 0xFF # head
+ GPTBlobBuffer[i + 6] = 0xFF # sector
+ GPTBlobBuffer[i + 7] = 0xFF # cylinder
+ GPTBlobBuffer[i + 8:i + 8 + 4] = [0x01, 0x00, 0x00, 0x00]
+
+ GPTBlobBuffer[i + 12:i + 16] = [0x00, 0x0f, 0x00, 0x00]
+
+ # magic byte for MBR partitioning - always at this location regardless of
+ # options.sector
+ GPTBlobBuffer[510:512] = [0x55, 0xAA]
+ return i
+
+
+def UpdatePartitionEntry(options, GPTBlobBuffer):
+
+ i = 2 * options.sector_size
+ # GUID of Boot Block
+ GPTBlobBuffer[i:i + 16] = [0x2c, 0xba, 0xa0, 0xde, 0xdd, 0xcb, 0x05, 0x48,
+ 0xb4, 0xf9, 0xf4, 0x28, 0x25, 0x1c, 0x3e, 0x98]
+ i += 16
+
+ #This is to set Unique Partition GUID. Below Hex Value is : 00ChezaBootblock00
+ UniquePartitionGUID = 0x6b636f6c62746f6f42617a65684300
+
+ for b in range(16):
+ GPTBlobBuffer[i] = ((UniquePartitionGUID >> (b * 8)) & 0xFF)
+ i += 1
+
+ # LBA of BootBlock Start Content
+ GPTBlobBuffer[i:i + 8] = [0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00]
+ i += 8
+
+ # End LBA of BootBlock Content
+ GPTBlobBuffer[i] = options.end_lba & 0xFF
+ GPTBlobBuffer[i+1] = (options.end_lba>>8) & 0xFF
+ GPTBlobBuffer[i+2] = (options.end_lba>>16) & 0xFF
+ GPTBlobBuffer[i+3] = (options.end_lba>>24) & 0xFF
+ GPTBlobBuffer[i+4] = (options.end_lba>>32) & 0xFF
+ GPTBlobBuffer[i+5] = (options.end_lba>>40) & 0xFF
+ GPTBlobBuffer[i+6] = (options.end_lba>>48) & 0xFF
+ GPTBlobBuffer[i+7] = (options.end_lba>>56) & 0xFF
+ i += 8
+
+ # Attributes
+ GPTBlobBuffer[i:i + 8] = [0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00]
+ i += 8
+
+ # Lable
+ GPTBlobBuffer[i:i + 17] = [0x62, 0x00, 0x6f, 0x00, 0x6f, 0x00, 0x74, 0x00,
+ 0x62, 0x00, 0x6c, 0x00, 0x6f, 0x00, 0x63, 0x00, 0x6b]
+
+ return i
+
+def UpdateGPTHeader(options, GPTBlobBuffer):
+
+ i = options.sector_size
+ # Signature and Revision and HeaderSize i.e. "EFI PART" and 00 00 01 00
+ # and 5C 00 00 00
+ GPTBlobBuffer[i:i + 16] = [0x45, 0x46, 0x49, 0x20, 0x50, 0x41, 0x52, 0x54,
+ 0x00, 0x00, 0x01, 0x00, 0x5C, 0x00, 0x00, 0x00]
+ i += 16
+
+ # CRC is zeroed out till calculated later
+ GPTBlobBuffer[i:i + 4] = [0x00, 0x00, 0x00, 0x00]
+ i += 4
+
+ # Reserved, set to 0
+ GPTBlobBuffer[i:i + 4] = [0x00, 0x00, 0x00, 0x00]
+ i += 4
+
+ # Current LBA
+ GPTBlobBuffer[i:i + 8] = [0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00]
+ i += 8
+
+ # Backup LBA, No Backup Gpt Used
+ GPTBlobBuffer[i:i + 8] = [0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00]
+ i += 8
+
+ # First Usuable LBA (qc_sec + bootblock location)
+ GPTBlobBuffer[i:i + 8] = [0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00]
+ i += 8
+
+ # Last Usuable LBA (qc_sec + bootblock end location)
+ GPTBlobBuffer[i] = options.end_lba & 0xFF
+ GPTBlobBuffer[i+1] = (options.end_lba>>8) & 0xFF
+ GPTBlobBuffer[i+2] = (options.end_lba>>16) & 0xFF
+ GPTBlobBuffer[i+3] = (options.end_lba>>24) & 0xFF
+ GPTBlobBuffer[i+4] = (options.end_lba>>32) & 0xFF
+ GPTBlobBuffer[i+5] = (options.end_lba>>40) & 0xFF
+ GPTBlobBuffer[i+6] = (options.end_lba>>48) & 0xFF
+ GPTBlobBuffer[i+7] = (options.end_lba>>56) & 0xFF
+ i += 8
+
+ # GUID
+ GPTBlobBuffer[i:i + 16] = [0x32,0x1B,0x10,0x98,0xE2,0xBB,0xF2,0x4B,
+ 0xA0,0x6E,0x2B,0xB3,0x3D,0x00,0x0C,0x20]
+ i += 16
+
+ # Partition Table Entry LBA
+ GPTBlobBuffer[i:i + 8] = [0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00]
+ i += 8
+
+ # Number of Partition Entries
+ GPTBlobBuffer[i:i + 4] = [0x01, 0x00, 0x00, 0x00]
+ i += 4
+
+ # Size of One Partition Entry
+ GPTBlobBuffer[i:i + 4] = [0x80, 0x00, 0x00, 0x00]
+ i += 4
+
+ # CRC of Partition Entry
+
+ PartEntry = GPTBlobBuffer[options.sector_size*2:options.sector_size*2 + 128]
+ CalcEntryCRC = crc32(''.join(struct.pack("B", x) for x in PartEntry))
+
+ GPTBlobBuffer[i] = CalcEntryCRC & 0xFF
+ GPTBlobBuffer[i+1] = (CalcEntryCRC>>8) & 0xFF
+ GPTBlobBuffer[i+2] = (CalcEntryCRC>>16) & 0xFF
+ GPTBlobBuffer[i+3] = (CalcEntryCRC>>24) & 0xFF
+ i += 4
+
+ # CRC of Partition Table Header
+ GPTHeader = GPTBlobBuffer[options.sector_size:options.sector_size + 92]
+ CalcEntryCRC = crc32(''.join(struct.pack("B", x) for x in GPTHeader))
+ i = options.sector_size + 16
+
+ GPTBlobBuffer[i] = CalcEntryCRC & 0xFF
+ GPTBlobBuffer[i+1] = (CalcEntryCRC>>8) & 0xFF
+ GPTBlobBuffer[i+2] = (CalcEntryCRC>>16) & 0xFF
+ GPTBlobBuffer[i+3] = (CalcEntryCRC>>24) & 0xFF
+
+ return i
+
+
+def openfile(name, perm):
+ try:
+ f = open(name, perm)
+ except:
+ print("could not open path {0}".format(name))
+ print("Do you have read permissions on the path?")
+ sys.exit(1)
+ return f
+
+
+if __name__ == '__main__':
+ usage = 'usage: %prog [OPTIONS] INFILE OUTFILE\n\n' + \
+ 'Packages IMAGE in a GPT format.'
+ parser = OptionParser(usage)
+ parser.add_option('-s', type="int", dest='sector_size', default=4096,
+ help='Sector size in bytes [Default:4096(4KB)]',
+ metavar='SIZE')
+
+ (options, args) = parser.parse_args()
+ if len(args) != 2:
+ print("Invalid arguments! Exiting...\n")
+ parser.print_help()
+ sys.exit(1)
+
+ if options.sector_size != 4096 and options.sector_size != 512:
+ print("Invalid Sector Size")
+ sys.exit(1)
+
+ options.inputfile = args[0]
+ options.outputfile = args[1]
+
+ try:
+ statinfo = os.stat(options.inputfile)
+ except OSError as err:
+ print('OS Error: {0}'.format(err))
+ sys.exit(1)
+
+ # 3(MBR+GPT+PART_ENTRY) + 1(if the input file size is not perfect division of sector size)
+ options.end_lba = (statinfo.st_size/options.sector_size)+4
+
+
+ GPTBlobBuffer = [0] * (options.sector_size*3) #Size of MBR+GPT+PART_ENTRY
+
+ UpdateMBR(options, GPTBlobBuffer)
+
+ UpdatePartitionEntry(options, GPTBlobBuffer)
+
+ UpdateGPTHeader(options, GPTBlobBuffer)
+
+ fin = openfile(options.inputfile, 'r+')
+ fout = openfile(options.outputfile, 'wb')
+ for b in GPTBlobBuffer:
+ fout.write(struct.pack("B", b))
+ bb_buffer = fin.read(statinfo.st_size)
+ fout.write(bb_buffer)
+ fout.close()
+ fin.close()
diff --git a/util/qualcomm/scripts/cmm/debug_cb_405.cmm b/util/qualcomm/scripts/cmm/debug_cb_405.cmm
old mode 100644
new mode 100755
diff --git a/util/qualcomm/scripts/cmm/debug_cb_845.cmm b/util/qualcomm/scripts/cmm/debug_cb_845.cmm
old mode 100644
new mode 100755
diff --git a/util/qualcomm/scripts/cmm/debug_cb_common.cmm b/util/qualcomm/scripts/cmm/debug_cb_common.cmm
old mode 100644
new mode 100755
diff --git a/util/qualcomm/scripts/cmm/pbl32_to_bootblock64_jump.cmm b/util/qualcomm/scripts/cmm/pbl32_to_bootblock64_jump.cmm
old mode 100644
new mode 100755
--
To view, visit https://review.coreboot.org/c/coreboot/+/29973
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ief4d92214cdc7ec06e90b0c7e73c11b6d6deddb9
Gerrit-Change-Number: 29973
Gerrit-PatchSet: 1
Gerrit-Owner: nsekar(a)codeaurora.org
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-Reviewer: nsekar(a)codeaurora.org
Gerrit-MessageType: newchange
nsekar(a)codeaurora.org has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/29971
Change subject: qcs405: Clear bss for bootblock
......................................................................
qcs405: Clear bss for bootblock
Looks like bss is not zero cleared, resulting in
unintialized section to have junk data values. So clear it up
before jumping to 'C' code.
Change-Id: I1b751ced2c948f45a7b365b695eb95869dfcdc29
Signed-off-by: Nitheesh Sekar <nsekar(a)codeaurora.org>
Signed-off-by: Sricharan R <sricharan(a)codeaurora.org>
---
M src/arch/arm64/armv8/cpu.S
1 file changed, 9 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/71/29971/1
diff --git a/src/arch/arm64/armv8/cpu.S b/src/arch/arm64/armv8/cpu.S
index 935f1fe..d3fd9d3 100644
--- a/src/arch/arm64/armv8/cpu.S
+++ b/src/arch/arm64/armv8/cpu.S
@@ -141,6 +141,15 @@
dsb sy
isb
+ /* Finally clear the bss here */
+ ldr x1, =_bss
+ ldr x2, =_ebss
+ mov x0, #0
+2:
+ stp x0, x0, [x1], #16
+ cmp x1, x2
+ bne 2b
+
/* Initialize stack with sentinel value to later check overflow. */
ldr x2, =0xdeadbeefdeadbeef
ldr x0, =_stack
--
To view, visit https://review.coreboot.org/c/coreboot/+/29971
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I1b751ced2c948f45a7b365b695eb95869dfcdc29
Gerrit-Change-Number: 29971
Gerrit-PatchSet: 1
Gerrit-Owner: nsekar(a)codeaurora.org
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: nsekar(a)codeaurora.org
Gerrit-MessageType: newchange
nsekar(a)codeaurora.org has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/29956
Change subject: qcs405: Implement bitbang UART for bootblock
......................................................................
qcs405: Implement bitbang UART for bootblock
This patch replaces the UART in the bootblock of QCS405 with a bitbang
implementation. Since QCS405 hardware UART needs a firmware blob loaded
into it before it becomes usable, it is not really suited for use in the
bootblock (since by the time we can read blobs from SPI, the bootblock
is essentially over anyway). This solution allows us to still have some
console output during early SoC initialization.
Change-Id: Ib631929f6194d0da8571a930230f0eb460fefaa6
Signed-off-by: Sricharan R <sricharan(a)codeaurora.org>
Signed-off-by: Nitheesh Sekar <nsekar(a)codeaurora.org>
---
M src/soc/qualcomm/qcs405/Kconfig
M src/soc/qualcomm/qcs405/Makefile.inc
A src/soc/qualcomm/qcs405/uart_bitbang.c
3 files changed, 47 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/56/29956/1
diff --git a/src/soc/qualcomm/qcs405/Kconfig b/src/soc/qualcomm/qcs405/Kconfig
index 83c3996..492e80e 100644
--- a/src/soc/qualcomm/qcs405/Kconfig
+++ b/src/soc/qualcomm/qcs405/Kconfig
@@ -11,6 +11,7 @@
select GENERIC_UDELAY
select HAVE_MONOTONIC_TIMER
select ARM64_USE_ARCH_TIMER
+ select HAVE_UART_SPECIAL
if SOC_QUALCOMM_QCS405
diff --git a/src/soc/qualcomm/qcs405/Makefile.inc b/src/soc/qualcomm/qcs405/Makefile.inc
index 131f204..f05c987 100644
--- a/src/soc/qualcomm/qcs405/Makefile.inc
+++ b/src/soc/qualcomm/qcs405/Makefile.inc
@@ -7,6 +7,7 @@
bootblock-y += mmu.c
bootblock-y += timer.c
bootblock-y += gpio.c
+bootblock-$(CONFIG_DRIVERS_UART) += uart_bitbang.c
################################################################################
verstage-y += spi.c
diff --git a/src/soc/qualcomm/qcs405/uart_bitbang.c b/src/soc/qualcomm/qcs405/uart_bitbang.c
new file mode 100644
index 0000000..8827bc4
--- /dev/null
+++ b/src/soc/qualcomm/qcs405/uart_bitbang.c
@@ -0,0 +1,45 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright 2018 Google LLC
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 and
+ * only version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ */
+
+#include <console/uart.h>
+#include <gpio.h>
+#include <types.h>
+
+#define UART_TX_PIN GPIO(17)
+
+static void set_tx(int line_state)
+{
+ gpio_set(UART_TX_PIN, line_state);
+}
+
+void uart_init(int idx)
+{
+ gpio_output(UART_TX_PIN, 1);
+}
+
+void uart_tx_byte(int idx, unsigned char data)
+{
+ uart_bitbang_tx_byte(data, set_tx);
+}
+
+void uart_tx_flush(int idx)
+{
+ /* unnecessary, PIO Tx means transaction is over when tx_byte returns */
+}
+
+unsigned char uart_rx_byte(int idx)
+{
+ return 0; /* not implemented */
+}
--
To view, visit https://review.coreboot.org/c/coreboot/+/29956
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ib631929f6194d0da8571a930230f0eb460fefaa6
Gerrit-Change-Number: 29956
Gerrit-PatchSet: 1
Gerrit-Owner: nsekar(a)codeaurora.org
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: nsekar(a)codeaurora.org
Gerrit-MessageType: newchange
nsekar(a)codeaurora.org has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/29950
Change subject: soc/qualcomm/qcs405: Add MMU support
......................................................................
soc/qualcomm/qcs405: Add MMU support
Initialize 1st 4GB as Device Memory, except:
* 1st page: NULL address
* System_IMEM: Cached SRAM
* Boot_IMEM: Cached SRAM
Change-Id: I8c6353be2c0379ec94f91223805762a2286de06d
Signed-off-by: Sricharan R <sricharan(a)codeaurora.org>
Signed-off-by: Nitheesh Sekar <nsekar(a)codeaurora.org>
---
M src/soc/qualcomm/qcs405/Makefile.inc
M src/soc/qualcomm/qcs405/bootblock.c
A src/soc/qualcomm/qcs405/include/soc/mmu.h
A src/soc/qualcomm/qcs405/include/soc/symbols.h
A src/soc/qualcomm/qcs405/mmu.c
5 files changed, 85 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/50/29950/1
diff --git a/src/soc/qualcomm/qcs405/Makefile.inc b/src/soc/qualcomm/qcs405/Makefile.inc
index 15f5a0c..2d1f842 100644
--- a/src/soc/qualcomm/qcs405/Makefile.inc
+++ b/src/soc/qualcomm/qcs405/Makefile.inc
@@ -5,6 +5,7 @@
bootblock-y += bootblock.c
bootblock-y += timer.c
bootblock-y += spi.c
+bootblock-y += mmu.c
################################################################################
verstage-y += timer.c
diff --git a/src/soc/qualcomm/qcs405/bootblock.c b/src/soc/qualcomm/qcs405/bootblock.c
index 3ed37ae..5e63f13 100644
--- a/src/soc/qualcomm/qcs405/bootblock.c
+++ b/src/soc/qualcomm/qcs405/bootblock.c
@@ -14,8 +14,9 @@
*/
#include <bootblock_common.h>
+#include <soc/mmu.h>
void bootblock_soc_init(void)
{
-
+ qcs405_mmu_init();
}
diff --git a/src/soc/qualcomm/qcs405/include/soc/mmu.h b/src/soc/qualcomm/qcs405/include/soc/mmu.h
new file mode 100644
index 0000000..bc42e72
--- /dev/null
+++ b/src/soc/qualcomm/qcs405/include/soc/mmu.h
@@ -0,0 +1,21 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2018, The Linux Foundation. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 and
+ * only version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ */
+
+#ifndef _SOC_QUALCOMM_QCS405_MMU_H__
+#define _SOC_QUALCOMM_QCS405_MMU_H__
+
+void qcs405_mmu_init(void);
+
+#endif // _SOC_QUALCOMM_QCS405_MMU_H_
diff --git a/src/soc/qualcomm/qcs405/include/soc/symbols.h b/src/soc/qualcomm/qcs405/include/soc/symbols.h
new file mode 100644
index 0000000..7b35c55
--- /dev/null
+++ b/src/soc/qualcomm/qcs405/include/soc/symbols.h
@@ -0,0 +1,29 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2018, The Linux Foundation. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 and
+ * only version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ */
+
+#ifndef _SOC_QUALCOMM_QCS405_SYMBOLS_H_
+#define _SOC_QUALCOMM_QCS405_SYMBOLS_H_
+
+#include <types.h>
+
+extern u8 _ssram[];
+extern u8 _essram[];
+#define _ssram_size (_essram - _ssram)
+
+extern u8 _bsram[];
+extern u8 _ebsram[];
+#define _bsram_size (_ebsram - _bsram)
+
+#endif // _SOC_QUALCOMM_QCS405_SYMBOLS_H_
diff --git a/src/soc/qualcomm/qcs405/mmu.c b/src/soc/qualcomm/qcs405/mmu.c
new file mode 100644
index 0000000..b47de42
--- /dev/null
+++ b/src/soc/qualcomm/qcs405/mmu.c
@@ -0,0 +1,32 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2018, The Linux Foundation. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 and
+ * only version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ */
+
+#include <symbols.h>
+#include <arch/mmu.h>
+#include <arch/cache.h>
+#include <soc/mmu.h>
+#include <soc/symbols.h>
+
+void qcs405_mmu_init()
+{
+ mmu_init();
+
+ mmu_config_range((void *)(4 * KiB), ((4UL * GiB) - (4 * KiB)),
+ MA_DEV | MA_S | MA_RW);
+ mmu_config_range((void *)_ssram, _ssram_size, MA_MEM | MA_S | MA_RW);
+ mmu_config_range((void *)_bsram, _bsram_size, MA_MEM | MA_S | MA_RW);
+
+ mmu_enable();
+}
--
To view, visit https://review.coreboot.org/c/coreboot/+/29950
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I8c6353be2c0379ec94f91223805762a2286de06d
Gerrit-Change-Number: 29950
Gerrit-PatchSet: 1
Gerrit-Owner: nsekar(a)codeaurora.org
Gerrit-MessageType: newchange
nsekar(a)codeaurora.org has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/29949
Change subject: mainboard/google/mistral: Add support for Mistral
......................................................................
mainboard/google/mistral: Add support for Mistral
Adding a new board variant 'Mistral' based on qcs405 soc.
TEST=build
Change-Id: I7ecfad68bb50f42acf36f51bc3433add56597c3d
Signed-off-by: Sricharan R <sricharan(a)codeaurora.org>
Signed-off-by: Nitheesh Sekar <nsekar(a)codeaurora.org>
---
A src/mainboard/google/mistral/Kconfig
A src/mainboard/google/mistral/Kconfig.name
A src/mainboard/google/mistral/Makefile.inc
A src/mainboard/google/mistral/board_info.txt
A src/mainboard/google/mistral/bootblock.c
A src/mainboard/google/mistral/chromeos.c
A src/mainboard/google/mistral/chromeos.fmd
A src/mainboard/google/mistral/devicetree.cb
A src/mainboard/google/mistral/mainboard.c
A src/mainboard/google/mistral/memlayout.ld
A src/mainboard/google/mistral/romstage.c
11 files changed, 256 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/49/29949/1
diff --git a/src/mainboard/google/mistral/Kconfig b/src/mainboard/google/mistral/Kconfig
new file mode 100644
index 0000000..f8e8ac7
--- /dev/null
+++ b/src/mainboard/google/mistral/Kconfig
@@ -0,0 +1,43 @@
+
+config BOARD_GOOGLE_MISTRAL_COMMON # Umbrella option to be selected by variants
+ def_bool n
+
+if BOARD_GOOGLE_MISTRAL_COMMON
+
+config BOARD_SPECIFIC_OPTIONS
+ def_bool y
+ select BOARD_ROMSIZE_KB_8192
+ select COMMON_CBFS_SPI_WRAPPER
+ select SOC_QUALCOMM_QCS405
+ select SPI_FLASH
+ select MAINBOARD_HAS_CHROMEOS
+ select MISSING_BOARD_RESET
+
+config VBOOT
+ select VBOOT_VBNV_FLASH
+ select VBOOT_MOCK_SECDATA
+ select VBOOT_NO_BOARD_SUPPORT
+ select GBB_FLAG_FORCE_DEV_SWITCH_ON
+
+config MAINBOARD_DIR
+ string
+ default google/mistral
+
+config MAINBOARD_VENDOR
+ string
+ default "Google"
+
+##########################################################
+#### Update below when adding a new derivative board. ####
+##########################################################
+
+config MAINBOARD_PART_NUMBER
+ string
+ default "Mistral" if BOARD_GOOGLE_MISTRAL
+
+config GBB_HWID
+ string
+ depends on CHROMEOS
+ default "MISTRAL TEST 1859" if BOARD_GOOGLE_MISTRAL
+
+endif # BOARD_GOOGLE_MISTRAL_COMMON
diff --git a/src/mainboard/google/mistral/Kconfig.name b/src/mainboard/google/mistral/Kconfig.name
new file mode 100644
index 0000000..ca51fa2
--- /dev/null
+++ b/src/mainboard/google/mistral/Kconfig.name
@@ -0,0 +1,4 @@
+
+config BOARD_GOOGLE_MISTRAL
+ bool "Mistral"
+ select BOARD_GOOGLE_MISTRAL_COMMON
diff --git a/src/mainboard/google/mistral/Makefile.inc b/src/mainboard/google/mistral/Makefile.inc
new file mode 100644
index 0000000..0e2f6bd
--- /dev/null
+++ b/src/mainboard/google/mistral/Makefile.inc
@@ -0,0 +1,15 @@
+
+bootblock-y += memlayout.ld
+bootblock-y += chromeos.c
+bootblock-y += bootblock.c
+
+verstage-y += memlayout.ld
+verstage-y += chromeos.c
+
+romstage-y += memlayout.ld
+romstage-y += chromeos.c
+romstage-y += romstage.c
+
+ramstage-y += memlayout.ld
+ramstage-y += chromeos.c
+ramstage-y += mainboard.c
diff --git a/src/mainboard/google/mistral/board_info.txt b/src/mainboard/google/mistral/board_info.txt
new file mode 100644
index 0000000..5ef77d7
--- /dev/null
+++ b/src/mainboard/google/mistral/board_info.txt
@@ -0,0 +1,6 @@
+Vendor name: Google
+Board name: Mistral Qualcomm QCS405 reference board
+Category: eval
+ROM protocol: SPI
+ROM socketed: n
+Flashrom support: y
diff --git a/src/mainboard/google/mistral/bootblock.c b/src/mainboard/google/mistral/bootblock.c
new file mode 100644
index 0000000..6718d52
--- /dev/null
+++ b/src/mainboard/google/mistral/bootblock.c
@@ -0,0 +1,22 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2018, The Linux Foundation. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 and
+ * only version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ */
+
+#include <bootblock_common.h>
+#include <timestamp.h>
+
+void bootblock_mainboard_init(void)
+{
+
+}
diff --git a/src/mainboard/google/mistral/chromeos.c b/src/mainboard/google/mistral/chromeos.c
new file mode 100644
index 0000000..538e46f
--- /dev/null
+++ b/src/mainboard/google/mistral/chromeos.c
@@ -0,0 +1,21 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2018, The Linux Foundation. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 and
+ * only version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ */
+
+#include <boot/coreboot_tables.h>
+
+void fill_lb_gpios(struct lb_gpios *gpios)
+{
+
+}
diff --git a/src/mainboard/google/mistral/chromeos.fmd b/src/mainboard/google/mistral/chromeos.fmd
new file mode 100644
index 0000000..e8b9978
--- /dev/null
+++ b/src/mainboard/google/mistral/chromeos.fmd
@@ -0,0 +1,52 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2018, The Linux Foundation. All rights reserved.
+##
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License version 2 and
+## only version 2 as published by the Free Software Foundation.
+##
+## 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.
+##
+
+FLASH@0x0 0x800000 {
+ WP_RO@0x0 0x300000 {
+ RO_SECTION@0x0 0x2FE000 {
+ BOOTBLOCK@0 248K
+ COREBOOT(CBFS)@0x3E000 0x1E0000
+ FMAP@0x21E000 0x1000
+ GBB@0x21F000 0xDEF00
+ RO_FRID@0x2FDF00 0x100
+ }
+ RO_VPD@0x2FE000 0x2000
+ }
+
+ RW_NVRAM@0x300000 0x8000
+ RW_ELOG@0x308000 0x8000
+ RW_VPD@0x310000 0x8000
+ RW_CDT@0x318000 0x8000
+
+ RW_SECTION_A@0x320000 0x268000 {
+ VBLOCK_A@0x0 0x2000
+ FW_MAIN_A(CBFS)@0x2000 0x1E1F00
+ RW_FWID_A@0x1E3F00 0x100
+ RW_DDR_TRAINING_A@0x1E4000 0x4000
+ RW_XBL_BUFFER_A@0x1E8000 0x4000
+ }
+
+ RW_SHARED@0x588000 0x10000 {
+ SHARED_DATA@0x0 0x10000
+ }
+
+ RW_SECTION_B@0x598000 0x268000 {
+ VBLOCK_B@0x0 0x2000
+ FW_MAIN_B(CBFS)@0x2000 0x1E1F00
+ RW_FWID_B@0x1E3F00 0x100
+ RW_DDR_TRAINING_B@0x1E4000 0x4000
+ RW_XBL_BUFFER_B@0x1E8000 0x4000
+ }
+}
diff --git a/src/mainboard/google/mistral/devicetree.cb b/src/mainboard/google/mistral/devicetree.cb
new file mode 100644
index 0000000..977f4c6
--- /dev/null
+++ b/src/mainboard/google/mistral/devicetree.cb
@@ -0,0 +1,18 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2018, The Linux Foundation. All rights reserved.
+##
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License version 2 and
+## only version 2 as published by the Free Software Foundation.
+##
+## 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/qualcomm/qcs405
+ device cpu_cluster 0 on end
+end
diff --git a/src/mainboard/google/mistral/mainboard.c b/src/mainboard/google/mistral/mainboard.c
new file mode 100644
index 0000000..c249a32
--- /dev/null
+++ b/src/mainboard/google/mistral/mainboard.c
@@ -0,0 +1,33 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2018, The Linux Foundation. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 and
+ * only version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ */
+
+#include <device/device.h>
+#include <bootblock_common.h>
+#include <timestamp.h>
+
+static void mainboard_init(device_t dev)
+{
+
+}
+
+static void mainboard_enable(device_t 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/mistral/memlayout.ld b/src/mainboard/google/mistral/memlayout.ld
new file mode 100644
index 0000000..cbc50e2
--- /dev/null
+++ b/src/mainboard/google/mistral/memlayout.ld
@@ -0,0 +1,16 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2018, The Linux Foundation. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 and
+ * only version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ */
+
+ #include <soc/memlayout.ld>
diff --git a/src/mainboard/google/mistral/romstage.c b/src/mainboard/google/mistral/romstage.c
new file mode 100644
index 0000000..079e20b
--- /dev/null
+++ b/src/mainboard/google/mistral/romstage.c
@@ -0,0 +1,26 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2018, The Linux Foundation. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 and
+ * only version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ */
+
+#include <arch/exception.h>
+#include <cbmem.h>
+#include <halt.h>
+#include <program_loading.h>
+#include <console/console.h>
+#include <timestamp.h>
+#include <arch/stages.h>
+
+void platform_romstage_main(void)
+{
+}
--
To view, visit https://review.coreboot.org/c/coreboot/+/29949
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I7ecfad68bb50f42acf36f51bc3433add56597c3d
Gerrit-Change-Number: 29949
Gerrit-PatchSet: 1
Gerrit-Owner: nsekar(a)codeaurora.org
Gerrit-MessageType: newchange
nsekar(a)codeaurora.org has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/29948
Change subject: soc/qualcomm/qcs405: Support for new SoC
......................................................................
soc/qualcomm/qcs405: Support for new SoC
Adding the basic infrastruture soc support for qcs405 and
a new build variant.
TEST=build
Change-Id: Ia379cf375e4459ed55cc36cb8a0a92cab18b705e
Signed-off-by: Sricharan R <sricharan(a)codeaurora.org>
Signed-off-by: Nitheesh Sekar <nsekar(a)codeaurora.org>
---
A src/soc/qualcomm/qcs405/Kconfig
A src/soc/qualcomm/qcs405/Makefile.inc
A src/soc/qualcomm/qcs405/bootblock.c
A src/soc/qualcomm/qcs405/cbmem.c
A src/soc/qualcomm/qcs405/include/soc/gpio.h
A src/soc/qualcomm/qcs405/include/soc/memlayout.ld
A src/soc/qualcomm/qcs405/soc.c
A src/soc/qualcomm/qcs405/spi.c
A src/soc/qualcomm/qcs405/timer.c
9 files changed, 288 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/48/29948/1
diff --git a/src/soc/qualcomm/qcs405/Kconfig b/src/soc/qualcomm/qcs405/Kconfig
new file mode 100644
index 0000000..560d988
--- /dev/null
+++ b/src/soc/qualcomm/qcs405/Kconfig
@@ -0,0 +1,21 @@
+
+config SOC_QUALCOMM_QCS405
+ bool
+ default n
+ select ARCH_BOOTBLOCK_ARMV8_64
+ select ARCH_RAMSTAGE_ARMV8_64
+ select ARCH_ROMSTAGE_ARMV8_64
+ select ARCH_VERSTAGE_ARMV8_64
+ select BOOTBLOCK_CONSOLE
+ select GENERIC_GPIO_LIB
+ select GENERIC_UDELAY
+ select HAVE_MONOTONIC_TIMER
+
+if SOC_QUALCOMM_QCS405
+
+config VBOOT
+ select VBOOT_SEPARATE_VERSTAGE
+ select VBOOT_RETURN_FROM_VERSTAGE
+ select VBOOT_OPROM_MATTERS
+ select VBOOT_STARTS_IN_BOOTBLOCK
+endif
diff --git a/src/soc/qualcomm/qcs405/Makefile.inc b/src/soc/qualcomm/qcs405/Makefile.inc
new file mode 100644
index 0000000..15f5a0c
--- /dev/null
+++ b/src/soc/qualcomm/qcs405/Makefile.inc
@@ -0,0 +1,32 @@
+
+ifeq ($(CONFIG_SOC_QUALCOMM_QCS405),y)
+
+################################################################################
+bootblock-y += bootblock.c
+bootblock-y += timer.c
+bootblock-y += spi.c
+
+################################################################################
+verstage-y += timer.c
+verstage-y += spi.c
+
+################################################################################
+romstage-y += timer.c
+romstage-y += spi.c
+romstage-y += cbmem.c
+
+################################################################################
+ramstage-y += soc.c
+ramstage-y += timer.c
+ramstage-y += spi.c
+ramstage-y += cbmem.c
+
+################################################################################
+
+CPPFLAGS_common += -Isrc/soc/qualcomm/qcs405/include
+
+$(objcbfs)/bootblock.bin: $(objcbfs)/bootblock.raw.bin
+ @printf "Generating: $(subst $(obj)/,,$(@))\n"
+ cp $(objcbfs)/bootblock.raw.bin $(objcbfs)/bootblock.bin
+
+endif
diff --git a/src/soc/qualcomm/qcs405/bootblock.c b/src/soc/qualcomm/qcs405/bootblock.c
new file mode 100644
index 0000000..3ed37ae
--- /dev/null
+++ b/src/soc/qualcomm/qcs405/bootblock.c
@@ -0,0 +1,21 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2018, The Linux Foundation. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 and
+ * only version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ */
+
+#include <bootblock_common.h>
+
+void bootblock_soc_init(void)
+{
+
+}
diff --git a/src/soc/qualcomm/qcs405/cbmem.c b/src/soc/qualcomm/qcs405/cbmem.c
new file mode 100644
index 0000000..3b9ad4a
--- /dev/null
+++ b/src/soc/qualcomm/qcs405/cbmem.c
@@ -0,0 +1,21 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2018, The Linux Foundation. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 and
+ * only version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ */
+
+#include <cbmem.h>
+
+void *cbmem_top(void)
+{
+ return (void *)((uintptr_t)4 * GiB);
+}
diff --git a/src/soc/qualcomm/qcs405/include/soc/gpio.h b/src/soc/qualcomm/qcs405/include/soc/gpio.h
new file mode 100644
index 0000000..e1ad453
--- /dev/null
+++ b/src/soc/qualcomm/qcs405/include/soc/gpio.h
@@ -0,0 +1,23 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2018, The Linux Foundation. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 and
+ * only version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ */
+
+#ifndef _SOC_QUALCOMM_QCS405_GPIO_H_
+#define _SOC_QUALCOMM_QCS405_GPIO_H_
+
+#include <types.h>
+
+typedef u32 gpio_t;
+
+#endif // _SOC_QUALCOMM_QCS405_GPIO_H_
diff --git a/src/soc/qualcomm/qcs405/include/soc/memlayout.ld b/src/soc/qualcomm/qcs405/include/soc/memlayout.ld
new file mode 100644
index 0000000..c0f5759
--- /dev/null
+++ b/src/soc/qualcomm/qcs405/include/soc/memlayout.ld
@@ -0,0 +1,51 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2018, The Linux Foundation. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 and
+ * only version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ */
+
+#include <memlayout.h>
+#include <arch/header.ld>
+
+/* SYSTEM_IMEM : 0x8600000 - 0x8607FFF */
+#define SSRAM_START(addr) SYMBOL(ssram, addr)
+#define SSRAM_END(addr) SYMBOL(essram, addr)
+
+/* BOOT_IMEM : 0x8C00000 - 0x8D80000 */
+#define BSRAM_START(addr) SYMBOL(bsram, addr)
+#define BSRAM_END(addr) SYMBOL(ebsram, addr)
+
+SECTIONS
+{
+ SSRAM_START(0x8600000)
+ SSRAM_END(0x8608000)
+
+ BSRAM_START(0x8C00000)
+ OVERLAP_VERSTAGE_ROMSTAGE(0x8C00000, 100K)
+ REGION(fw_reserved2, 0x8C19000, 0x16000, 4096)
+ BOOTBLOCK(0x8C2F000, 40K)
+ TTB(0x8C39000, 56K)
+ VBOOT2_WORK(0x8C47000, 16K)
+ STACK(0x8C4B000, 16K)
+ TIMESTAMP(0x8C4F000, 1K)
+ PRERAM_CBMEM_CONSOLE(0x8C4F400, 32K)
+ PRERAM_CBFS_CACHE(0x8C57400, 70K)
+ REGION(bsram_unused, 0x8C68C00, 0xA2400, 0x100)
+/* REGION(qclib, 0x8D0B000, 0x80000, 4096)
+ REGION(dcb, 0x8D8B000, 0x4000, 4096)
+ REGION(pmic, 0x8D8F000, 0xA000, 4096)*/
+ BSRAM_END(0x8D80000)
+
+ DRAM_START(0x90000000)
+ POSTRAM_CBFS_CACHE(0x90000000, 384K)
+ RAMSTAGE(0x90800000, 128K)
+}
diff --git a/src/soc/qualcomm/qcs405/soc.c b/src/soc/qualcomm/qcs405/soc.c
new file mode 100644
index 0000000..7870219
--- /dev/null
+++ b/src/soc/qualcomm/qcs405/soc.c
@@ -0,0 +1,42 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2018, The Linux Foundation. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 and
+ * only version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ */
+
+#include <device/device.h>
+#include <timestamp.h>
+
+static void soc_read_resources(device_t dev)
+{
+
+}
+
+static void soc_init(device_t dev)
+{
+
+}
+
+static struct device_operations soc_ops = {
+ .read_resources = soc_read_resources,
+ .init = soc_init,
+};
+
+static void enable_soc_dev(device_t dev)
+{
+ dev->ops = &soc_ops;
+}
+
+struct chip_operations soc_qualcomm_qcs405_ops = {
+ CHIP_NAME("SOC Qualcomm QCS405")
+ .enable_dev = enable_soc_dev,
+};
diff --git a/src/soc/qualcomm/qcs405/spi.c b/src/soc/qualcomm/qcs405/spi.c
new file mode 100644
index 0000000..c04b15d
--- /dev/null
+++ b/src/soc/qualcomm/qcs405/spi.c
@@ -0,0 +1,50 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2018, The Linux Foundation. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 and
+ * only version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ */
+
+#include <spi-generic.h>
+#include <spi_flash.h>
+
+static int spi_ctrlr_claim_bus(const struct spi_slave *slave)
+{
+ return 0;
+}
+
+static void spi_ctrlr_release_bus(const struct spi_slave *slave)
+{
+
+}
+
+static int spi_ctrlr_xfer(const struct spi_slave *slave, const void *dout,
+ size_t bytes_out, void *din, size_t bytes_in)
+{
+ return 0;
+}
+
+static const struct spi_ctrlr spi_ctrlr = {
+ .claim_bus = spi_ctrlr_claim_bus,
+ .release_bus = spi_ctrlr_release_bus,
+ .xfer = spi_ctrlr_xfer,
+ .max_xfer_size = 65535,
+};
+
+const struct spi_ctrlr_buses spi_ctrlr_bus_map[] = {
+ {
+ .ctrlr = &spi_ctrlr,
+ .bus_start = 0,
+ .bus_end = 0,
+ },
+};
+
+const size_t spi_ctrlr_bus_map_count = ARRAY_SIZE(spi_ctrlr_bus_map);
diff --git a/src/soc/qualcomm/qcs405/timer.c b/src/soc/qualcomm/qcs405/timer.c
new file mode 100644
index 0000000..8fb84c8
--- /dev/null
+++ b/src/soc/qualcomm/qcs405/timer.c
@@ -0,0 +1,27 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2018, The Linux Foundation. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 and
+ * only version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ */
+
+#include <timer.h>
+#include <delay.h>
+
+void timer_monotonic_get(struct mono_time *mt)
+{
+
+}
+
+void init_timer(void)
+{
+
+}
--
To view, visit https://review.coreboot.org/c/coreboot/+/29948
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ia379cf375e4459ed55cc36cb8a0a92cab18b705e
Gerrit-Change-Number: 29948
Gerrit-PatchSet: 1
Gerrit-Owner: nsekar(a)codeaurora.org
Gerrit-MessageType: newchange
Hello Patrick Rudolph, build bot (Jenkins), Hannah Williams, Patrick Georgi, Martin Roth,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/29414
to look at the new patch set (#3).
Change subject: src/soc/intel/braswell: Remove disabled LPE acpi code
......................................................................
src/soc/intel/braswell: Remove disabled LPE acpi code
The ACPI code for LPE device was included regardless
of the availability of the LPE controller.
Move the LPE ACPI code to seperate SSDT and hide it when
LPE is disabled.
BUG=N/A
TEST=Intel CherryHill CRB
Change-Id: Ic8acf9ea9e9b0ba9b272e20beb2023b7a4716a73
Signed-off-by: Frans Hendriks <fhendriks(a)eltan.com>
---
M src/mainboard/google/cyan/Makefile.inc
M src/mainboard/google/cyan/acpi/codec_maxim.asl
M src/mainboard/google/cyan/acpi/codec_realtek.asl
A src/mainboard/google/cyan/ssdtlpe.asl
M src/mainboard/intel/strago/Makefile.inc
M src/mainboard/intel/strago/acpi/mainboard.asl
A src/mainboard/intel/strago/ssdtlpe.asl
M src/soc/intel/braswell/acpi/southcluster.asl
M src/soc/intel/braswell/include/soc/acpi.h
M src/soc/intel/braswell/lpe.c
10 files changed, 157 insertions(+), 36 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/14/29414/3
--
To view, visit https://review.coreboot.org/c/coreboot/+/29414
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ic8acf9ea9e9b0ba9b272e20beb2023b7a4716a73
Gerrit-Change-Number: 29414
Gerrit-PatchSet: 3
Gerrit-Owner: Frans Hendriks <fhendriks(a)eltan.com>
Gerrit-Reviewer: Frans Hendriks <fhendriks(a)eltan.com>
Gerrit-Reviewer: Hannah Williams <hannah.williams(a)intel.com>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-MessageType: newpatchset
HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/29947
Change subject: [Test]: Move {pci,pnp}_devfn_t to <device/pci_ops.h>
......................................................................
[Test]: Move {pci,pnp}_devfn_t to <device/pci_ops.h>
Change-Id: I6a3deea676308e2dc703b5e06558b05235191044
Signed-off-by: Elyes HAOUAS <ehaouas(a)noos.fr>
---
M src/arch/arm/armv7/mmu.c
M src/arch/arm/include/arch/pci_ops.h
M src/arch/arm64/include/arch/pci_ops.h
M src/arch/mips/include/arch/pci_ops.h
M src/arch/riscv/arch_timer.c
M src/arch/x86/cf9_reset.c
M src/arch/x86/cpu.c
M src/arch/x86/ebda.c
M src/arch/x86/include/arch/io.h
M src/arch/x86/include/arch/pci_io_cfg.h
M src/arch/x86/include/arch/pci_mmio_cfg.h
M src/arch/x86/ioapic.c
M src/arch/x86/pci_ops_conf1.c
M src/commonlib/storage/sdhci.h
M src/console/die.c
M src/console/post.c
M src/cpu/allwinner/a10/clock.c
M src/cpu/allwinner/a10/gpio.c
M src/cpu/allwinner/a10/pinmux.c
M src/cpu/allwinner/a10/raminit.c
M src/cpu/allwinner/a10/timer.c
M src/cpu/allwinner/a10/twi.c
M src/cpu/allwinner/a10/uart.c
M src/cpu/amd/family_10h-family_15h/ram_calc.c
M src/cpu/amd/geode_lx/cpubug.c
M src/cpu/amd/geode_lx/geode_lx_init.c
M src/cpu/amd/geode_lx/syspreinit.c
M src/cpu/amd/microcode/microcode.c
M src/cpu/amd/smm/smm_init.c
M src/cpu/intel/fsp_model_406dx/bootblock.c
M src/cpu/intel/haswell/bootblock.c
M src/cpu/intel/haswell/romstage.c
M src/cpu/intel/model_2065x/bootblock.c
M src/cpu/intel/model_206ax/bootblock.c
M src/cpu/ti/am335x/gpio.c
M src/cpu/ti/am335x/pinmux.c
M src/cpu/ti/am335x/uart.c
M src/cpu/x86/lapic/apic_timer.c
M src/cpu/x86/smm/smihandler.c
M src/cpu/x86/smm/smm_module_handler.c
M src/cpu/x86/tsc/delay_tsc.c
M src/device/azalia_device.c
M src/device/device.c
M src/device/oprom/include/io.h
M src/device/oprom/realmode/x86.c
M src/device/oprom/realmode/x86_interrupts.c
M src/device/oprom/x86emu/sys.c
M src/device/oprom/yabel/io.c
M src/device/pci_device.c
M src/device/pci_early.c
M src/device/pci_ops_mmconf.c
M src/device/pnp_device.c
M src/drivers/aspeed/ast2050/ast2050.c
M src/drivers/aspeed/common/aspeed_coreboot.h
M src/drivers/elog/gsmi.c
M src/drivers/emulation/qemu/bochs.c
M src/drivers/emulation/qemu/cirrus.c
M src/drivers/emulation/qemu/qemu_debugcon.c
M src/drivers/gic/gic.c
M src/drivers/i2c/at24rf08c/at24rf08c.c
M src/drivers/i2c/at24rf08c/lenovo_serials.c
M src/drivers/i2c/designware/dw_i2c.c
M src/drivers/intel/fsp1_1/romstage.c
M src/drivers/intel/fsp2_0/hand_off_block.c
M src/drivers/intel/fsp2_0/memory_init.c
M src/drivers/intel/fsp2_0/temp_ram_exit.c
M src/drivers/intel/fsp2_0/util.c
M src/drivers/intel/gma/edid.c
M src/drivers/intel/gma/intel_ddi.c
M src/drivers/intel/gma/vbt.c
M src/drivers/ipmi/ipmi_kcs.c
M src/drivers/maxim/max77686/max77686.c
M src/drivers/net/ne2k.c
M src/drivers/net/r8168.c
M src/drivers/pc80/pc/i8254.c
M src/drivers/pc80/pc/i8259.c
M src/drivers/pc80/pc/isa-dma.c
M src/drivers/pc80/pc/keyboard.c
M src/drivers/pc80/pc/spkmodem.c
M src/drivers/pc80/pc/udelay_io.c
M src/drivers/pc80/rtc/mc146818rtc.c
M src/drivers/pc80/tpm/tis.c
M src/drivers/pc80/vga/vga_io.c
M src/drivers/ricoh/rce822/rce822.c
M src/drivers/sil/3114/sil_sata.c
M src/drivers/uart/oxpcie.c
M src/drivers/uart/oxpcie_early.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/drivers/usb/ehci_debug.c
M src/drivers/usb/pci_ehci.c
M src/drivers/xgi/common/xgi_coreboot.c
M src/drivers/xgi/common/xgi_coreboot.h
M src/drivers/xgi/z9s/z9s.c
M src/ec/acpi/ec.c
M src/ec/compal/ene932/ec.c
M src/ec/google/chromeec/crosec_proto.c
M src/ec/google/chromeec/ec.c
M src/ec/google/chromeec/ec_i2c.c
M src/ec/google/chromeec/ec_lpc.c
M src/ec/google/common/mec.c
M src/ec/google/wilco/bootblock.c
M src/ec/google/wilco/mailbox.c
M src/ec/hp/kbc1126/early_init.c
M src/ec/hp/kbc1126/ec.c
M src/ec/lenovo/h8/h8.c
M src/ec/lenovo/pmh7/pmh7.c
M src/ec/quanta/ene_kb3940q/ec.c
M src/ec/quanta/it8518/ec.c
M src/ec/smsc/mec1308/ec.c
M src/include/device/azalia_device.h
M src/include/device/device.h
M src/include/device/pci.h
M src/include/device/pci_ehci.h
M src/include/device/pnp.h
M src/include/pc80/mc146818rtc.h
M src/include/reg_script.h
M src/lib/edid.c
M src/lib/reg_script.c
M src/mainboard/adi/rcc-dff/romstage.c
M src/mainboard/advansus/a785e-i/mainboard.c
M src/mainboard/advansus/a785e-i/mptable.c
M src/mainboard/advansus/a785e-i/romstage.c
M src/mainboard/amd/bettong/boardid.c
M src/mainboard/amd/bettong/mptable.c
M src/mainboard/amd/bettong/romstage.c
M src/mainboard/amd/bimini_fam10/mainboard.c
M src/mainboard/amd/bimini_fam10/mptable.c
M src/mainboard/amd/bimini_fam10/romstage.c
M src/mainboard/amd/db-ft3b-lc/mainboard.c
M src/mainboard/amd/db-ft3b-lc/mptable.c
M src/mainboard/amd/db-ft3b-lc/romstage.c
M src/mainboard/amd/gardenia/mptable.c
M src/mainboard/amd/inagua/mptable.c
M src/mainboard/amd/lamar/mainboard.c
M src/mainboard/amd/lamar/mptable.c
M src/mainboard/amd/lamar/romstage.c
M src/mainboard/amd/mahogany_fam10/mainboard.c
M src/mainboard/amd/mahogany_fam10/mptable.c
M src/mainboard/amd/mahogany_fam10/romstage.c
M src/mainboard/amd/olivehill/mptable.c
M src/mainboard/amd/olivehill/romstage.c
M src/mainboard/amd/olivehillplus/mainboard.c
M src/mainboard/amd/olivehillplus/mptable.c
M src/mainboard/amd/olivehillplus/romstage.c
M src/mainboard/amd/parmer/mptable.c
M src/mainboard/amd/parmer/romstage.c
M src/mainboard/amd/persimmon/mainboard.c
M src/mainboard/amd/persimmon/mptable.c
M src/mainboard/amd/serengeti_cheetah_fam10/romstage.c
M src/mainboard/amd/south_station/mptable.c
M src/mainboard/amd/thatcher/mptable.c
M src/mainboard/amd/thatcher/romstage.c
M src/mainboard/amd/tilapia_fam10/mainboard.c
M src/mainboard/amd/tilapia_fam10/mptable.c
M src/mainboard/amd/tilapia_fam10/romstage.c
M src/mainboard/amd/torpedo/acpi_tables.c
M src/mainboard/amd/torpedo/fadt.c
M src/mainboard/amd/torpedo/mptable.c
M src/mainboard/amd/union_station/mptable.c
M src/mainboard/aopen/dxplplusu/romstage.c
M src/mainboard/apple/macbook21/mainboard.c
M src/mainboard/apple/macbook21/romstage.c
M src/mainboard/apple/macbook21/smihandler.c
M src/mainboard/apple/macbookair4_2/early_southbridge.c
M src/mainboard/asrock/e350m1/mainboard.c
M src/mainboard/asrock/e350m1/mptable.c
M src/mainboard/asrock/imb-a180/mptable.c
M src/mainboard/asrock/imb-a180/romstage.c
M src/mainboard/asus/am1i-a/mptable.c
M src/mainboard/asus/am1i-a/romstage.c
M src/mainboard/asus/f2a85-m/mptable.c
M src/mainboard/asus/f2a85-m/romstage.c
M src/mainboard/asus/kcma-d8/bootblock.c
M src/mainboard/asus/kcma-d8/mainboard.c
M src/mainboard/asus/kcma-d8/mptable.c
M src/mainboard/asus/kcma-d8/romstage.c
M src/mainboard/asus/kfsn4-dre/acpi_tables.c
M src/mainboard/asus/kfsn4-dre/romstage.c
M src/mainboard/asus/kgpe-d16/bootblock.c
M src/mainboard/asus/kgpe-d16/mainboard.c
M src/mainboard/asus/kgpe-d16/mptable.c
M src/mainboard/asus/kgpe-d16/romstage.c
M src/mainboard/asus/m4a78-em/mainboard.c
M src/mainboard/asus/m4a78-em/mptable.c
M src/mainboard/asus/m4a78-em/romstage.c
M src/mainboard/asus/m4a785-m/mainboard.c
M src/mainboard/asus/m4a785-m/mptable.c
M src/mainboard/asus/m4a785-m/romstage.c
M src/mainboard/asus/m5a88-v/mainboard.c
M src/mainboard/asus/m5a88-v/mptable.c
M src/mainboard/asus/m5a88-v/romstage.c
M src/mainboard/asus/maximus_iv_gene-z/romstage.c
M src/mainboard/asus/p5gc-mx/romstage.c
M src/mainboard/asus/p5qc/romstage.c
M src/mainboard/asus/p8h61-m_lx/romstage.c
M src/mainboard/avalue/eax-785e/mainboard.c
M src/mainboard/avalue/eax-785e/mptable.c
M src/mainboard/avalue/eax-785e/romstage.c
M src/mainboard/bap/ode_e20XX/mptable.c
M src/mainboard/bap/ode_e20XX/romstage.c
M src/mainboard/bap/ode_e21XX/mainboard.c
M src/mainboard/bap/ode_e21XX/mptable.c
M src/mainboard/bap/ode_e21XX/romstage.c
M src/mainboard/biostar/a68n_5200/mptable.c
M src/mainboard/biostar/a68n_5200/romstage.c
M src/mainboard/biostar/am1ml/mptable.c
M src/mainboard/biostar/am1ml/romstage.c
M src/mainboard/compulab/intense_pc/romstage.c
M src/mainboard/cubietech/cubieboard/bootblock.c
M src/mainboard/elmex/pcm205400/mainboard.c
M src/mainboard/elmex/pcm205400/mptable.c
M src/mainboard/emulation/qemu-armv7/cbmem.c
M src/mainboard/emulation/qemu-armv7/mainboard.c
M src/mainboard/emulation/qemu-i440fx/fw_cfg.c
M src/mainboard/emulation/qemu-i440fx/memory.c
M src/mainboard/emulation/qemu-i440fx/northbridge.c
M src/mainboard/emulation/qemu-power8/uart.c
M src/mainboard/emulation/qemu-q35/bootblock.c
M src/mainboard/emulation/qemu-riscv/uart.c
M src/mainboard/emulation/spike-riscv/uart.c
M src/mainboard/foxconn/d41s/romstage.c
M src/mainboard/getac/p470/ec_oem.c
M src/mainboard/getac/p470/mainboard.c
M src/mainboard/getac/p470/romstage.c
M src/mainboard/getac/p470/smihandler.c
M src/mainboard/gigabyte/ga-945gcm-s2l/romstage.c
M src/mainboard/gigabyte/ga-g41m-es2l/romstage.c
M src/mainboard/gigabyte/ma785gm/mainboard.c
M src/mainboard/gigabyte/ma785gm/mptable.c
M src/mainboard/gigabyte/ma785gm/romstage.c
M src/mainboard/gigabyte/ma785gmt/mainboard.c
M src/mainboard/gigabyte/ma785gmt/mptable.c
M src/mainboard/gigabyte/ma785gmt/romstage.c
M src/mainboard/gigabyte/ma78gm/mainboard.c
M src/mainboard/gigabyte/ma78gm/mptable.c
M src/mainboard/gigabyte/ma78gm/romstage.c
M src/mainboard/gizmosphere/gizmo/mainboard.c
M src/mainboard/gizmosphere/gizmo/mptable.c
M src/mainboard/gizmosphere/gizmo2/mptable.c
M src/mainboard/gizmosphere/gizmo2/romstage.c
M src/mainboard/google/auron/smihandler.c
M src/mainboard/google/auron/variant.h
M src/mainboard/google/auron/variants/buddy/variant.c
M src/mainboard/google/beltino/chromeos.c
M src/mainboard/google/beltino/lan.c
M src/mainboard/google/beltino/mainboard.c
M src/mainboard/google/beltino/smihandler.c
M src/mainboard/google/butterfly/chromeos.c
M src/mainboard/google/butterfly/mainboard.c
M src/mainboard/google/butterfly/mainboard_smi.c
M src/mainboard/google/butterfly/romstage.c
M src/mainboard/google/cyan/chromeos.c
M src/mainboard/google/cyan/com_init.c
M src/mainboard/google/cyan/smihandler.c
M src/mainboard/google/eve/smihandler.c
M src/mainboard/google/foster/bootblock.c
M src/mainboard/google/foster/mainboard.c
M src/mainboard/google/foster/reset.c
M src/mainboard/google/glados/smihandler.c
M src/mainboard/google/gru/bootblock.c
M src/mainboard/google/gru/pwm_regulator.c
M src/mainboard/google/gru/sdram_configs.c
M src/mainboard/google/jecht/chromeos.c
M src/mainboard/google/jecht/lan.c
M src/mainboard/google/jecht/mainboard.c
M src/mainboard/google/jecht/smihandler.c
M src/mainboard/google/kahlee/mainboard.c
M src/mainboard/google/kahlee/mptable.c
M src/mainboard/google/link/i915.c
M src/mainboard/google/link/mainboard.c
M src/mainboard/google/link/mainboard_smi.c
M src/mainboard/google/link/romstage.c
M src/mainboard/google/nyan/bootblock.c
M src/mainboard/google/nyan/mainboard.c
M src/mainboard/google/nyan/romstage.c
M src/mainboard/google/nyan_big/bootblock.c
M src/mainboard/google/nyan_big/mainboard.c
M src/mainboard/google/nyan_big/romstage.c
M src/mainboard/google/nyan_blaze/bootblock.c
M src/mainboard/google/nyan_blaze/mainboard.c
M src/mainboard/google/nyan_blaze/romstage.c
M src/mainboard/google/oak/bootblock.c
M src/mainboard/google/oak/mainboard.c
M src/mainboard/google/octopus/ec.c
M src/mainboard/google/parrot/chromeos.c
M src/mainboard/google/parrot/ec.c
M src/mainboard/google/parrot/mainboard.c
M src/mainboard/google/parrot/romstage.c
M src/mainboard/google/parrot/smihandler.c
M src/mainboard/google/rambi/mainboard.c
M src/mainboard/google/rambi/mainboard_smi.c
M src/mainboard/google/rambi/variants/ninja/lan.c
M src/mainboard/google/rambi/variants/sumo/lan.c
M src/mainboard/google/slippy/mainboard.c
M src/mainboard/google/slippy/smihandler.c
M src/mainboard/google/smaug/bootblock.c
M src/mainboard/google/smaug/mainboard.c
M src/mainboard/google/smaug/reset.c
M src/mainboard/google/stout/chromeos.c
M src/mainboard/google/stout/ec.c
M src/mainboard/google/stout/mainboard.c
M src/mainboard/google/stout/mainboard_smi.c
M src/mainboard/google/stout/romstage.c
M src/mainboard/google/urara/bootblock.c
M src/mainboard/google/urara/mainboard.c
M src/mainboard/google/veyron/bootblock.c
M src/mainboard/google/veyron/mainboard.c
M src/mainboard/google/veyron/sdram_configs.c
M src/mainboard/google/veyron_mickey/bootblock.c
M src/mainboard/google/veyron_mickey/mainboard.c
M src/mainboard/google/veyron_mickey/sdram_configs.c
M src/mainboard/google/veyron_rialto/bootblock.c
M src/mainboard/google/veyron_rialto/mainboard.c
M src/mainboard/google/veyron_rialto/romstage.c
M src/mainboard/google/veyron_rialto/sdram_configs.c
M src/mainboard/hp/2570p/romstage.c
M src/mainboard/hp/2760p/romstage.c
M src/mainboard/hp/8460p/romstage.c
M src/mainboard/hp/8470p/romstage.c
M src/mainboard/hp/8770w/romstage.c
M src/mainboard/hp/abm/mptable.c
M src/mainboard/hp/abm/romstage.c
M src/mainboard/hp/compaq_8200_elite_sff/romstage.c
M src/mainboard/hp/dl165_g6_fam10/mptable.c
M src/mainboard/hp/dl165_g6_fam10/romstage.c
M src/mainboard/hp/folio_9470m/romstage.c
M src/mainboard/hp/pavilion_m6_1035dx/mainboard.c
M src/mainboard/hp/pavilion_m6_1035dx/mainboard_smi.c
M src/mainboard/hp/pavilion_m6_1035dx/mptable.c
M src/mainboard/hp/revolve_810_g1/romstage.c
M src/mainboard/ibase/mb899/romstage.c
M src/mainboard/ibase/mb899/superio_hwm.c
M src/mainboard/iei/kino-780am2-fam10/mainboard.c
M src/mainboard/iei/kino-780am2-fam10/mptable.c
M src/mainboard/iei/kino-780am2-fam10/romstage.c
M src/mainboard/intel/baskingridge/chromeos.c
M src/mainboard/intel/baskingridge/mainboard.c
M src/mainboard/intel/baskingridge/mainboard_smi.c
M src/mainboard/intel/bayleybay_fsp/mainboard.c
M src/mainboard/intel/bayleybay_fsp/romstage.c
M src/mainboard/intel/camelbackmountain_fsp/mainboard.c
M src/mainboard/intel/cannonlake_rvp/smihandler.c
M src/mainboard/intel/d510mo/romstage.c
M src/mainboard/intel/d945gclf/romstage.c
M src/mainboard/intel/dcp847ske/early_southbridge.c
M src/mainboard/intel/dcp847ske/superio.h
M src/mainboard/intel/dg43gt/romstage.c
M src/mainboard/intel/emeraldlake2/chromeos.c
M src/mainboard/intel/emeraldlake2/mainboard.c
M src/mainboard/intel/emeraldlake2/romstage.c
M src/mainboard/intel/emeraldlake2/smihandler.c
M src/mainboard/intel/galileo/gpio.c
M src/mainboard/intel/galileo/reg_access.c
M src/mainboard/intel/glkrvp/ec.c
M src/mainboard/intel/kblrvp/chromeos.c
M src/mainboard/intel/kblrvp/smihandler.c
M src/mainboard/intel/kunimitsu/smihandler.c
M src/mainboard/intel/littleplains/romstage.c
M src/mainboard/intel/mohonpeak/romstage.c
M src/mainboard/intel/strago/com_init.c
M src/mainboard/intel/strago/smihandler.c
M src/mainboard/intel/wtm2/chromeos.c
M src/mainboard/intel/wtm2/mainboard.c
M src/mainboard/jetway/nf81-t56n-lf/mainboard.c
M src/mainboard/jetway/nf81-t56n-lf/mptable.c
M src/mainboard/jetway/pa78vm5/mainboard.c
M src/mainboard/jetway/pa78vm5/mptable.c
M src/mainboard/jetway/pa78vm5/romstage.c
M src/mainboard/kontron/986lcd-m/mainboard.c
M src/mainboard/kontron/ktqm77/mainboard.c
M src/mainboard/lenovo/g505s/mainboard_smi.c
M src/mainboard/lenovo/g505s/mptable.c
M src/mainboard/lenovo/l520/romstage.c
M src/mainboard/lenovo/l520/smihandler.c
M src/mainboard/lenovo/s230u/mainboard.c
M src/mainboard/lenovo/s230u/romstage.c
M src/mainboard/lenovo/s230u/smihandler.c
M src/mainboard/lenovo/t400/acpi_tables.c
M src/mainboard/lenovo/t400/dock.c
M src/mainboard/lenovo/t400/romstage.c
M src/mainboard/lenovo/t420/romstage.c
M src/mainboard/lenovo/t420/smihandler.c
M src/mainboard/lenovo/t420s/romstage.c
M src/mainboard/lenovo/t420s/smihandler.c
M src/mainboard/lenovo/t430/romstage.c
M src/mainboard/lenovo/t430/smihandler.c
M src/mainboard/lenovo/t430s/romstage.c
M src/mainboard/lenovo/t430s/smihandler.c
M src/mainboard/lenovo/t520/romstage.c
M src/mainboard/lenovo/t520/smihandler.c
M src/mainboard/lenovo/t530/romstage.c
M src/mainboard/lenovo/t530/smihandler.c
M src/mainboard/lenovo/t60/dock.c
M src/mainboard/lenovo/t60/romstage.c
M src/mainboard/lenovo/t60/smihandler.c
M src/mainboard/lenovo/x131e/romstage.c
M src/mainboard/lenovo/x1_carbon_gen1/romstage.c
M src/mainboard/lenovo/x1_carbon_gen1/smihandler.c
M src/mainboard/lenovo/x200/acpi_tables.c
M src/mainboard/lenovo/x200/dock.c
M src/mainboard/lenovo/x200/romstage.c
M src/mainboard/lenovo/x201/dock.c
M src/mainboard/lenovo/x201/mainboard.c
M src/mainboard/lenovo/x201/romstage.c
M src/mainboard/lenovo/x201/smihandler.c
M src/mainboard/lenovo/x220/romstage.c
M src/mainboard/lenovo/x220/smihandler.c
M src/mainboard/lenovo/x230/romstage.c
M src/mainboard/lenovo/x230/smihandler.c
M src/mainboard/lenovo/x60/dock.c
M src/mainboard/lenovo/x60/mainboard.c
M src/mainboard/lenovo/x60/romstage.c
M src/mainboard/lenovo/x60/smihandler.c
M src/mainboard/lenovo/z61t/dock.c
M src/mainboard/lenovo/z61t/romstage.c
M src/mainboard/lenovo/z61t/smihandler.c
M src/mainboard/lippert/frontrunner-af/mainboard.c
M src/mainboard/lippert/frontrunner-af/mptable.c
M src/mainboard/lippert/frontrunner-af/sema.c
M src/mainboard/lippert/toucan-af/mainboard.c
M src/mainboard/lippert/toucan-af/mptable.c
M src/mainboard/msi/ms7721/mptable.c
M src/mainboard/msi/ms7721/romstage.c
M src/mainboard/msi/ms9652_fam10/romstage.c
M src/mainboard/packardbell/ms2290/mainboard.c
M src/mainboard/packardbell/ms2290/romstage.c
M src/mainboard/pcengines/alix1c/romstage.c
M src/mainboard/pcengines/alix2d/irq_tables.c
M src/mainboard/pcengines/alix2d/romstage.c
M src/mainboard/pcengines/apu1/gpio_ftns.c
M src/mainboard/pcengines/apu1/mainboard.c
M src/mainboard/pcengines/apu1/mptable.c
M src/mainboard/pcengines/apu2/gpio_ftns.c
M src/mainboard/pcengines/apu2/mainboard.c
M src/mainboard/pcengines/apu2/romstage.c
M src/mainboard/roda/rk886ex/m3885.c
M src/mainboard/roda/rk886ex/mainboard.c
M src/mainboard/roda/rk886ex/romstage.c
M src/mainboard/roda/rk9/acpi_tables.c
M src/mainboard/roda/rk9/mainboard.c
M src/mainboard/roda/rk9/romstage.c
M src/mainboard/roda/rk9/smihandler.c
M src/mainboard/samsung/lumpy/chromeos.c
M src/mainboard/samsung/lumpy/romstage.c
M src/mainboard/samsung/lumpy/smihandler.c
M src/mainboard/samsung/stumpy/chromeos.c
M src/mainboard/samsung/stumpy/romstage.c
M src/mainboard/samsung/stumpy/smihandler.c
M src/mainboard/sapphire/pureplatinumh61/romstage.c
M src/mainboard/siemens/mc_bdx1/mainboard.c
M src/mainboard/siemens/mc_tcu3/mainboard.c
M src/mainboard/siemens/mc_tcu3/romstage.c
M src/mainboard/sifive/hifive-unleashed/mainboard.c
M src/mainboard/supermicro/h8dmr_fam10/romstage.c
M src/mainboard/supermicro/h8qme_fam10/romstage.c
M src/mainboard/supermicro/h8scm_fam10/mainboard.c
M src/mainboard/supermicro/h8scm_fam10/mptable.c
M src/mainboard/supermicro/h8scm_fam10/romstage.c
M src/mainboard/ti/beaglebone/bootblock.c
M src/mainboard/tyan/s2912_fam10/romstage.c
M src/mainboard/via/epia-m850/romstage.c
M src/northbridge/amd/agesa/family12/northbridge.c
M src/northbridge/amd/agesa/family14/northbridge.c
M src/northbridge/amd/agesa/family14/state_machine.c
M src/northbridge/amd/agesa/family15tn/northbridge.c
M src/northbridge/amd/agesa/family16kb/northbridge.c
M src/northbridge/amd/amdfam10/amdfam10.h
M src/northbridge/amd/amdfam10/amdfam10_util.c
M src/northbridge/amd/amdfam10/debug.c
M src/northbridge/amd/amdfam10/early_ht.c
M src/northbridge/amd/amdfam10/ht_config.c
M src/northbridge/amd/amdfam10/northbridge.c
M src/northbridge/amd/amdfam10/pci.h
M src/northbridge/amd/amdfam10/raminit_amdmct.c
M src/northbridge/amd/amdk8/reset_test.c
M src/northbridge/amd/lx/grphinit.c
M src/northbridge/amd/lx/northbridge.c
M src/northbridge/amd/lx/northbridgeinit.c
M src/northbridge/amd/lx/raminit.c
M src/northbridge/amd/pi/00630F01/northbridge.c
M src/northbridge/amd/pi/00660F01/northbridge.c
M src/northbridge/amd/pi/00730F01/northbridge.c
M src/northbridge/amd/pi/ramtop.c
M src/northbridge/intel/e7505/debug.c
M src/northbridge/intel/e7505/memmap.c
M src/northbridge/intel/e7505/northbridge.c
M src/northbridge/intel/e7505/raminit.c
M src/northbridge/intel/fsp_rangeley/acpi.c
M src/northbridge/intel/fsp_rangeley/northbridge.c
M src/northbridge/intel/fsp_rangeley/port_access.c
M src/northbridge/intel/fsp_rangeley/raminit.c
M src/northbridge/intel/gm45/bootblock.c
M src/northbridge/intel/gm45/early_init.c
M src/northbridge/intel/gm45/early_reset.c
M src/northbridge/intel/gm45/gma.c
M src/northbridge/intel/gm45/igd.c
M src/northbridge/intel/gm45/iommu.c
M src/northbridge/intel/gm45/northbridge.c
M src/northbridge/intel/gm45/pcie.c
M src/northbridge/intel/gm45/pm.c
M src/northbridge/intel/gm45/ram_calc.c
M src/northbridge/intel/gm45/raminit.c
M src/northbridge/intel/gm45/raminit_read_write_training.c
M src/northbridge/intel/gm45/raminit_receive_enable_calibration.c
M src/northbridge/intel/gm45/thermal.c
M src/northbridge/intel/haswell/bootblock.c
M src/northbridge/intel/haswell/early_init.c
M src/northbridge/intel/haswell/finalize.c
M src/northbridge/intel/haswell/gma.c
M src/northbridge/intel/haswell/minihd.c
M src/northbridge/intel/haswell/northbridge.c
M src/northbridge/intel/haswell/ram_calc.c
M src/northbridge/intel/haswell/raminit.c
M src/northbridge/intel/haswell/report_platform.c
M src/northbridge/intel/i440bx/debug.c
M src/northbridge/intel/i440bx/northbridge.c
M src/northbridge/intel/i440bx/ram_calc.c
M src/northbridge/intel/i440bx/raminit.c
M src/northbridge/intel/i945/bootblock.c
M src/northbridge/intel/i945/debug.c
M src/northbridge/intel/i945/early_init.c
M src/northbridge/intel/i945/northbridge.c
M src/northbridge/intel/i945/ram_calc.c
M src/northbridge/intel/i945/rcven.c
M src/northbridge/intel/nehalem/bootblock.c
M src/northbridge/intel/nehalem/early_init.c
M src/northbridge/intel/nehalem/finalize.c
M src/northbridge/intel/nehalem/gma.c
M src/northbridge/intel/nehalem/northbridge.c
M src/northbridge/intel/nehalem/ram_calc.c
M src/northbridge/intel/nehalem/raminit.c
M src/northbridge/intel/pineview/bootblock.c
M src/northbridge/intel/pineview/early_init.c
M src/northbridge/intel/pineview/gma.c
M src/northbridge/intel/pineview/northbridge.c
M src/northbridge/intel/pineview/ram_calc.c
M src/northbridge/intel/pineview/raminit.c
M src/northbridge/intel/sandybridge/bootblock.c
M src/northbridge/intel/sandybridge/early_init.c
M src/northbridge/intel/sandybridge/finalize.c
M src/northbridge/intel/sandybridge/gma.c
M src/northbridge/intel/sandybridge/gma_ivybridge_lvds.c
M src/northbridge/intel/sandybridge/gma_sandybridge_lvds.c
M src/northbridge/intel/sandybridge/iommu.c
M src/northbridge/intel/sandybridge/northbridge.c
M src/northbridge/intel/sandybridge/ram_calc.c
M src/northbridge/intel/sandybridge/raminit.c
M src/northbridge/intel/sandybridge/raminit_common.c
M src/northbridge/intel/sandybridge/raminit_ivy.c
M src/northbridge/intel/sandybridge/raminit_mrc.c
M src/northbridge/intel/sandybridge/romstage.c
M src/northbridge/intel/x4x/bootblock.c
M src/northbridge/intel/x4x/dq_dqs.c
M src/northbridge/intel/x4x/early_init.c
M src/northbridge/intel/x4x/gma.c
M src/northbridge/intel/x4x/northbridge.c
M src/northbridge/intel/x4x/ram_calc.c
M src/northbridge/intel/x4x/raminit.c
M src/northbridge/intel/x4x/raminit_ddr23.c
M src/northbridge/intel/x4x/raminit_tables.c
M src/northbridge/intel/x4x/rcven.c
M src/northbridge/via/vx900/bootblock.c
M src/northbridge/via/vx900/chrome9hd.c
M src/northbridge/via/vx900/early_smbus.c
M src/northbridge/via/vx900/early_vx900.c
M src/northbridge/via/vx900/early_vx900.h
M src/northbridge/via/vx900/lpc.c
M src/northbridge/via/vx900/pcie.c
M src/northbridge/via/vx900/raminit_ddr3.c
M src/northbridge/via/vx900/vx900.h
M src/soc/amd/common/block/pci/amd_pci_util.c
M src/soc/amd/common/block/psp/psp.c
M src/soc/amd/stoneyridge/acpi.c
M src/soc/amd/stoneyridge/enable_usbdebug.c
M src/soc/amd/stoneyridge/gpio.c
M src/soc/amd/stoneyridge/hda.c
M src/soc/amd/stoneyridge/include/soc/northbridge.h
M src/soc/amd/stoneyridge/include/soc/pci_devs.h
M src/soc/amd/stoneyridge/include/soc/smi.h
M src/soc/amd/stoneyridge/include/soc/southbridge.h
M src/soc/amd/stoneyridge/lpc.c
M src/soc/amd/stoneyridge/northbridge.c
M src/soc/amd/stoneyridge/ramtop.c
M src/soc/amd/stoneyridge/reset.c
M src/soc/amd/stoneyridge/romstage.c
M src/soc/amd/stoneyridge/sata.c
M src/soc/amd/stoneyridge/sm.c
M src/soc/amd/stoneyridge/southbridge.c
M src/soc/amd/stoneyridge/spi.c
M src/soc/amd/stoneyridge/tsc_freq.c
M src/soc/amd/stoneyridge/usb.c
M src/soc/broadcom/cygnus/gpio.c
M src/soc/broadcom/cygnus/hw_init.c
M src/soc/broadcom/cygnus/i2c.c
M src/soc/broadcom/cygnus/iomux.c
M src/soc/broadcom/cygnus/ns16550.c
M src/soc/broadcom/cygnus/spi.c
M src/soc/broadcom/cygnus/timer.c
M src/soc/broadcom/cygnus/tz.c
M src/soc/broadcom/cygnus/usb.c
M src/soc/cavium/cn81xx/bootblock.c
M src/soc/cavium/cn81xx/clock.c
M src/soc/cavium/cn81xx/cpu.c
M src/soc/cavium/cn81xx/ecam0.c
M src/soc/cavium/cn81xx/gpio.c
M src/soc/cavium/cn81xx/spi.c
M src/soc/cavium/cn81xx/timer.c
M src/soc/cavium/cn81xx/twsi.c
M src/soc/cavium/cn81xx/uart.c
M src/soc/cavium/common/bdk-coreboot.c
M src/soc/imgtec/pistachio/clocks.c
M src/soc/imgtec/pistachio/ddr2_init.c
M src/soc/imgtec/pistachio/ddr3_init.c
M src/soc/imgtec/pistachio/include/soc/cpu.h
M src/soc/imgtec/pistachio/include/soc/spi.h
M src/soc/imgtec/pistachio/reset.c
M src/soc/imgtec/pistachio/uart.c
M src/soc/intel/apollolake/acpi.c
M src/soc/intel/apollolake/cse.c
M src/soc/intel/apollolake/include/soc/pci_devs.h
M src/soc/intel/apollolake/memmap.c
M src/soc/intel/apollolake/pmutil.c
M src/soc/intel/apollolake/romstage.c
M src/soc/intel/apollolake/smihandler.c
M src/soc/intel/apollolake/xdci.c
M src/soc/intel/baytrail/acpi.c
M src/soc/intel/baytrail/bootblock/bootblock.c
M src/soc/intel/baytrail/dptf.c
M src/soc/intel/baytrail/elog.c
M src/soc/intel/baytrail/emmc.c
M src/soc/intel/baytrail/gfx.c
M src/soc/intel/baytrail/hda.c
M src/soc/intel/baytrail/include/soc/gpio.h
M src/soc/intel/baytrail/iosf.c
M src/soc/intel/baytrail/lpe.c
M src/soc/intel/baytrail/lpss.c
M src/soc/intel/baytrail/memmap.c
M src/soc/intel/baytrail/perf_power.c
M src/soc/intel/baytrail/pmutil.c
M src/soc/intel/baytrail/romstage/early_spi.c
M src/soc/intel/baytrail/romstage/gfx.c
M src/soc/intel/baytrail/romstage/pmc.c
M src/soc/intel/baytrail/romstage/romstage.c
M src/soc/intel/baytrail/romstage/uart.c
M src/soc/intel/baytrail/sata.c
M src/soc/intel/baytrail/sd.c
M src/soc/intel/baytrail/smihandler.c
M src/soc/intel/baytrail/smm.c
M src/soc/intel/baytrail/southcluster.c
M src/soc/intel/baytrail/spi.c
M src/soc/intel/braswell/acpi.c
M src/soc/intel/braswell/bootblock/bootblock.c
M src/soc/intel/braswell/elog.c
M src/soc/intel/braswell/emmc.c
M src/soc/intel/braswell/gfx.c
M src/soc/intel/braswell/hda.c
M src/soc/intel/braswell/include/soc/gpio.h
M src/soc/intel/braswell/iosf.c
M src/soc/intel/braswell/lpe.c
M src/soc/intel/braswell/lpss.c
M src/soc/intel/braswell/memmap.c
M src/soc/intel/braswell/pmutil.c
M src/soc/intel/braswell/romstage/early_spi.c
M src/soc/intel/braswell/romstage/pmc.c
M src/soc/intel/braswell/romstage/romstage.c
M src/soc/intel/braswell/sata.c
M src/soc/intel/braswell/sd.c
M src/soc/intel/braswell/smihandler.c
M src/soc/intel/braswell/smm.c
M src/soc/intel/braswell/southcluster.c
M src/soc/intel/braswell/spi.c
M src/soc/intel/broadwell/acpi.c
M src/soc/intel/broadwell/adsp.c
M src/soc/intel/broadwell/bootblock/cpu.c
M src/soc/intel/broadwell/bootblock/pch.c
M src/soc/intel/broadwell/bootblock/systemagent.c
M src/soc/intel/broadwell/ehci.c
M src/soc/intel/broadwell/finalize.c
M src/soc/intel/broadwell/gpio.c
M src/soc/intel/broadwell/hda.c
M src/soc/intel/broadwell/igd.c
M src/soc/intel/broadwell/include/soc/pci_devs.h
M src/soc/intel/broadwell/iobp.c
M src/soc/intel/broadwell/lpc.c
M src/soc/intel/broadwell/me.c
M src/soc/intel/broadwell/me_status.c
M src/soc/intel/broadwell/memmap.c
M src/soc/intel/broadwell/minihd.c
M src/soc/intel/broadwell/pch.c
M src/soc/intel/broadwell/pmutil.c
M src/soc/intel/broadwell/romstage/pch.c
M src/soc/intel/broadwell/romstage/power_state.c
M src/soc/intel/broadwell/romstage/raminit.c
M src/soc/intel/broadwell/romstage/report_platform.c
M src/soc/intel/broadwell/romstage/romstage.c
M src/soc/intel/broadwell/romstage/smbus.c
M src/soc/intel/broadwell/romstage/spi.c
M src/soc/intel/broadwell/romstage/systemagent.c
M src/soc/intel/broadwell/romstage/uart.c
M src/soc/intel/broadwell/sata.c
M src/soc/intel/broadwell/serialio.c
M src/soc/intel/broadwell/smbus.c
M src/soc/intel/broadwell/smbus_common.c
M src/soc/intel/broadwell/smi.c
M src/soc/intel/broadwell/smihandler.c
M src/soc/intel/broadwell/spi.c
M src/soc/intel/broadwell/systemagent.c
M src/soc/intel/broadwell/usb_debug.c
M src/soc/intel/broadwell/xhci.c
M src/soc/intel/cannonlake/acpi.c
M src/soc/intel/cannonlake/bootblock/report_platform.c
M src/soc/intel/cannonlake/finalize.c
M src/soc/intel/cannonlake/include/soc/pci_devs.h
M src/soc/intel/cannonlake/include/soc/pm.h
M src/soc/intel/cannonlake/lockdown.c
M src/soc/intel/cannonlake/lpc.c
M src/soc/intel/cannonlake/memmap.c
M src/soc/intel/cannonlake/pmutil.c
M src/soc/intel/cannonlake/romstage/power_state.c
M src/soc/intel/cannonlake/romstage/romstage.c
M src/soc/intel/common/block/cpu/cpulib.c
M src/soc/intel/common/block/cpu/mp_init.c
M src/soc/intel/common/block/fast_spi/fast_spi.c
M src/soc/intel/common/block/fast_spi/fast_spi_flash.c
M src/soc/intel/common/block/gspi/gspi.c
M src/soc/intel/common/block/i2c/i2c.c
M src/soc/intel/common/block/include/intelblocks/smihandler.h
M src/soc/intel/common/block/include/intelblocks/uart.h
M src/soc/intel/common/block/lpss/lpss.c
M src/soc/intel/common/block/p2sb/p2sb.c
M src/soc/intel/common/block/pcr/pcr.c
M src/soc/intel/common/block/pmc/pmc.c
M src/soc/intel/common/block/pmc/pmclib.c
M src/soc/intel/common/block/smbus/smbus_early.c
M src/soc/intel/common/block/smbus/smbuslib.c
M src/soc/intel/common/block/smm/smihandler.c
M src/soc/intel/common/block/smm/smitraphandler.c
M src/soc/intel/common/block/systemagent/systemagent.c
M src/soc/intel/common/block/systemagent/systemagent_early.c
M src/soc/intel/common/block/xdci/xdci.c
M src/soc/intel/common/block/xhci/xhci.c
M src/soc/intel/common/hda_verb.c
M src/soc/intel/common/pch/lockdown/lockdown.c
M src/soc/intel/denverton_ns/bootblock/uart.c
M src/soc/intel/denverton_ns/gpio_dnv.c
M src/soc/intel/denverton_ns/include/soc/pci_devs.h
M src/soc/intel/denverton_ns/include/soc/pm.h
M src/soc/intel/denverton_ns/lpc.c
M src/soc/intel/denverton_ns/memmap.c
M src/soc/intel/denverton_ns/npk.c
M src/soc/intel/denverton_ns/pmc.c
M src/soc/intel/denverton_ns/pmutil.c
M src/soc/intel/denverton_ns/sata.c
M src/soc/intel/denverton_ns/smihandler.c
M src/soc/intel/denverton_ns/smm.c
M src/soc/intel/denverton_ns/soc_util.c
M src/soc/intel/denverton_ns/systemagent.c
M src/soc/intel/denverton_ns/xhci.c
M src/soc/intel/fsp_baytrail/acpi.c
M src/soc/intel/fsp_baytrail/bootblock/bootblock.c
M src/soc/intel/fsp_baytrail/fsp/chipset_fsp_util.c
M src/soc/intel/fsp_baytrail/gfx.c
M src/soc/intel/fsp_baytrail/include/soc/gpio.h
M src/soc/intel/fsp_baytrail/include/soc/i2c.h
M src/soc/intel/fsp_baytrail/iosf.c
M src/soc/intel/fsp_baytrail/lpe.c
M src/soc/intel/fsp_baytrail/lpss.c
M src/soc/intel/fsp_baytrail/memmap.c
M src/soc/intel/fsp_baytrail/pmutil.c
M src/soc/intel/fsp_baytrail/romstage/pmc.c
M src/soc/intel/fsp_baytrail/romstage/report_platform.c
M src/soc/intel/fsp_baytrail/romstage/romstage.c
M src/soc/intel/fsp_baytrail/romstage/uart.c
M src/soc/intel/fsp_baytrail/smihandler.c
M src/soc/intel/fsp_baytrail/smm.c
M src/soc/intel/fsp_baytrail/southcluster.c
M src/soc/intel/fsp_baytrail/spi.c
M src/soc/intel/fsp_broadwell_de/acpi.c
M src/soc/intel/fsp_broadwell_de/gpio.c
M src/soc/intel/fsp_broadwell_de/pmutil.c
M src/soc/intel/fsp_broadwell_de/romstage/romstage.c
M src/soc/intel/fsp_broadwell_de/smbus.c
M src/soc/intel/fsp_broadwell_de/smbus_common.c
M src/soc/intel/fsp_broadwell_de/smi.c
M src/soc/intel/fsp_broadwell_de/smihandler.c
M src/soc/intel/fsp_broadwell_de/smmrelocate.c
M src/soc/intel/fsp_broadwell_de/southcluster.c
M src/soc/intel/icelake/acpi.c
M src/soc/intel/icelake/bootblock/report_platform.c
M src/soc/intel/icelake/finalize.c
M src/soc/intel/icelake/include/soc/pci_devs.h
M src/soc/intel/icelake/include/soc/pm.h
M src/soc/intel/icelake/lockdown.c
M src/soc/intel/icelake/lpc.c
M src/soc/intel/icelake/memmap.c
M src/soc/intel/icelake/pmutil.c
M src/soc/intel/icelake/romstage/power_state.c
M src/soc/intel/icelake/romstage/romstage.c
M src/soc/intel/quark/include/soc/reg_access.h
M src/soc/intel/quark/sd.c
M src/soc/intel/quark/spi.c
M src/soc/intel/quark/spi_debug.c
M src/soc/intel/quark/storage_test.c
M src/soc/intel/skylake/acpi.c
M src/soc/intel/skylake/bootblock/pch.c
M src/soc/intel/skylake/bootblock/report_platform.c
M src/soc/intel/skylake/chip_fsp20.c
M src/soc/intel/skylake/finalize.c
M src/soc/intel/skylake/include/soc/pci_devs.h
M src/soc/intel/skylake/include/soc/pm.h
M src/soc/intel/skylake/lockdown.c
M src/soc/intel/skylake/lpc.c
M src/soc/intel/skylake/me.c
M src/soc/intel/skylake/memmap.c
M src/soc/intel/skylake/pmutil.c
M src/soc/intel/skylake/romstage/romstage.c
M src/soc/intel/skylake/romstage/romstage_fsp20.c
M src/soc/intel/skylake/systemagent.c
M src/soc/intel/skylake/thermal.c
M src/soc/intel/skylake/vr_config.c
M src/soc/mediatek/common/gpio.c
M src/soc/mediatek/common/include/soc/pmic_wrap_common.h
M src/soc/mediatek/common/mtcmos.c
M src/soc/mediatek/common/pll.c
M src/soc/mediatek/common/pmic_wrap.c
M src/soc/mediatek/common/spi.c
M src/soc/mediatek/common/timer.c
M src/soc/mediatek/common/uart.c
M src/soc/mediatek/common/usb.c
M src/soc/mediatek/common/wdt.c
M src/soc/mediatek/mt8173/ddp.c
M src/soc/mediatek/mt8173/dramc_pi_basic_api.c
M src/soc/mediatek/mt8173/dramc_pi_calibration_api.c
M src/soc/mediatek/mt8173/dsi.c
M src/soc/mediatek/mt8173/emi.c
M src/soc/mediatek/mt8173/flash_controller.c
M src/soc/mediatek/mt8173/gpio.c
M src/soc/mediatek/mt8173/gpio_init.c
M src/soc/mediatek/mt8173/i2c.c
M src/soc/mediatek/mt8173/memory.c
M src/soc/mediatek/mt8173/mmu_operations.c
M src/soc/mediatek/mt8173/mt6391.c
M src/soc/mediatek/mt8173/pll.c
M src/soc/mediatek/mt8173/pmic_wrap.c
M src/soc/mediatek/mt8173/spi.c
M src/soc/mediatek/mt8173/timer.c
M src/soc/mediatek/mt8183/auxadc.c
M src/soc/mediatek/mt8183/dramc_init_setting.c
M src/soc/mediatek/mt8183/dramc_pi_basic_api.c
M src/soc/mediatek/mt8183/dramc_pi_calibration_api.c
M src/soc/mediatek/mt8183/emi.c
M src/soc/mediatek/mt8183/gpio.c
M src/soc/mediatek/mt8183/mmu_operations.c
M src/soc/mediatek/mt8183/mtcmos.c
M src/soc/mediatek/mt8183/pll.c
M src/soc/mediatek/mt8183/pmic_wrap.c
M src/soc/mediatek/mt8183/spi.c
M src/soc/nvidia/tegra/apbmisc.c
M src/soc/nvidia/tegra/gpio.c
M src/soc/nvidia/tegra/i2c.c
M src/soc/nvidia/tegra/pingroup.c
M src/soc/nvidia/tegra/pinmux.c
M src/soc/nvidia/tegra/usb.c
M src/soc/nvidia/tegra124/clock.c
M src/soc/nvidia/tegra124/display.c
M src/soc/nvidia/tegra124/dma.c
M src/soc/nvidia/tegra124/dp.c
M src/soc/nvidia/tegra124/include/soc/clock.h
M src/soc/nvidia/tegra124/monotonic_timer.c
M src/soc/nvidia/tegra124/power.c
M src/soc/nvidia/tegra124/sdram.c
M src/soc/nvidia/tegra124/soc.c
M src/soc/nvidia/tegra124/sor.c
M src/soc/nvidia/tegra124/spi.c
M src/soc/nvidia/tegra124/uart.c
M src/soc/nvidia/tegra210/addressmap.c
M src/soc/nvidia/tegra210/ccplex.c
M src/soc/nvidia/tegra210/clock.c
M src/soc/nvidia/tegra210/cpu.c
M src/soc/nvidia/tegra210/dc.c
M src/soc/nvidia/tegra210/dma.c
M src/soc/nvidia/tegra210/dp.c
M src/soc/nvidia/tegra210/dsi.c
M src/soc/nvidia/tegra210/flow_ctrl.c
M src/soc/nvidia/tegra210/funitcfg.c
M src/soc/nvidia/tegra210/include/soc/clock.h
M src/soc/nvidia/tegra210/include/soc/id.h
M src/soc/nvidia/tegra210/jdi_25x18_display/panel-jdi-lpm102a188a.c
M src/soc/nvidia/tegra210/mipi-phy.c
M src/soc/nvidia/tegra210/mipi.c
M src/soc/nvidia/tegra210/mipi_dsi.c
M src/soc/nvidia/tegra210/monotonic_timer.c
M src/soc/nvidia/tegra210/padconfig.c
M src/soc/nvidia/tegra210/power.c
M src/soc/nvidia/tegra210/ram_code.c
M src/soc/nvidia/tegra210/sdram.c
M src/soc/nvidia/tegra210/soc.c
M src/soc/nvidia/tegra210/sor.c
M src/soc/nvidia/tegra210/spi.c
M src/soc/nvidia/tegra210/uart.c
M src/soc/qualcomm/ipq40xx/blobs_init.c
M src/soc/qualcomm/ipq40xx/gpio.c
M src/soc/qualcomm/ipq40xx/i2c.c
M src/soc/qualcomm/ipq40xx/include/soc/iomap.h
M src/soc/qualcomm/ipq40xx/lcc.c
M src/soc/qualcomm/ipq40xx/qup.c
M src/soc/qualcomm/ipq40xx/spi.c
M src/soc/qualcomm/ipq40xx/uart.c
M src/soc/qualcomm/ipq40xx/usb.c
M src/soc/qualcomm/ipq806x/blobs_init.c
M src/soc/qualcomm/ipq806x/gpio.c
M src/soc/qualcomm/ipq806x/gsbi.c
M src/soc/qualcomm/ipq806x/i2c.c
M src/soc/qualcomm/ipq806x/include/soc/iomap.h
M src/soc/qualcomm/ipq806x/lcc.c
M src/soc/qualcomm/ipq806x/qup.c
M src/soc/qualcomm/ipq806x/spi.c
M src/soc/qualcomm/ipq806x/uart.c
M src/soc/qualcomm/ipq806x/usb.c
M src/soc/qualcomm/sdm845/gpio.c
M src/soc/rockchip/common/edp.c
M src/soc/rockchip/common/gpio.c
M src/soc/rockchip/common/i2c.c
M src/soc/rockchip/common/include/soc/soc.h
M src/soc/rockchip/common/pwm.c
M src/soc/rockchip/common/spi.c
M src/soc/rockchip/common/vop.c
M src/soc/rockchip/rk3288/bootblock.c
M src/soc/rockchip/rk3288/clock.c
M src/soc/rockchip/rk3288/crypto.c
M src/soc/rockchip/rk3288/display.c
M src/soc/rockchip/rk3288/gpio.c
M src/soc/rockchip/rk3288/hdmi.c
M src/soc/rockchip/rk3288/sdram.c
M src/soc/rockchip/rk3288/software_i2c.c
M src/soc/rockchip/rk3288/timer.c
M src/soc/rockchip/rk3288/tsadc.c
M src/soc/rockchip/rk3399/bootblock.c
M src/soc/rockchip/rk3399/decompressor.c
M src/soc/rockchip/rk3399/display.c
M src/soc/rockchip/rk3399/gpio.c
M src/soc/rockchip/rk3399/mipi.c
M src/soc/rockchip/rk3399/saradc.c
M src/soc/rockchip/rk3399/sdram.c
M src/soc/rockchip/rk3399/timer.c
M src/soc/rockchip/rk3399/tsadc.c
M src/soc/rockchip/rk3399/usb.c
M src/soc/samsung/exynos5250/clock.c
M src/soc/samsung/exynos5250/dmc_common.c
M src/soc/samsung/exynos5250/dmc_init_ddr3.c
M src/soc/samsung/exynos5250/dp-reg.c
M src/soc/samsung/exynos5250/fb.c
M src/soc/samsung/exynos5250/i2c.c
M src/soc/samsung/exynos5250/include/soc/cpu.h
M src/soc/samsung/exynos5250/power.c
M src/soc/samsung/exynos5250/spi.c
M src/soc/samsung/exynos5250/timer.c
M src/soc/samsung/exynos5250/tmu.c
M src/soc/samsung/exynos5250/trustzone.c
M src/soc/samsung/exynos5250/uart.c
M src/soc/samsung/exynos5250/usb.c
M src/soc/samsung/exynos5420/clock.c
M src/soc/samsung/exynos5420/dmc_common.c
M src/soc/samsung/exynos5420/dmc_init_ddr3.c
M src/soc/samsung/exynos5420/dp.c
M src/soc/samsung/exynos5420/dp_lowlevel.c
M src/soc/samsung/exynos5420/fimd.c
M src/soc/samsung/exynos5420/i2c.c
M src/soc/samsung/exynos5420/include/soc/cpu.h
M src/soc/samsung/exynos5420/power.c
M src/soc/samsung/exynos5420/smp.c
M src/soc/samsung/exynos5420/spi.c
M src/soc/samsung/exynos5420/timer.c
M src/soc/samsung/exynos5420/tmu.c
M src/soc/samsung/exynos5420/trustzone.c
M src/soc/samsung/exynos5420/uart.c
M src/soc/samsung/exynos5420/usb.c
M src/soc/sifive/fu540/bootblock.c
M src/soc/sifive/fu540/clint.c
M src/soc/sifive/fu540/clock.c
M src/soc/sifive/fu540/otp.c
M src/southbridge/amd/agesa/hudson/bootblock.c
M src/southbridge/amd/agesa/hudson/early_setup.c
M src/southbridge/amd/agesa/hudson/enable_usbdebug.c
M src/southbridge/amd/agesa/hudson/fadt.c
M src/southbridge/amd/agesa/hudson/hda.c
M src/southbridge/amd/agesa/hudson/hudson.c
M src/southbridge/amd/agesa/hudson/imc.c
M src/southbridge/amd/agesa/hudson/lpc.c
M src/southbridge/amd/agesa/hudson/ramtop.c
M src/southbridge/amd/agesa/hudson/reset.c
M src/southbridge/amd/agesa/hudson/sata.c
M src/southbridge/amd/agesa/hudson/sd.c
M src/southbridge/amd/agesa/hudson/sm.c
M src/southbridge/amd/agesa/hudson/smi.h
M src/southbridge/amd/agesa/hudson/spi.c
M src/southbridge/amd/agesa/hudson/usb.c
M src/southbridge/amd/amd8111/acpi.c
M src/southbridge/amd/amd8111/bootblock.c
M src/southbridge/amd/amd8111/nic.c
M src/southbridge/amd/amd8111/reset.c
M src/southbridge/amd/amd8111/smbus.c
M src/southbridge/amd/amd8111/usb.c
M src/southbridge/amd/cimx/cimx_util.c
M src/southbridge/amd/cimx/sb800/bootblock.c
M src/southbridge/amd/cimx/sb800/cfg.c
M src/southbridge/amd/cimx/sb800/early.c
M src/southbridge/amd/cimx/sb800/fadt.c
M src/southbridge/amd/cimx/sb800/lpc.c
M src/southbridge/amd/cimx/sb800/ramtop.c
M src/southbridge/amd/cimx/sb800/reset.c
M src/southbridge/amd/cimx/sb800/smbus.c
M src/southbridge/amd/cimx/sb800/spi.c
M src/southbridge/amd/cimx/sb900/bootblock.c
M src/southbridge/amd/cimx/sb900/early.c
M src/southbridge/amd/cimx/sb900/ramtop.c
M src/southbridge/amd/cimx/sb900/reset.c
M src/southbridge/amd/cimx/sb900/smbus.c
M src/southbridge/amd/common/amd_pci_util.c
M src/southbridge/amd/cs5536/cs5536.c
M src/southbridge/amd/cs5536/early_setup.c
M src/southbridge/amd/cs5536/early_smbus.c
M src/southbridge/amd/cs5536/smbus.c
M src/southbridge/amd/pi/hudson/bootblock.c
M src/southbridge/amd/pi/hudson/early_setup.c
M src/southbridge/amd/pi/hudson/enable_usbdebug.c
M src/southbridge/amd/pi/hudson/fadt.c
M src/southbridge/amd/pi/hudson/gpio.c
M src/southbridge/amd/pi/hudson/hda.c
M src/southbridge/amd/pi/hudson/hudson.c
M src/southbridge/amd/pi/hudson/imc.c
M src/southbridge/amd/pi/hudson/lpc.c
M src/southbridge/amd/pi/hudson/reset.c
M src/southbridge/amd/pi/hudson/sata.c
M src/southbridge/amd/pi/hudson/sd.c
M src/southbridge/amd/pi/hudson/sm.c
M src/southbridge/amd/pi/hudson/smi.h
M src/southbridge/amd/pi/hudson/usb.c
M src/southbridge/amd/rs780/cmn.c
M src/southbridge/amd/rs780/early_setup.c
M src/southbridge/amd/rs780/rs780.c
M src/southbridge/amd/sb700/bootblock.c
M src/southbridge/amd/sb700/early_setup.c
M src/southbridge/amd/sb700/enable_usbdebug.c
M src/southbridge/amd/sb700/fadt.c
M src/southbridge/amd/sb700/hda.c
M src/southbridge/amd/sb700/lpc.c
M src/southbridge/amd/sb700/pmio.c
M src/southbridge/amd/sb700/ramtop.c
M src/southbridge/amd/sb700/reset.c
M src/southbridge/amd/sb700/sata.c
M src/southbridge/amd/sb700/sb700.c
M src/southbridge/amd/sb700/sm.c
M src/southbridge/amd/sb700/smbus.h
M src/southbridge/amd/sb700/spi.c
M src/southbridge/amd/sb700/usb.c
M src/southbridge/amd/sb800/bootblock.c
M src/southbridge/amd/sb800/enable_usbdebug.c
M src/southbridge/amd/sb800/fadt.c
M src/southbridge/amd/sb800/hda.c
M src/southbridge/amd/sb800/lpc.c
M src/southbridge/amd/sb800/ramtop.c
M src/southbridge/amd/sb800/reset.c
M src/southbridge/amd/sb800/sata.c
M src/southbridge/amd/sb800/sb800.c
M src/southbridge/amd/sb800/sm.c
M src/southbridge/amd/sb800/usb.c
M src/southbridge/amd/sr5650/cmn.h
M src/southbridge/amd/sr5650/early_setup.c
M src/southbridge/amd/sr5650/sr5650.c
M src/southbridge/broadcom/bcm5785/bootblock.c
M src/southbridge/broadcom/bcm5785/lpc.c
M src/southbridge/broadcom/bcm5785/reset.c
M src/southbridge/broadcom/bcm5785/sata.c
M src/southbridge/broadcom/bcm5785/sb_pci_main.c
M src/southbridge/intel/bd82x6x/azalia.c
M src/southbridge/intel/bd82x6x/bootblock.c
M src/southbridge/intel/bd82x6x/early_me.c
M src/southbridge/intel/bd82x6x/early_me_mrc.c
M src/southbridge/intel/bd82x6x/early_pch.c
M src/southbridge/intel/bd82x6x/early_pch_common.c
M src/southbridge/intel/bd82x6x/early_smbus.c
M src/southbridge/intel/bd82x6x/early_spi.c
M src/southbridge/intel/bd82x6x/early_thermal.c
M src/southbridge/intel/bd82x6x/early_usb.c
M src/southbridge/intel/bd82x6x/early_usb_mrc.c
M src/southbridge/intel/bd82x6x/elog.c
M src/southbridge/intel/bd82x6x/finalize.c
M src/southbridge/intel/bd82x6x/lpc.c
M src/southbridge/intel/bd82x6x/me.c
M src/southbridge/intel/bd82x6x/me_8.x.c
M src/southbridge/intel/bd82x6x/pch.c
M src/southbridge/intel/bd82x6x/sata.c
M src/southbridge/intel/bd82x6x/smbus.c
M src/southbridge/intel/bd82x6x/smihandler.c
M src/southbridge/intel/bd82x6x/usb_ehci.c
M src/southbridge/intel/bd82x6x/usb_xhci.c
M src/southbridge/intel/bd82x6x/watchdog.c
M src/southbridge/intel/common/acpi_pirq_gen.c
M src/southbridge/intel/common/gpio.c
M src/southbridge/intel/common/pmbase.c
M src/southbridge/intel/common/pmutil.c
M src/southbridge/intel/common/smbus.c
M src/southbridge/intel/common/smi.c
M src/southbridge/intel/common/smihandler.c
M src/southbridge/intel/common/spi.c
M src/southbridge/intel/common/usb_debug.c
M src/southbridge/intel/fsp_rangeley/acpi.c
M src/southbridge/intel/fsp_rangeley/early_init.c
M src/southbridge/intel/fsp_rangeley/early_smbus.c
M src/southbridge/intel/fsp_rangeley/early_spi.c
M src/southbridge/intel/fsp_rangeley/early_usb.c
M src/southbridge/intel/fsp_rangeley/gpio.c
M src/southbridge/intel/fsp_rangeley/lpc.c
M src/southbridge/intel/fsp_rangeley/romstage.c
M src/southbridge/intel/fsp_rangeley/sata.c
M src/southbridge/intel/fsp_rangeley/smbus.c
M src/southbridge/intel/fsp_rangeley/spi.c
M src/southbridge/intel/fsp_rangeley/watchdog.c
M src/southbridge/intel/i82371eb/bootblock.c
M src/southbridge/intel/i82371eb/early_pm.c
M src/southbridge/intel/i82371eb/early_smbus.c
M src/southbridge/intel/i82371eb/i82371eb.h
M src/southbridge/intel/i82371eb/reset.c
M src/southbridge/intel/i82371eb/smbus.c
M src/southbridge/intel/i82371eb/wakeup.c
M src/southbridge/intel/i82801dx/ac97.c
M src/southbridge/intel/i82801dx/bootblock.c
M src/southbridge/intel/i82801dx/early_smbus.c
M src/southbridge/intel/i82801dx/lpc.c
M src/southbridge/intel/i82801dx/smi.c
M src/southbridge/intel/i82801dx/smihandler.c
M src/southbridge/intel/i82801gx/ac97.c
M src/southbridge/intel/i82801gx/azalia.c
M src/southbridge/intel/i82801gx/bootblock.c
M src/southbridge/intel/i82801gx/early_lpc.c
M src/southbridge/intel/i82801gx/early_smbus.c
M src/southbridge/intel/i82801gx/lpc.c
M src/southbridge/intel/i82801gx/smbus.c
M src/southbridge/intel/i82801gx/smi.c
M src/southbridge/intel/i82801gx/smihandler.c
M src/southbridge/intel/i82801gx/usb_ehci.c
M src/southbridge/intel/i82801gx/watchdog.c
M src/southbridge/intel/i82801ix/bootblock.c
M src/southbridge/intel/i82801ix/dmi_setup.c
M src/southbridge/intel/i82801ix/early_init.c
M src/southbridge/intel/i82801ix/early_smbus.c
M src/southbridge/intel/i82801ix/hdaudio.c
M src/southbridge/intel/i82801ix/i82801ix.c
M src/southbridge/intel/i82801ix/lpc.c
M src/southbridge/intel/i82801ix/sata.c
M src/southbridge/intel/i82801ix/smbus.c
M src/southbridge/intel/i82801ix/smi.c
M src/southbridge/intel/i82801ix/smihandler.c
M src/southbridge/intel/i82801ix/thermal.c
M src/southbridge/intel/i82801jx/bootblock.c
M src/southbridge/intel/i82801jx/early_lpc.c
M src/southbridge/intel/i82801jx/early_smbus.c
M src/southbridge/intel/i82801jx/hdaudio.c
M src/southbridge/intel/i82801jx/i82801jx.c
M src/southbridge/intel/i82801jx/lpc.c
M src/southbridge/intel/i82801jx/sata.c
M src/southbridge/intel/i82801jx/smbus.c
M src/southbridge/intel/i82801jx/smi.c
M src/southbridge/intel/i82801jx/smihandler.c
M src/southbridge/intel/i82801jx/thermal.c
M src/southbridge/intel/i82870/pci_parity.c
M src/southbridge/intel/ibexpeak/azalia.c
M src/southbridge/intel/ibexpeak/early_smbus.c
M src/southbridge/intel/ibexpeak/early_thermal.c
M src/southbridge/intel/ibexpeak/lpc.c
M src/southbridge/intel/ibexpeak/madt.c
M src/southbridge/intel/ibexpeak/me.c
M src/southbridge/intel/ibexpeak/sata.c
M src/southbridge/intel/ibexpeak/smbus.c
M src/southbridge/intel/ibexpeak/smi.c
M src/southbridge/intel/ibexpeak/smihandler.c
M src/southbridge/intel/ibexpeak/thermal.c
M src/southbridge/intel/ibexpeak/usb_ehci.c
M src/southbridge/intel/lynxpoint/azalia.c
M src/southbridge/intel/lynxpoint/bootblock.c
M src/southbridge/intel/lynxpoint/early_me.c
M src/southbridge/intel/lynxpoint/early_pch.c
M src/southbridge/intel/lynxpoint/early_smbus.c
M src/southbridge/intel/lynxpoint/early_spi.c
M src/southbridge/intel/lynxpoint/early_usb.c
M src/southbridge/intel/lynxpoint/elog.c
M src/southbridge/intel/lynxpoint/finalize.c
M src/southbridge/intel/lynxpoint/hda_verb.c
M src/southbridge/intel/lynxpoint/lp_gpio.c
M src/southbridge/intel/lynxpoint/lpc.c
M src/southbridge/intel/lynxpoint/me_9.x.c
M src/southbridge/intel/lynxpoint/pch.c
M src/southbridge/intel/lynxpoint/pmutil.c
M src/southbridge/intel/lynxpoint/rcba.c
M src/southbridge/intel/lynxpoint/sata.c
M src/southbridge/intel/lynxpoint/serialio.c
M src/southbridge/intel/lynxpoint/smbus.c
M src/southbridge/intel/lynxpoint/smi.c
M src/southbridge/intel/lynxpoint/smihandler.c
M src/southbridge/intel/lynxpoint/usb_ehci.c
M src/southbridge/intel/lynxpoint/usb_xhci.c
M src/southbridge/intel/lynxpoint/watchdog.c
M src/southbridge/nvidia/ck804/bootblock.c
M src/southbridge/nvidia/ck804/ck804.c
M src/southbridge/nvidia/ck804/early_smbus.c
M src/southbridge/nvidia/ck804/enable_usbdebug.c
M src/southbridge/nvidia/ck804/lpc.c
M src/southbridge/nvidia/ck804/nic.c
M src/southbridge/nvidia/ck804/reset.c
M src/southbridge/nvidia/ck804/smbus.c
M src/southbridge/nvidia/mcp55/azalia.c
M src/southbridge/nvidia/mcp55/bootblock.c
M src/southbridge/nvidia/mcp55/early_ctrl.c
M src/southbridge/nvidia/mcp55/early_smbus.c
M src/southbridge/nvidia/mcp55/enable_usbdebug.c
M src/southbridge/nvidia/mcp55/fadt.c
M src/southbridge/nvidia/mcp55/lpc.c
M src/southbridge/nvidia/mcp55/mcp55.c
M src/southbridge/nvidia/mcp55/nic.c
M src/southbridge/nvidia/mcp55/reset.c
M src/southbridge/nvidia/mcp55/smbus.c
M src/southbridge/ricoh/rl5c476/rl5c476.c
M src/southbridge/ti/pci1x2x/pci1x2x.c
M src/southbridge/ti/pci7420/cardbus.c
M src/southbridge/ti/pci7420/firewire.c
M src/southbridge/ti/pcixx12/pcixx12.c
M src/southbridge/via/common/via_early_smbus.h
M src/superio/common/conf_mode.c
M src/superio/fintek/common/early_serial.c
M src/superio/fintek/common/fintek.h
M src/superio/fintek/f71805f/superio.c
M src/superio/fintek/f71808a/f71808a_hwm.c
M src/superio/fintek/f71808a/f71808a_multifunc.c
M src/superio/fintek/f71808a/fintek_internal.h
M src/superio/fintek/f71808a/superio.c
M src/superio/fintek/f71859/superio.c
M src/superio/fintek/f71863fg/superio.c
M src/superio/fintek/f71869ad/f71869ad_hwm.c
M src/superio/fintek/f71869ad/f71869ad_multifunc.c
M src/superio/fintek/f71869ad/fintek_internal.h
M src/superio/fintek/f71869ad/superio.c
M src/superio/fintek/f71872/superio.c
M src/superio/fintek/f81216h/early_serial.c
M src/superio/fintek/f81216h/superio.c
M src/superio/fintek/f81865f/superio.c
M src/superio/fintek/f81866d/f81866d_hwm.c
M src/superio/fintek/f81866d/f81866d_uart.c
M src/superio/fintek/f81866d/fintek_internal.h
M src/superio/fintek/f81866d/superio.c
M src/superio/intel/i8900/early_serial.c
M src/superio/intel/i8900/superio.c
M src/superio/ite/common/early_serial.c
M src/superio/ite/common/env_ctrl.c
M src/superio/ite/common/ite.h
M src/superio/ite/it8623e/superio.c
M src/superio/ite/it8671f/early_serial.c
M src/superio/ite/it8671f/it8671f.h
M src/superio/ite/it8712f/superio.c
M src/superio/ite/it8716f/superio.c
M src/superio/ite/it8718f/early_serial.c
M src/superio/ite/it8718f/it8718f.h
M src/superio/ite/it8728f/superio.c
M src/superio/ite/it8772f/early_init.c
M src/superio/ite/it8772f/it8772f.h
M src/superio/ite/it8772f/superio.c
M src/superio/ite/it8783ef/it8783ef.h
M src/superio/nsc/pc87309/early_serial.c
M src/superio/nsc/pc87309/pc87309.h
M src/superio/nsc/pc87309/superio.c
M src/superio/nsc/pc87360/early_serial.c
M src/superio/nsc/pc87360/pc87360.h
M src/superio/nsc/pc87360/superio.c
M src/superio/nsc/pc87366/early_serial.c
M src/superio/nsc/pc87366/pc87366.h
M src/superio/nsc/pc87366/superio.c
M src/superio/nsc/pc87382/superio.c
M src/superio/nsc/pc87384/superio.c
M src/superio/nsc/pc87392/early_serial.c
M src/superio/nsc/pc87392/superio.c
M src/superio/nsc/pc87417/early_init.c
M src/superio/nsc/pc87417/early_serial.c
M src/superio/nsc/pc87417/pc87417.h
M src/superio/nsc/pc87417/superio.c
M src/superio/nsc/pc97317/early_serial.c
M src/superio/nsc/pc97317/pc97317.h
M src/superio/nsc/pc97317/superio.c
M src/superio/nuvoton/common/early_serial.c
M src/superio/nuvoton/common/nuvoton.h
M src/superio/nuvoton/nct5104d/early_init.c
M src/superio/nuvoton/nct5104d/superio.c
M src/superio/nuvoton/nct5572d/superio.c
M src/superio/nuvoton/nct6776/superio.c
M src/superio/nuvoton/nct6779d/superio.c
M src/superio/nuvoton/nct6791d/superio.c
M src/superio/nuvoton/npcd378/superio.c
M src/superio/nuvoton/wpcm450/early_init.c
M src/superio/nuvoton/wpcm450/superio.c
M src/superio/renesas/m3885x/superio.c
M src/superio/serverengines/pilot/early_init.c
M src/superio/serverengines/pilot/early_serial.c
M src/superio/smsc/dme1737/dme1737.h
M src/superio/smsc/dme1737/early_serial.c
M src/superio/smsc/dme1737/superio.c
M src/superio/smsc/kbc1100/early_init.c
M src/superio/smsc/kbc1100/kbc1100.h
M src/superio/smsc/kbc1100/superio.c
M src/superio/smsc/lpc47b272/early_serial.c
M src/superio/smsc/lpc47b272/lpc47b272.h
M src/superio/smsc/lpc47b272/superio.c
M src/superio/smsc/lpc47b397/early_serial.c
M src/superio/smsc/lpc47b397/lpc47b397.h
M src/superio/smsc/lpc47b397/superio.c
M src/superio/smsc/lpc47m10x/early_serial.c
M src/superio/smsc/lpc47m10x/lpc47m10x.h
M src/superio/smsc/lpc47m10x/superio.c
M src/superio/smsc/lpc47m15x/early_serial.c
M src/superio/smsc/lpc47m15x/lpc47m15x.h
M src/superio/smsc/lpc47m15x/superio.c
M src/superio/smsc/lpc47n207/early_serial.c
M src/superio/smsc/lpc47n207/lpc47n207.h
M src/superio/smsc/lpc47n217/early_serial.c
M src/superio/smsc/lpc47n217/lpc47n217.h
M src/superio/smsc/lpc47n217/superio.c
M src/superio/smsc/lpc47n227/early_serial.c
M src/superio/smsc/lpc47n227/superio.c
M src/superio/smsc/mec1308/superio.c
M src/superio/smsc/sch4037/sch4037_early_init.c
M src/superio/smsc/sch4037/superio.c
M src/superio/smsc/sio1007/early_serial.c
M src/superio/smsc/sio1036/sio1036.h
M src/superio/smsc/sio1036/sio1036_early_init.c
M src/superio/smsc/sio1036/superio.c
M src/superio/smsc/smscsuperio/early_serial.c
M src/superio/smsc/smscsuperio/smscsuperio.h
M src/superio/smsc/smscsuperio/superio.c
M src/superio/via/vt1211/superio.c
M src/superio/winbond/common/early_init.c
M src/superio/winbond/common/winbond.h
M src/superio/winbond/w83627dhg/early_serial.c
M src/superio/winbond/w83627dhg/superio.c
M src/superio/winbond/w83627dhg/w83627dhg.h
M src/superio/winbond/w83627ehg/superio.c
M src/superio/winbond/w83627hf/superio.c
M src/superio/winbond/w83627thg/superio.c
M src/superio/winbond/w83627thg/w83627thg.h
M src/superio/winbond/w83627uhg/superio.c
M src/superio/winbond/w83667hg-a/superio.c
M src/superio/winbond/w83697hf/superio.c
M src/superio/winbond/w83977tf/superio.c
M src/superio/winbond/wpcd376i/early_serial.c
M src/superio/winbond/wpcd376i/superio.c
M src/superio/winbond/wpcd376i/wpcd376i.h
M util/uio_usbdebug/uio_usbdebug_intel.c
1,357 files changed, 1,359 insertions(+), 53 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/47/29947/1
--
To view, visit https://review.coreboot.org/c/coreboot/+/29947
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I6a3deea676308e2dc703b5e06558b05235191044
Gerrit-Change-Number: 29947
Gerrit-PatchSet: 1
Gerrit-Owner: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-MessageType: newchange
Patrick Rudolph has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/29946
Change subject: [WIP]opencelluar: Add EC interface
......................................................................
[WIP]opencelluar: Add EC interface
Add the EC driver that uses the OpenCellular Management Protocol.
Implement the board_reset() method using introduced methods.
Change-Id: I67eb4ee8e0ad297a8d1984d55102146688c291fc
Signed-off-by: Patrick Rudolph <patrick.rudolph(a)9elements.com>
---
A src/ec/opencellular/tiva/Kconfig
A src/ec/opencellular/tiva/Makefile.inc
A src/ec/opencellular/tiva/ec.c
A src/ec/opencellular/tiva/ec.h
M src/mainboard/opencellular/elgon/Kconfig
M src/mainboard/opencellular/elgon/Makefile.inc
A src/mainboard/opencellular/elgon/reset.c
7 files changed, 327 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/46/29946/1
diff --git a/src/ec/opencellular/tiva/Kconfig b/src/ec/opencellular/tiva/Kconfig
new file mode 100644
index 0000000..a56b06a
--- /dev/null
+++ b/src/ec/opencellular/tiva/Kconfig
@@ -0,0 +1,5 @@
+config EC_OPENCELLULAR_TIVA
+ bool
+ depends on CONSOLE_SERIAL
+ help
+ OpenCellular Tiva EC protocol driver over serial.
diff --git a/src/ec/opencellular/tiva/Makefile.inc b/src/ec/opencellular/tiva/Makefile.inc
new file mode 100644
index 0000000..fadaf44
--- /dev/null
+++ b/src/ec/opencellular/tiva/Makefile.inc
@@ -0,0 +1,9 @@
+ifeq ($(CONFIG_EC_OPENCELLULAR_TIVA),y)
+
+bootblock-y += ec.c
+romstage-y += ec.c
+verstage-y += ec.c
+postcar-y += ec.c
+ramstage-y += ec.c
+
+endif
diff --git a/src/ec/opencellular/tiva/ec.c b/src/ec/opencellular/tiva/ec.c
new file mode 100644
index 0000000..d46f284
--- /dev/null
+++ b/src/ec/opencellular/tiva/ec.c
@@ -0,0 +1,203 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright 2018 Facebook, 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.
+ */
+
+#include <console/console.h>
+#include <string.h>
+#include <console/uart.h>
+#include "ec.h"
+
+/* Packet definition as per OpenCellular Management Protocol */
+enum ec_iface {
+ EC_UART = 1,
+ EC_ETHERNET = 2,
+ EC_SBD = 3,
+ EC_USB = 4,
+};
+
+struct ec_header {
+ uint8_t sof;
+ uint8_t len;
+ uint8_t iface;
+ uint32_t seq;
+ uint32_t ts;
+} __packed;
+
+struct ec_payload {
+ uint8_t subsystem;
+ uint8_t component_id;
+ uint8_t message_type;
+ uint8_t action_type;
+ uint16_t parameter_info;
+ uint8_t message[48];
+} __packed;
+
+struct ec_packet {
+ struct ec_header hdr;
+ struct ec_payload pld;
+} __packed;
+
+struct ec_msg {
+ union {
+ struct ec_packet p;
+ uint8_t raw[sizeof(struct ec_packet)];
+ };
+};
+
+/* Create a packet to BMS:TIVA from given arguments */
+static size_t ec_create_tx_msg(struct ec_packet *p,
+ const enum ec_message_type mt,
+ const enum ec_action_type at,
+ const uint8_t parameter_info,
+ const enum ec_iface iface,
+ const uint8_t *data_in,
+ const uint8_t data_in_len)
+{
+ size_t len = sizeof(*p) - sizeof(p->pld.message) + data_in_len;
+
+ p->pld.subsystem = EC_BMS;
+ p->pld.component_id = EC_TIVA;
+ p->pld.message_type = mt;
+ p->pld.action_type = at;
+ p->pld.parameter_info = parameter_info;
+ if (data_in)
+ memcpy(&p->pld.message, data_in, data_in_len);
+
+ p->hdr.iface = iface;
+ p->hdr.len = data_in_len;
+ p->hdr.sof = 0x55;
+ p->hdr.ts = 0; /* Reserved for future use */
+ p->hdr.seq = 0; /* Reserved for future use */
+
+ return len;
+}
+
+/* Returns true on valid header */
+static bool ec_verify_rx_hdr(struct ec_packet *p, const enum ec_iface iface)
+{
+ if (p->hdr.sof != 0x55)
+ return false;
+ if (p->hdr.len > 48)
+ return false;
+ if (p->hdr.iface != iface)
+ return false;
+ return true;
+}
+
+
+/* Returns true on valid packet */
+static bool ec_verify_rx_msg(struct ec_packet *p, const enum ec_iface iface)
+{
+ if (!ec_verify_rx_hdr(p, iface))
+ return false;
+ if (p->pld.subsystem != EC_BMS)
+ return false;
+ if (p->pld.component_id != EC_TIVA)
+ return false;
+
+ return true;
+}
+
+/**
+ * Transmits a packet to EC using one of the UARTs.
+ * The function is blocking until a data has been transmitted.
+ *
+ * All pointers can be NULL if not required.
+ *
+ * @param uart_idx The UART connected to EC
+ * @param mt Message type to transmit
+ * @param at Action type to transmit
+ * @param parameter_info Parameter info to transmit
+ * @param data_in Buffer to data to transmit
+ * @param data_in_len Length of data to transmit
+ *
+ * @return Zero on success, negative on failure
+ */
+int ec_transmit_msg_uart(const uint8_t uart_idx,
+ const enum ec_message_type mt,
+ const enum ec_action_type at,
+ const uint8_t parameter_info,
+ const uint8_t *data_in,
+ const uint8_t data_in_len)
+{
+ struct ec_msg msg;
+
+ size_t len = ec_create_tx_msg(&msg.p, mt, at, parameter_info, EC_UART,
+ data_in, data_in_len);
+
+ for (size_t i = 0; i < len; i++)
+ uart_tx_byte(uart_idx, msg.raw[i]);
+
+ return 0;
+}
+
+/**
+ * Receives a packet from EC using one of the UARTs.
+ * The function is blocking and waits for a SOF byte.
+ *
+ * The caller must provide a data buffer of size 48.
+ * If no data buffer is provided the received data (if any) is dropped.
+ *
+ * All pointers can be NULL if not required.
+ *
+ * @param uart_idx The UART connected to EC
+ * @param mt Receveived message type
+ * @param at Receveived action type
+ * @param parameter_info Receveived parameter info
+ * @param data_out Buffer to place receveived data
+ * @param data_out_len Length of received data
+ *
+ * @return Zero on success, negative on failure
+ */
+int ec_receive_msg_uart(const uint8_t uart_idx,
+ enum ec_message_type *mt,
+ enum ec_action_type *at,
+ uint8_t *parameter_info,
+ uint8_t *data_out,
+ uint8_t *data_out_len)
+{
+ struct ec_msg msg;
+
+ do {
+ msg.raw[0] = uart_rx_byte(uart_idx);
+ } while (msg.raw[0] != 0x55);
+
+ for (size_t i = 0; i < sizeof(struct ec_header); i++)
+ msg.raw[i] = uart_rx_byte(uart_idx);
+
+ if (!ec_verify_rx_hdr(&msg.p, EC_UART))
+ return -1;
+
+ const size_t len = sizeof(msg.p.pld) - sizeof(msg.p.pld.message) +
+ msg.p.hdr.len;
+
+ for (size_t i = 0; i < len; i++)
+ msg.raw[sizeof(struct ec_header) + i] = uart_rx_byte(uart_idx);
+
+ if (!ec_verify_rx_msg(&msg.p, EC_UART))
+ return -1;
+
+ if (mt)
+ *mt = msg.p.pld.message_type;
+ if (at)
+ *at = msg.p.pld.action_type;
+ if (parameter_info)
+ *parameter_info = msg.p.pld.parameter_info;
+ if (data_out)
+ memcpy(data_out, msg.p.pld.message, msg.p.hdr.len);
+ if (*data_out_len)
+ *data_out_len = msg.p.hdr.len;
+ return 0;
+}
+
diff --git a/src/ec/opencellular/tiva/ec.h b/src/ec/opencellular/tiva/ec.h
new file mode 100644
index 0000000..7728f7e
--- /dev/null
+++ b/src/ec/opencellular/tiva/ec.h
@@ -0,0 +1,77 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright 2018 Facebook, 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.
+ */
+
+#include <types.h>
+
+/**
+ * Command interface as per OpenCellular Management Protocol:
+ *
+ * This protocol allows to handle all the configuration, status and alert
+ * processing through a ‘Request-Response’ mechanism between host and MCU.
+ */
+
+enum ec_subsystem {
+ EC_SYSTEM = 0,
+ EC_POWER = 1,
+ EC_BMS = 2,
+ EC_HCI = 3,
+ EC_ETHERNET_SWITCH = 4,
+ EC_OBC = 5,
+ EC_GPP = 6,
+ EC_SDR = 7,
+ EC_RF = 8,
+ EC_SYNC = 9,
+ EC_TEST_MODULE = 10,
+ EC_WATCHDOG = 11,
+ EC_ALERT_MANAGER = 12
+};
+
+/* We only support subsystem BMS here */
+enum ec_subsystem_bms {
+ EC_ALL = 0,
+ EC_TIVA = 1,
+};
+
+enum ec_message_type {
+ EC_CONFIG = 1,
+ EC_STATUS = 2,
+ EC_ALERT = 3,
+ EC_COMMAND = 4,
+};
+
+enum ec_action_type {
+ EC_GET = 1,
+ EC_SET = 2,
+ EC_REPLY = 3,
+ EC_ACTIVE = 4,
+ EC_CLEAR = 5,
+ EC_RESET = 6,
+ EC_ENABLE = 7,
+ EC_DISABLE = 8,
+};
+
+int ec_transmit_msg_uart(const uint8_t uart_idx,
+ const enum ec_message_type mt,
+ const enum ec_action_type at,
+ const uint8_t parameter_info,
+ const uint8_t *data_in,
+ const uint8_t data_in_len);
+
+int ec_receive_msg_uart(const uint8_t uart_idx,
+ enum ec_message_type *mt,
+ enum ec_action_type *at,
+ uint8_t *parameter_info,
+ uint8_t *data_out,
+ uint8_t *data_out_len);
diff --git a/src/mainboard/opencellular/elgon/Kconfig b/src/mainboard/opencellular/elgon/Kconfig
index 3ba2a60..b9f93ab 100644
--- a/src/mainboard/opencellular/elgon/Kconfig
+++ b/src/mainboard/opencellular/elgon/Kconfig
@@ -25,7 +25,7 @@
select SPI_FLASH_WINBOND
select MAINBOARD_HAS_I2C_TPM_GENERIC
select MAINBOARD_HAS_TPM1
- select MISSING_BOARD_RESET
+ select EC_OPENCELLULAR_TIVA
config VBOOT
select VBOOT_NO_BOARD_SUPPORT
diff --git a/src/mainboard/opencellular/elgon/Makefile.inc b/src/mainboard/opencellular/elgon/Makefile.inc
index 343a52e..3440833 100644
--- a/src/mainboard/opencellular/elgon/Makefile.inc
+++ b/src/mainboard/opencellular/elgon/Makefile.inc
@@ -16,16 +16,20 @@
bootblock-y += bootblock.c
bootblock-y += memlayout.ld
bootblock-y += death.c
+bootblock-y += reset.c
romstage-y += memlayout.ld
romstage-y += romstage.c
romstage-y += bdk_devicetree.c
romstage-y += death.c
+romstage-y += reset.c
ramstage-y += mainboard.c
ramstage-y += memlayout.ld
ramstage-y += bdk_devicetree.c
ramstage-y += death.c
+ramstage-y += reset.c
verstage-y += memlayout.ld
verstage-y += death.c
+verstage-y += reset.c
diff --git a/src/mainboard/opencellular/elgon/reset.c b/src/mainboard/opencellular/elgon/reset.c
new file mode 100644
index 0000000..d73d9af
--- /dev/null
+++ b/src/mainboard/opencellular/elgon/reset.c
@@ -0,0 +1,28 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright 2018 Facebook, 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.
+ */
+
+#include <ec/opencellular/tiva/ec.h>
+#include <reset.h>
+#include <soc/gpio.h>
+#include "mainboard.h"
+
+void do_board_reset(void)
+{
+ /* Route UART0 to EC */
+ gpio_output(ELGON_GPIO_UART_SEL, 1);
+
+ ec_transmit_msg_uart(0, EC_COMMAND, EC_RESET, 0, NULL, 0);
+ /* FIXME: Is there a response ? */
+}
--
To view, visit https://review.coreboot.org/c/coreboot/+/29946
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I67eb4ee8e0ad297a8d1984d55102146688c291fc
Gerrit-Change-Number: 29946
Gerrit-PatchSet: 1
Gerrit-Owner: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-MessageType: newchange
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29494 )
Change subject: riscv: add support to select the privilege level of the payload running
......................................................................
Patch Set 10:
(1 comment)
https://review.coreboot.org/#/c/29494/10/src/arch/riscv/boot.c
File src/arch/riscv/boot.c:
https://review.coreboot.org/#/c/29494/10/src/arch/riscv/boot.c@49
PS10, Line 49: void (*doit)(void *) = prog_entry(prog);
function definition argument 'void *' should also have an identifier name
--
To view, visit https://review.coreboot.org/c/coreboot/+/29494
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I96961246cd257b63cf167238aa0cf6e65272b951
Gerrit-Change-Number: 29494
Gerrit-PatchSet: 10
Gerrit-Owner: Xiang Wang <wxjstz(a)126.com>
Gerrit-Reviewer: Jonathan Neuschäfer <j.neuschaefer(a)gmx.net>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Philipp Hug <philipp(a)hug.cx>
Gerrit-Reviewer: Shawn Chang <citypw(a)gmail.com>
Gerrit-Reviewer: Xiang Wang <wxjstz(a)126.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Reviewer: ron minnich <rminnich(a)gmail.com>
Gerrit-Comment-Date: Fri, 30 Nov 2018 07:09:50 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29494 )
Change subject: riscv: add support to select the privilege level of the payload running
......................................................................
Patch Set 9:
(4 comments)
https://review.coreboot.org/#/c/29494/9/src/arch/riscv/boot.c
File src/arch/riscv/boot.c:
https://review.coreboot.org/#/c/29494/9/src/arch/riscv/boot.c@43
PS9, Line 43: void (*fn)(uintptr_t, uintptr_t) = prog_entry(prog);
function definition argument 'uintptr_t' should also have an identifier name
https://review.coreboot.org/#/c/29494/9/src/arch/riscv/boot.c@43
PS9, Line 43: void (*fn)(uintptr_t, uintptr_t) = prog_entry(prog);
function definition argument 'uintptr_t' should also have an identifier name
https://review.coreboot.org/#/c/29494/9/src/arch/riscv/boot.c@49
PS9, Line 49: void (*doit)(void *) = prog_entry(prog);
function definition argument 'void *' should also have an identifier name
https://review.coreboot.org/#/c/29494/9/src/arch/riscv/payload.c
File src/arch/riscv/payload.c:
https://review.coreboot.org/#/c/29494/9/src/arch/riscv/payload.c@28
PS9, Line 28: uintptr_t status = read_csr(mstatus)
trailing whitespace
--
To view, visit https://review.coreboot.org/c/coreboot/+/29494
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I96961246cd257b63cf167238aa0cf6e65272b951
Gerrit-Change-Number: 29494
Gerrit-PatchSet: 9
Gerrit-Owner: Xiang Wang <wxjstz(a)126.com>
Gerrit-Reviewer: Jonathan Neuschäfer <j.neuschaefer(a)gmx.net>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Philipp Hug <philipp(a)hug.cx>
Gerrit-Reviewer: Shawn Chang <citypw(a)gmail.com>
Gerrit-Reviewer: Xiang Wang <wxjstz(a)126.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Reviewer: ron minnich <rminnich(a)gmail.com>
Gerrit-Comment-Date: Fri, 30 Nov 2018 07:05:08 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29494 )
Change subject: riscv: add support to select the privilege level of the payload running
......................................................................
Patch Set 8:
(2 comments)
https://review.coreboot.org/#/c/29494/8/src/arch/riscv/boot.c
File src/arch/riscv/boot.c:
https://review.coreboot.org/#/c/29494/8/src/arch/riscv/boot.c@50
PS8, Line 50: void (*doit)(void *) = prog_entry(prog);
function definition argument 'void *' should also have an identifier name
https://review.coreboot.org/#/c/29494/8/src/arch/riscv/payload.c
File src/arch/riscv/payload.c:
https://review.coreboot.org/#/c/29494/8/src/arch/riscv/payload.c@28
PS8, Line 28: uintptr_t status = read_csr(mstatus)
trailing whitespace
--
To view, visit https://review.coreboot.org/c/coreboot/+/29494
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I96961246cd257b63cf167238aa0cf6e65272b951
Gerrit-Change-Number: 29494
Gerrit-PatchSet: 8
Gerrit-Owner: Xiang Wang <wxjstz(a)126.com>
Gerrit-Reviewer: Jonathan Neuschäfer <j.neuschaefer(a)gmx.net>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Philipp Hug <philipp(a)hug.cx>
Gerrit-Reviewer: Shawn Chang <citypw(a)gmail.com>
Gerrit-Reviewer: Xiang Wang <wxjstz(a)126.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Reviewer: ron minnich <rminnich(a)gmail.com>
Gerrit-Comment-Date: Fri, 30 Nov 2018 07:00:56 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Furquan Shaikh has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29912 )
Change subject: mb/google/fizz/variants/karma: Update USB port info
......................................................................
Patch Set 2: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/29912
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I7383b3d676fd7c775a6d749c70af65b28cf941eb
Gerrit-Change-Number: 29912
Gerrit-PatchSet: 2
Gerrit-Owner: David Wu <david_wu(a)quanta.corp-partner.google.com>
Gerrit-Reviewer: David Wu <david_wu(a)quanta.corp-partner.google.com>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Shelley Chen <shchen(a)google.com>
Gerrit-Reviewer: Zhuohao Lee <zhuohao(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Fri, 30 Nov 2018 04:19:34 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Duncan Laurie has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29854 )
Change subject: smmstore: update smm store filename to use an underscore
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/29854
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: If70772e17cc1668a28b376eeccfde0424e637b1a
Gerrit-Change-Number: 29854
Gerrit-PatchSet: 1
Gerrit-Owner: Joel Kitching <kitching(a)google.com>
Gerrit-Reviewer: Duncan Laurie <dlaurie(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Fri, 30 Nov 2018 02:23:00 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Duncan Laurie has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29830 )
Change subject: mb/google/sarien/variants/sarien: Enable melf touchscreen
......................................................................
Patch Set 2:
(1 comment)
https://review.coreboot.org/#/c/29830/2/src/mainboard/google/sarien/variant…
File src/mainboard/google/sarien/variants/sarien/devicetree.cb:
https://review.coreboot.org/#/c/29830/2/src/mainboard/google/sarien/variant…
PS2, Line 124: GPP_B13
There does not seem to be a dedicated touchscreen reset pin, this is PLTRST and doesn't seem like what we should be using.
--
To view, visit https://review.coreboot.org/c/coreboot/+/29830
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I926c988c141628ae2d98206f9eb615d06357a366
Gerrit-Change-Number: 29830
Gerrit-PatchSet: 2
Gerrit-Owner: Chris Zhou <chris_zhou(a)compal.corp-partner.google.com>
Gerrit-Reviewer: Chris Zhou <chris_zhou(a)compal.corp-partner.google.com>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Shelley Chen <shchen(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Crystal Lin <crystal_lin(a)compal.corp-partner.google.com>
Gerrit-CC: Duncan Laurie <dlaurie(a)chromium.org>
Gerrit-CC: Ivy Jian <ivy_jian(a)compal.corp-partner.google.com>
Gerrit-CC: Van Chen <van_chen(a)compal.corp-partner.google.com>
Gerrit-Comment-Date: Fri, 30 Nov 2018 02:17:27 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/29945
to look at the new patch set (#2).
Change subject: google/sarien: Increase BIOS region to 28MB
......................................................................
google/sarien: Increase BIOS region to 28MB
Platform have a 32MB SPI chip, so we can increase the bios region from
16MB to 28MB.
BUG=b:119267832
TEST=Build and boot fine on sarien platform.
Change-Id: I9bc0fa0f662e5ec64e77f2005dbb2e7edb8b2524
Signed-off-by: Lijian Zhao <lijian.zhao(a)intel.com>
---
M src/mainboard/google/sarien/chromeos.fmd
1 file changed, 5 insertions(+), 5 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/45/29945/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/29945
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I9bc0fa0f662e5ec64e77f2005dbb2e7edb8b2524
Gerrit-Change-Number: 29945
Gerrit-PatchSet: 2
Gerrit-Owner: Lijian Zhao <lijian.zhao(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: newpatchset
Matt DeVillier has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29928 )
Change subject: soc/intel/baytrail: Improve CAR setup
......................................................................
Patch Set 2: Code-Review+1
tested on google/squawks in conjunction with 29929/30
--
To view, visit https://review.coreboot.org/c/coreboot/+/29928
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I6ba67bb8b049c3f25b856f6ebb1399d275764f54
Gerrit-Change-Number: 29928
Gerrit-PatchSet: 2
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Matt DeVillier <matt.devillier(a)gmail.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Fri, 30 Nov 2018 01:29:56 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Matt DeVillier has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29929 )
Change subject: soc/intel/baytrail: Use postcar_frame functions to set up frame
......................................................................
Patch Set 2: Code-Review+1
tested on google/squawks in conjunction with 29928/30
--
To view, visit https://review.coreboot.org/c/coreboot/+/29929
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I77e375a2ff2fbf1be4ded922195b80b49ffa4cc5
Gerrit-Change-Number: 29929
Gerrit-PatchSet: 2
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Matt DeVillier <matt.devillier(a)gmail.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Fri, 30 Nov 2018 01:29:41 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Matt DeVillier has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29930 )
Change subject: soc/intel/baytrail: Implement POSTCAR stage
......................................................................
Patch Set 2: Code-Review+1
tested on google/squawks in conjunction with 29928/29
--
To view, visit https://review.coreboot.org/c/coreboot/+/29930
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I62a70ae35fe92808f180f2b5f21c5899a96c2c16
Gerrit-Change-Number: 29930
Gerrit-PatchSet: 2
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Matt DeVillier <matt.devillier(a)gmail.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Fri, 30 Nov 2018 01:29:28 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Lijian Zhao has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/29944
Change subject: soc/intel/common: Limit BIOS region cache to 16MB
......................................................................
soc/intel/common: Limit BIOS region cache to 16MB
Cache BIOS region can boost boot performance, however it can't be over
16MB, according to processor EDS vol1, FLASH+APIC LT will be less than
20MB under 4G. Set the maxiam to 16GB to save numbers of mtrr entries.
BUG=b:119267832
TEST=Build and boot up fine on whiskeylake rvp platform.
Change-Id: I46a47c8bf66b14fb2fcb7b6b1d30d02886c450a4
Signed-off-by: Lijian Zhao <lijian.zhao(a)intel.com>
---
M src/soc/intel/common/block/fast_spi/fast_spi.c
1 file changed, 4 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/44/29944/1
diff --git a/src/soc/intel/common/block/fast_spi/fast_spi.c b/src/soc/intel/common/block/fast_spi/fast_spi.c
index 5ff0872..8649f0c 100644
--- a/src/soc/intel/common/block/fast_spi/fast_spi.c
+++ b/src/soc/intel/common/block/fast_spi/fast_spi.c
@@ -240,6 +240,10 @@
if (!bios_size)
return;
+ /* Cache up to 16MB to boost boot performace */
+ if (bios_size > 16 * MiB)
+ bios_size = 16 * MiB;
+
/* Round to power of two */
alignment = 1UL << (log2_ceil(bios_size));
bios_size = ALIGN_UP(bios_size, alignment);
--
To view, visit https://review.coreboot.org/c/coreboot/+/29944
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I46a47c8bf66b14fb2fcb7b6b1d30d02886c450a4
Gerrit-Change-Number: 29944
Gerrit-PatchSet: 1
Gerrit-Owner: Lijian Zhao <lijian.zhao(a)intel.com>
Gerrit-MessageType: newchange
Hello Patrick Rudolph, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/29932
to look at the new patch set (#2).
Change subject: sb/intel/lynxpoint/usb_{e,x}hci.c: Don't use device_t
......................................................................
sb/intel/lynxpoint/usb_{e,x}hci.c: Don't use device_t
Use of device_t is deprecated.
Change-Id: Ie75450c844e2317ded157465eb0fc6a9ec1b3ab0
Signed-off-by: Elyes HAOUAS <ehaouas(a)noos.fr>
---
M src/southbridge/intel/lynxpoint/usb_ehci.c
M src/southbridge/intel/lynxpoint/usb_xhci.c
2 files changed, 9 insertions(+), 8 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/32/29932/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/29932
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ie75450c844e2317ded157465eb0fc6a9ec1b3ab0
Gerrit-Change-Number: 29932
Gerrit-PatchSet: 2
Gerrit-Owner: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: newpatchset
HAOUAS Elyes has abandoned this change. ( https://review.coreboot.org/c/coreboot/+/29940 )
Change subject: arch/arm64/boot.c: Remove not used variable
......................................................................
Abandoned
see 29917
--
To view, visit https://review.coreboot.org/c/coreboot/+/29940
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ic275f3d3377b4bd40ca9fb591332dc9b2fd9effe
Gerrit-Change-Number: 29940
Gerrit-PatchSet: 1
Gerrit-Owner: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: abandon
Hello Angel Pons, build bot (Jenkins), Patrick Georgi, Martin Roth,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/29917
to look at the new patch set (#4).
Change subject: {sb,lib,drivers,device,arch}: Remove not used variable
......................................................................
{sb,lib,drivers,device,arch}: Remove not used variable
Change-Id: Ibdfbf1031130ff861c4313d1271d6ccb68bf8837
Signed-off-by: Elyes HAOUAS <ehaouas(a)noos.fr>
---
M src/arch/arm64/boot.c
M src/device/dram/ddr3.c
M src/drivers/spi/sst.c
M src/lib/selfboot.c
M src/southbridge/amd/common/amd_pci_util.c
M src/southbridge/intel/i82371eb/fadt.c
6 files changed, 5 insertions(+), 14 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/17/29917/4
--
To view, visit https://review.coreboot.org/c/coreboot/+/29917
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ibdfbf1031130ff861c4313d1271d6ccb68bf8837
Gerrit-Change-Number: 29917
Gerrit-PatchSet: 4
Gerrit-Owner: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: newpatchset
HAOUAS Elyes has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29941 )
Change subject: cpu/amd/quadcore/quadcore.c: Remove not used variable
......................................................................
Patch Set 1:
> Would it be possible to group these into reasonable sized patches -
> maybe 15 or 20 changes in a patch? Say do all of the ones in the
> src/cpu/amd or src/cpu subdirectory instead of doing them
> one-by-one? If that's not needed, and there are really only a few
> issues, I'm fine with them being done one-off, but I'm doubtful
> that that's the case.
Sure ! :)
--
To view, visit https://review.coreboot.org/c/coreboot/+/29941
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I826ba637c77dcdac04d0494c00b1b90e5303c63e
Gerrit-Change-Number: 29941
Gerrit-PatchSet: 1
Gerrit-Owner: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Martin Roth <martinroth(a)google.com>
Gerrit-Comment-Date: Thu, 29 Nov 2018 20:12:57 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/29942
Change subject: sb/amd/common/amd_pci_util.c: Remove not used variable
......................................................................
sb/amd/common/amd_pci_util.c: Remove not used variable
Change-Id: Ie239d067529f6cdea2bea5ae7327562ccb080196
Signed-off-by: Elyes HAOUAS <ehaouas(a)noos.fr>
---
M src/southbridge/amd/common/amd_pci_util.c
1 file changed, 0 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/42/29942/1
diff --git a/src/southbridge/amd/common/amd_pci_util.c b/src/southbridge/amd/common/amd_pci_util.c
index ca76809..acec116 100644
--- a/src/southbridge/amd/common/amd_pci_util.c
+++ b/src/southbridge/amd/common/amd_pci_util.c
@@ -100,7 +100,6 @@
u16 target_pin = 0; /* Pin we will search our tables for */
u16 int_line = 0; /* IRQ number read from PCI_INTR table and programmed to INT_LINE reg 0x3C */
u16 pci_intr_idx = 0; /* Index into PCI_INTR table, 0xC00/0xC01 */
- u8 bus = 0; /* A PCI Device Bus number */
u16 devfn = 0; /* A PCI Device and Function number */
u8 bridged_device = 0; /* This device is on a PCI bridge */
u32 i = 0;
@@ -132,7 +131,6 @@
if (int_pin < 1 || int_pin > 4)
continue; /* Device has invalid INT_PIN so skip it */
- bus = target_dev->bus->secondary;
devfn = target_dev->path.pci.devfn;
/*
--
To view, visit https://review.coreboot.org/c/coreboot/+/29942
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ie239d067529f6cdea2bea5ae7327562ccb080196
Gerrit-Change-Number: 29942
Gerrit-PatchSet: 1
Gerrit-Owner: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-MessageType: newchange
Martin Roth has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29926 )
Change subject: Crash Test
......................................................................
Patch Set 4:
You might want to turn off warnings-as-errors to see the entire list of issues instead of having the build stop on the first one.
Also, why are you disabling the other warnings in this patch?
--
To view, visit https://review.coreboot.org/c/coreboot/+/29926
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ic3dde296ab4b84add8a8ab6a3bb5ecb65da2c158
Gerrit-Change-Number: 29926
Gerrit-PatchSet: 4
Gerrit-Owner: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Thu, 29 Nov 2018 19:55:26 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Martin Roth has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29941 )
Change subject: cpu/amd/quadcore/quadcore.c: Remove not used variable
......................................................................
Patch Set 1:
Would it be possible to group these into reasonable sized patches - maybe 15 or 20 changes in a patch? Say do all of the ones in the src/cpu/amd or src/cpu subdirectory instead of doing them one-by-one? If that's not needed, and there are really only a few issues, I'm fine with them being done one-off, but I'm doubtful that that's the case.
--
To view, visit https://review.coreboot.org/c/coreboot/+/29941
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I826ba637c77dcdac04d0494c00b1b90e5303c63e
Gerrit-Change-Number: 29941
Gerrit-PatchSet: 1
Gerrit-Owner: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-CC: Martin Roth <martinroth(a)google.com>
Gerrit-Comment-Date: Thu, 29 Nov 2018 19:54:17 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Martin Roth has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29926 )
Change subject: Crash Test
......................................................................
Patch Set 2:
Good check. We should get those fixed - no need for these to be ignored.
--
To view, visit https://review.coreboot.org/c/coreboot/+/29926
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ic3dde296ab4b84add8a8ab6a3bb5ecb65da2c158
Gerrit-Change-Number: 29926
Gerrit-PatchSet: 2
Gerrit-Owner: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Thu, 29 Nov 2018 18:17:23 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Hello Arthur Heymans, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/29936
to look at the new patch set (#2).
Change subject: Documentation: Add disassembly guide for x220
......................................................................
Documentation: Add disassembly guide for x220
Add pictures and basic information.
Copyright CC BY-SA 2016 Karl Cordes
Change-Id: I06618092817b91062b35f3b054a82cf573f641b8
Signed-off-by: Patrick Rudolph <siro(a)das-labor.org>
---
A Documentation/mainboard/lenovo/diss_x220_1.jpg
A Documentation/mainboard/lenovo/diss_x220_2.jpg
M Documentation/mainboard/lenovo/xx20_series.md
3 files changed, 22 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/36/29936/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/29936
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I06618092817b91062b35f3b054a82cf573f641b8
Gerrit-Change-Number: 29936
Gerrit-PatchSet: 2
Gerrit-Owner: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: newpatchset
Martin Roth has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29873 )
Change subject: google/grunt: Update hynix-H5ANAG6NAMR-UH.spd.hex SPD file Module Part Number
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/29873
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I59d920498ff6b73e9e7b2887771ad6bc6c6c0b66
Gerrit-Change-Number: 29873
Gerrit-PatchSet: 1
Gerrit-Owner: Lucas Chen <lucas.chen(a)quanta.corp-partner.google.com>
Gerrit-Reviewer: Lucas Chen <lucas.chen(a)quanta.corp-partner.google.com>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Tim Chen <tim-chen(a)quanta.corp-partner.google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Thu, 29 Nov 2018 18:07:01 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Arthur Heymans has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29936 )
Change subject: Documentation: Add disassembly guide for x220
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/29936
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I06618092817b91062b35f3b054a82cf573f641b8
Gerrit-Change-Number: 29936
Gerrit-PatchSet: 1
Gerrit-Owner: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Thu, 29 Nov 2018 17:59:31 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Patrick Rudolph has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/29936
Change subject: Documentation: Add disassembly guide for x220
......................................................................
Documentation: Add disassembly guide for x220
Add pictures and basic information.
Copyright CC BY-SA 2016 Karl Cordes
Change-Id: I06618092817b91062b35f3b054a82cf573f641b8
Signed-off-by: Patrick Rudolph <siro(a)das-labor.org>
---
A Documentation/mainboard/lenovo/diss_x220_1.jpg
A Documentation/mainboard/lenovo/diss_x220_2.jpg
M Documentation/mainboard/lenovo/xx20_series.md
3 files changed, 22 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/36/29936/1
diff --git a/Documentation/mainboard/lenovo/diss_x220_1.jpg b/Documentation/mainboard/lenovo/diss_x220_1.jpg
new file mode 100644
index 0000000..7e81373
--- /dev/null
+++ b/Documentation/mainboard/lenovo/diss_x220_1.jpg
Binary files differ
diff --git a/Documentation/mainboard/lenovo/diss_x220_2.jpg b/Documentation/mainboard/lenovo/diss_x220_2.jpg
new file mode 100644
index 0000000..8e3b252
--- /dev/null
+++ b/Documentation/mainboard/lenovo/diss_x220_2.jpg
Binary files differ
diff --git a/Documentation/mainboard/lenovo/xx20_series.md b/Documentation/mainboard/lenovo/xx20_series.md
index 8603853..cc835d1 100644
--- a/Documentation/mainboard/lenovo/xx20_series.md
+++ b/Documentation/mainboard/lenovo/xx20_series.md
@@ -37,6 +37,28 @@
Please also have a look at :doc:`../../flash_tutorial/index`.
```
+## Dissasemble instructions
+
+1. Remove the keyboard.
+2. Remove the palm rest.
+
+The disassembled device looks like:
+![][dis1]
+
+[dis1]: diss_x220_1.jpg
+
+3. Remove the foil right next to the SD-Card reader.
+4. On x220: you'll find one flash IC
+ On x230: you'll find two flash ICs
+5. You can easily flash it using a pomona test clip
+
+Closeup view of the flash IC:
+![][dis2]
+
+[dis2]: diss_x220_2.jpg
+
+Pictures by `Copyright 2016 Karl Cordes`
+
## Flash layout
There's one 8MiB flash which contains IFD, GBE, ME and BIOS regions.
On Lenovo's UEFI the EC firmware update is placed at the start of the BIOS
--
To view, visit https://review.coreboot.org/c/coreboot/+/29936
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I06618092817b91062b35f3b054a82cf573f641b8
Gerrit-Change-Number: 29936
Gerrit-PatchSet: 1
Gerrit-Owner: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-MessageType: newchange
Hello build bot (Jenkins), Patrick Georgi, Martin Roth,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/29877
to look at the new patch set (#3).
Change subject: util/xcompile/xcompile: Enable x86_64 support
......................................................................
util/xcompile/xcompile: Enable x86_64 support
Similar to i686 on x86_32, compile for nocona on x86_64.
Nocona is the first Pentium 4 CPU that has long mode support.
Required for 64bit support.
Change-Id: Ied28f98f89610a748be8d66cf35814e9112a4407
Signed-off-by: Patrick Rudolph <siro(a)das-labor.org>
---
M util/xcompile/xcompile
1 file changed, 7 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/77/29877/3
--
To view, visit https://review.coreboot.org/c/coreboot/+/29877
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ied28f98f89610a748be8d66cf35814e9112a4407
Gerrit-Change-Number: 29877
Gerrit-PatchSet: 3
Gerrit-Owner: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: newpatchset
Marcello Sylvester Bauer has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/29935
Change subject: LinuxBoot: fix initramfs xz compression
......................................................................
LinuxBoot: fix initramfs xz compression
Add the flag '--check=crc32' to the xz compression to use CRC32 for the
integrity check. The linux kernel does not support CRC64 for integrity
checks, which is the default flag on most xz applications.
Change-Id: I738bd99ef22aa053dc198df5595e1878069de13e
Signed-off-by: Marcello Sylvester Bauer <info(a)marcellobauer.com>
---
M payloads/external/LinuxBoot/Makefile
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/35/29935/1
diff --git a/payloads/external/LinuxBoot/Makefile b/payloads/external/LinuxBoot/Makefile
index 8016095..a67b16a 100644
--- a/payloads/external/LinuxBoot/Makefile
+++ b/payloads/external/LinuxBoot/Makefile
@@ -39,7 +39,7 @@
initramfs_compressed: initramfs
ifeq ($(CONFIG_LINUXBOOT_INITRAMFS_COMPRESSION_XZ),y)
- xz --keep --force --lzma2=dict=1MiB $(top)/$(CONFIG_LINUXBOOT_INITRAMFS)
+ xz --keep --force --check=crc32 --lzma2=dict=1MiB $(top)/$(CONFIG_LINUXBOOT_INITRAMFS)
endif
ifeq ($(CONFIG_LINUXBOOT_COMPILE_KERNEL),y)
--
To view, visit https://review.coreboot.org/c/coreboot/+/29935
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I738bd99ef22aa053dc198df5595e1878069de13e
Gerrit-Change-Number: 29935
Gerrit-PatchSet: 1
Gerrit-Owner: Marcello Sylvester Bauer <sylvblck(a)sylv.io>
Gerrit-MessageType: newchange
Matt DeVillier has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29927 )
Change subject: soc/intel/broadwell: Implement postcar stage
......................................................................
Patch Set 1: Code-Review+1
google/guado builds/boots normally
--
To view, visit https://review.coreboot.org/c/coreboot/+/29927
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I428832a2d7e46ce61a7f9bd498b609feb4518eb0
Gerrit-Change-Number: 29927
Gerrit-PatchSet: 1
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Matt DeVillier <matt.devillier(a)gmail.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Thu, 29 Nov 2018 16:23:37 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Nico Huber has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29934 )
Change subject: Untangle CBFS microcode updates
......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/#/c/29934/1/src/cpu/Kconfig
File src/cpu/Kconfig:
https://review.coreboot.org/#/c/29934/1/src/cpu/Kconfig@107
PS1, Line 107: select USE_CPU_MICROCODE_CBFS_BINS
depends on !POOR_MICROCODE_MAINTENANCE
--
To view, visit https://review.coreboot.org/c/coreboot/+/29934
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ib403402e240d3531640a62ce93b7a93b4ef6ca5e
Gerrit-Change-Number: 29934
Gerrit-PatchSet: 1
Gerrit-Owner: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: David Guckian <david.guckian(a)intel.com>
Gerrit-Reviewer: Huang Jin <huang.jin(a)intel.com>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Philipp Deppenwiese <zaolin.daisuki(a)gmail.com>
Gerrit-Reviewer: York Yang <york.yang(a)intel.com>
Gerrit-Comment-Date: Thu, 29 Nov 2018 16:10:36 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Nico Huber has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/29934
Change subject: Untangle CBFS microcode updates
......................................................................
Untangle CBFS microcode updates
Change-Id: Ib403402e240d3531640a62ce93b7a93b4ef6ca5e
Signed-off-by: Nico Huber <nico.huber(a)secunet.com>
---
M Makefile.inc
M src/cpu/Kconfig
M src/cpu/Makefile.inc
M src/cpu/amd/family_10h-family_15h/Kconfig
M src/cpu/amd/family_10h-family_15h/Makefile.inc
M src/cpu/intel/fsp_model_406dx/Kconfig
M src/cpu/intel/microcode/Makefile.inc
M src/soc/intel/apollolake/Kconfig
M src/soc/intel/cannonlake/Kconfig
M src/soc/intel/fsp_baytrail/Kconfig
M src/soc/intel/fsp_broadwell_de/Kconfig
M src/soc/intel/icelake/Kconfig
12 files changed, 61 insertions(+), 25 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/34/29934/1
diff --git a/Makefile.inc b/Makefile.inc
index aaae7bc..e24c859 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1048,7 +1048,7 @@
$(FIT_OPTIONS)
endif
-ifeq ($(CONFIG_CPU_MICROCODE_CBFS_GENERATE),y)
+ifeq ($(CONFIG_USE_CPU_MICROCODE_CBFS_BINS),y)
@printf " UPDATE-FIT\n"
$(CBFSTOOL) $@.tmp update-fit -n cpu_microcode_blob.bin -x $(CONFIG_CPU_INTEL_NUM_FIT_ENTRIES) \
$(FIT_OPTIONS)
diff --git a/src/cpu/Kconfig b/src/cpu/Kconfig
index a7cb99e..807a4ce 100644
--- a/src/cpu/Kconfig
+++ b/src/cpu/Kconfig
@@ -84,14 +84,27 @@
This is selected by a board or chipset to set the default for the
microcode source choice to a list of external microcode headers
+config POOR_MICROCODE_MAINTENANCE
+ bool
+ help
+ Selected by platforms that don't maintain microcode updates in the
+ blobs repo.
+
+config USE_CPU_MICROCODE_CBFS_BINS
+ bool
+ help
+ Selected to add binary microcode files (`cpu_microcode_bins` in the
+ makefiles) to CBFS.
+
choice
prompt "Include CPU microcode in CBFS" if ARCH_X86
default CPU_MICROCODE_CBFS_EXTERNAL_HEADER if USES_MICROCODE_HEADER_FILES
- default CPU_MICROCODE_CBFS_GENERATE if SUPPORT_CPU_UCODE_IN_CBFS && USE_BLOBS
- default CPU_MICROCODE_CBFS_NONE if !SUPPORT_CPU_UCODE_IN_CBFS
+ default CPU_MICROCODE_CBFS_NONE if POOR_MICROCODE_MAINTENANCE
+ depends on SUPPORT_CPU_UCODE_IN_CBFS
-config CPU_MICROCODE_CBFS_GENERATE
+config CPU_MICROCODE_CBFS_DEFAULT_BINS
bool "Generate from tree"
+ select USE_CPU_MICROCODE_CBFS_BINS
help
Select this option if you want microcode updates to be assembled when
building coreboot and included in the final image as a separate CBFS
@@ -102,8 +115,27 @@
If unsure, select this option.
+config CPU_MICROCODE_CBFS_EXTERNAL_BINS
+ bool "Include external microcode binary"
+ select USE_CPU_MICROCODE_CBFS_BINS
+ depends on !CPU_MICROCODE_MULTIPLE_FILES
+ help
+ Select this option if you want to include external binary files
+ in the CPUs native format. They will be included as a separate
+ file in CBFS.
+
+ A word of caution: only select this option if you are sure the
+ microcode that you have is newer than the microcode shipping with
+ coreboot.
+
+ The microcode file may be removed from the ROM image at a later
+ time with cbfstool, if desired.
+
+ If unsure, and applicable, select "Generate from tree"
+
config CPU_MICROCODE_CBFS_EXTERNAL_HEADER
bool "Include external microcode header files"
+ depends on !CPU_MICROCODE_MULTIPLE_FILES
help
Select this option if you want to include external c header files
containing the CPU microcode. This will be included as a separate
@@ -116,25 +148,17 @@
The microcode file may be removed from the ROM image at a later
time with cbfstool, if desired.
- If unsure, select "Generate from tree"
+ If unsure, and applicable, select "Generate from tree"
config CPU_MICROCODE_CBFS_NONE
bool "Do not include microcode updates"
help
Select this option if you do not want CPU microcode included in CBFS.
- Note that for some CPUs, the microcode is hard-coded into the source
- tree and is not loaded from CBFS. In this case, microcode will still
- be updated. There is a push to move all microcode to CBFS, but this
- change is not implemented for all CPUs.
-
- This option currently applies to:
- - Intel SandyBridge/IvyBridge
- - VIA Nano
Microcode may be added to the ROM image at a later time with cbfstool,
if desired.
- If unsure, select "Generate from tree"
+ If unsure, and applicable, select "Generate from tree"
The GOOD:
Microcode updates intend to solve issues that have been discovered
@@ -164,8 +188,6 @@
config CPU_MICROCODE_MULTIPLE_FILES
bool
- default n
- depends on CPU_MICROCODE_CBFS_GENERATE
help
Select this option to install separate microcode container files into
CBFS instead of using the traditional monolithic microcode file format.
@@ -179,7 +201,7 @@
config CPU_UCODE_BINARIES
string "Microcode binary path and filename"
- depends on CPU_MICROCODE_CBFS_GENERATE
+ depends on CPU_MICROCODE_CBFS_EXTERNAL_BINS
default ""
help
Some platforms have microcode in the blobs directory, and these can
diff --git a/src/cpu/Makefile.inc b/src/cpu/Makefile.inc
index 72fc29c..57241f6 100644
--- a/src/cpu/Makefile.inc
+++ b/src/cpu/Makefile.inc
@@ -17,7 +17,7 @@
################################################################################
ifneq ($(CONFIG_CPU_MICROCODE_MULTIPLE_FILES), y)
-cbfs-files-$(CONFIG_CPU_MICROCODE_CBFS_GENERATE) += cpu_microcode_blob.bin
+cbfs-files-$(CONFIG_USE_CPU_MICROCODE_CBFS_BINS) += cpu_microcode_blob.bin
endif
ifeq ($(CONFIG_CPU_MICROCODE_CBFS_EXTERNAL_HEADER),y)
@@ -29,6 +29,11 @@
util/scripts/ucode_h_to_bin.sh $(objgenerated)/microcode.bin $(CONFIG_CPU_MICROCODE_HEADER_FILES)
endif
+ifeq ($(CONFIG_CPU_MICROCODE_CBFS_EXTERNAL_BINS),y)
+cpu_microcode_bins := $(call strip_quotes,$(CONFIG_CPU_UCODE_BINARIES))
+endif
+# otherwise `cpu_microcode_bins` should be filled by platform makefiles
+
# We just mash all microcode binaries together into one binary to rule them all.
# This approach assumes that the microcode binaries are properly padded, and
# their headers specify the correct size. This works fairly well on isolatied
@@ -37,21 +42,26 @@
# there is only one microcode binary (i.e. one container), then we don't have
# this issue, and this rule will continue to work.
$(obj)/cpu_microcode_blob.bin: $$(wildcard $$(cpu_microcode_bins))
+ NO_MICROCODE_BINS=1; \
for bin in $(cpu_microcode_bins); do \
+ NO_MICROCODE_BINS=0; \
if [ ! -f "$$bin" ]; then \
echo "Microcode error: $$bin does not exist"; \
NO_MICROCODE_FILE=1; \
fi; \
done; \
if [ -n "$$NO_MICROCODE_FILE" ]; then \
- if [ -z "$(CONFIG_USE_BLOBS)" ] && [ -n "$(CONFIG_CPU_MICROCODE_CBFS_GENERATE)" ]; then \
+ if [ -z "$(CONFIG_USE_BLOBS)" ] && [ -n "$(CONFIG_CPU_MICROCODE_CBFS_DEFAULT_BINS)" ]; then \
echo "Try enabling binary-only repository in Kconfig 'General setup' menu."; \
fi; \
false; \
fi
+ if [ "$$NO_MICROCODE_BINS" -eq 1 ]; then \
+ false; \
+ fi
@printf " MICROCODE $(subst $(obj)/,,$(@))\n"
@echo $(cpu_microcode_bins)
- cat /dev/null $+ > $@
+ cat $+ > $@
cpu_microcode_blob.bin-file ?= $(obj)/cpu_microcode_blob.bin
cpu_microcode_blob.bin-type := microcode
diff --git a/src/cpu/amd/family_10h-family_15h/Kconfig b/src/cpu/amd/family_10h-family_15h/Kconfig
index 8e90247..5193d1d 100644
--- a/src/cpu/amd/family_10h-family_15h/Kconfig
+++ b/src/cpu/amd/family_10h-family_15h/Kconfig
@@ -10,7 +10,7 @@
select UDELAY_LAPIC
select HAVE_MONOTONIC_TIMER
select SUPPORT_CPU_UCODE_IN_CBFS
- select CPU_MICROCODE_MULTIPLE_FILES if !CPU_MICROCODE_CBFS_NONE
+ select CPU_MICROCODE_MULTIPLE_FILES
select ACPI_HUGE_LOWMEM_BACKUP
if CPU_AMD_MODEL_10XXX
diff --git a/src/cpu/amd/family_10h-family_15h/Makefile.inc b/src/cpu/amd/family_10h-family_15h/Makefile.inc
index 2ed76e1..7035323 100644
--- a/src/cpu/amd/family_10h-family_15h/Makefile.inc
+++ b/src/cpu/amd/family_10h-family_15h/Makefile.inc
@@ -15,11 +15,11 @@
ramstage-$(CONFIG_HAVE_ACPI_TABLES) += powernow_acpi.c
# Microcode for Family 10h, 11h, 12h, and 14h
-cbfs-files-$(CONFIG_CPU_MICROCODE_MULTIPLE_FILES) += microcode_amd.bin
+cbfs-files-$(CONFIG_CPU_MICROCODE_CBFS_DEFAULT_BINS) += microcode_amd.bin
microcode_amd.bin-file := 3rdparty/blobs/cpu/amd/family_10h-family_14h/microcode_amd.bin
microcode_amd.bin-type := microcode
# Microcode for Family 15h
-cbfs-files-$(CONFIG_CPU_MICROCODE_MULTIPLE_FILES) += microcode_amd_fam15h.bin
+cbfs-files-$(CONFIG_CPU_MICROCODE_CBFS_DEFAULT_BINS) += microcode_amd_fam15h.bin
microcode_amd_fam15h.bin-file := 3rdparty/blobs/cpu/amd/family_15h/microcode_amd_fam15h.bin
microcode_amd_fam15h.bin-type := microcode
diff --git a/src/cpu/intel/fsp_model_406dx/Kconfig b/src/cpu/intel/fsp_model_406dx/Kconfig
index 4c79b23..1f73749 100644
--- a/src/cpu/intel/fsp_model_406dx/Kconfig
+++ b/src/cpu/intel/fsp_model_406dx/Kconfig
@@ -29,6 +29,7 @@
select SSE2
select UDELAY_LAPIC
select SUPPORT_CPU_UCODE_IN_CBFS
+ select POOR_MICROCODE_MAINTENANCE
select PARALLEL_CPU_INIT
select TSC_SYNC_MFENCE
select LAPIC_MONOTONIC_TIMER
diff --git a/src/cpu/intel/microcode/Makefile.inc b/src/cpu/intel/microcode/Makefile.inc
index b56e6a7..f589430 100644
--- a/src/cpu/intel/microcode/Makefile.inc
+++ b/src/cpu/intel/microcode/Makefile.inc
@@ -4,5 +4,3 @@
################################################################################
ramstage-$(CONFIG_SUPPORT_CPU_UCODE_IN_CBFS) += microcode.c
romstage-$(CONFIG_SUPPORT_CPU_UCODE_IN_CBFS) += microcode.c
-
-cpu_microcode_bins += $(call strip_quotes,$(CONFIG_CPU_UCODE_BINARIES))
diff --git a/src/soc/intel/apollolake/Kconfig b/src/soc/intel/apollolake/Kconfig
index 4a841be..66db8db 100644
--- a/src/soc/intel/apollolake/Kconfig
+++ b/src/soc/intel/apollolake/Kconfig
@@ -31,6 +31,7 @@
select CPU_INTEL_FIRMWARE_INTERFACE_TABLE
select IOAPIC
select PCR_COMMON_IOSF_1_0
+ select POOR_MICROCODE_MAINTENANCE
select SMP
select SSE2
select SUPPORT_CPU_UCODE_IN_CBFS
diff --git a/src/soc/intel/cannonlake/Kconfig b/src/soc/intel/cannonlake/Kconfig
index 9452b6d..a9a511e 100644
--- a/src/soc/intel/cannonlake/Kconfig
+++ b/src/soc/intel/cannonlake/Kconfig
@@ -46,6 +46,7 @@
select PARALLEL_MP
select PARALLEL_MP_AP_WORK
select PLATFORM_USES_FSP2_0
+ select POOR_MICROCODE_MAINTENANCE
select POSTCAR_CONSOLE
select POSTCAR_STAGE
select REG_SCRIPT
diff --git a/src/soc/intel/fsp_baytrail/Kconfig b/src/soc/intel/fsp_baytrail/Kconfig
index 7d82f3f..a8d9fd4 100644
--- a/src/soc/intel/fsp_baytrail/Kconfig
+++ b/src/soc/intel/fsp_baytrail/Kconfig
@@ -41,6 +41,7 @@
select TSC_SYNC_MFENCE
select UDELAY_TSC
select SUPPORT_CPU_UCODE_IN_CBFS
+ select POOR_MICROCODE_MAINTENANCE
select INTEL_DESCRIPTOR_MODE_CAPABLE
select HAVE_SPI_CONSOLE_SUPPORT
diff --git a/src/soc/intel/fsp_broadwell_de/Kconfig b/src/soc/intel/fsp_broadwell_de/Kconfig
index fe0fa8d..88ba382 100644
--- a/src/soc/intel/fsp_broadwell_de/Kconfig
+++ b/src/soc/intel/fsp_broadwell_de/Kconfig
@@ -21,6 +21,7 @@
select IOAPIC
select UDELAY_TSC
select SUPPORT_CPU_UCODE_IN_CBFS
+ select POOR_MICROCODE_MAINTENANCE
# Microcode header files are delivered in FSP package
select USES_MICROCODE_HEADER_FILES if HAVE_FSP_BIN
select INTEL_DESCRIPTOR_MODE_CAPABLE
diff --git a/src/soc/intel/icelake/Kconfig b/src/soc/intel/icelake/Kconfig
index 727fccee..bd53c8b 100644
--- a/src/soc/intel/icelake/Kconfig
+++ b/src/soc/intel/icelake/Kconfig
@@ -33,6 +33,7 @@
select PARALLEL_MP
select PARALLEL_MP_AP_WORK
select PLATFORM_USES_FSP2_0
+ select POOR_MICROCODE_MAINTENANCE
select POSTCAR_CONSOLE
select POSTCAR_STAGE
select REG_SCRIPT
--
To view, visit https://review.coreboot.org/c/coreboot/+/29934
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ib403402e240d3531640a62ce93b7a93b4ef6ca5e
Gerrit-Change-Number: 29934
Gerrit-PatchSet: 1
Gerrit-Owner: Nico Huber <nico.h(a)gmx.de>
Gerrit-MessageType: newchange
Hello Hannah Williams, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/29414
to look at the new patch set (#2).
Change subject: src/soc/intel/braswell: Remove disabled LPE acpi code
......................................................................
src/soc/intel/braswell: Remove disabled LPE acpi code
The ACPI code for LPE device was included regardless
of the availability of the LPE controller.
Move the LPE ACPI code to seperate SSDT and hide it when
LPE is disabled.
BUG=N/A
TEST=Intel CherryHill CRB
Change-Id: Ic8acf9ea9e9b0ba9b272e20beb2023b7a4716a73
Signed-off-by: Frans Hendriks <fhendriks(a)eltan.com>
---
M src/mainboard/google/cyan/Makefile.inc
M src/mainboard/google/cyan/acpi/codec_maxim.asl
M src/mainboard/google/cyan/acpi/codec_realtek.asl
A src/mainboard/google/cyan/ssdtlpe.asl
M src/mainboard/intel/strago/Makefile.inc
M src/mainboard/intel/strago/acpi/mainboard.asl
A src/mainboard/intel/strago/ssdtlpe.asl
M src/soc/intel/braswell/acpi/southcluster.asl
M src/soc/intel/braswell/include/soc/acpi.h
M src/soc/intel/braswell/lpe.c
10 files changed, 143 insertions(+), 36 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/14/29414/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/29414
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ic8acf9ea9e9b0ba9b272e20beb2023b7a4716a73
Gerrit-Change-Number: 29414
Gerrit-PatchSet: 2
Gerrit-Owner: Frans Hendriks <fhendriks(a)eltan.com>
Gerrit-Reviewer: Frans Hendriks <fhendriks(a)eltan.com>
Gerrit-Reviewer: Hannah Williams <hannah.williams(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-MessageType: newpatchset
Nico Huber has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29925 )
Change subject: nb/intel/gm45: Make fetching the blc_pwm freq global
......................................................................
Patch Set 2: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/29925
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Id3f6ba3ae31a5ab47f44d207678c1c4a6a43b7ec
Gerrit-Change-Number: 29925
Gerrit-PatchSet: 2
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Thu, 29 Nov 2018 14:42:13 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Nico Huber has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29924 )
Change subject: nb/intel/gm45: Make fetching the blc_pwm freq its own function
......................................................................
Patch Set 2: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/29924
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I9ad364f84f3658be98ce7ad3a6f0f0fe3247fc41
Gerrit-Change-Number: 29924
Gerrit-PatchSet: 2
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Thu, 29 Nov 2018 14:41:18 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
HAOUAS Elyes has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29926 )
Change subject: Crash Test
......................................................................
Patch Set 2:
> Definitely a "Crash Test"
Yep.
Please rebase this one on your changes ;)
--
To view, visit https://review.coreboot.org/c/coreboot/+/29926
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ic3dde296ab4b84add8a8ab6a3bb5ecb65da2c158
Gerrit-Change-Number: 29926
Gerrit-PatchSet: 2
Gerrit-Owner: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Thu, 29 Nov 2018 14:41:16 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29904 )
Change subject: [WIP]mb/intel/x200: Add data.vbt
......................................................................
Patch Set 5:
(1 comment)
https://review.coreboot.org/#/c/29904/5/src/mainboard/lenovo/x200/blc.c
File src/mainboard/lenovo/x200/blc.c:
https://review.coreboot.org/#/c/29904/5/src/mainboard/lenovo/x200/blc.c@62
PS5, Line 62: } else {
else is not generally useful after a break or return
--
To view, visit https://review.coreboot.org/c/coreboot/+/29904
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I4c4a7011ce03cdd511fa2e2160c2f006ba2707ba
Gerrit-Change-Number: 29904
Gerrit-PatchSet: 5
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Alexander Couzens <lynxis(a)fe80.eu>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Nico Huber <nico.h(a)gmx.de>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Comment-Date: Thu, 29 Nov 2018 13:39:33 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Hello Patrick Rudolph, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/29925
to look at the new patch set (#2).
Change subject: nb/intel/gm45: Make fetching the blc_pwm freq global
......................................................................
nb/intel/gm45: Make fetching the blc_pwm freq global
This can be used to select the proper VBT.
Change-Id: Id3f6ba3ae31a5ab47f44d207678c1c4a6a43b7ec
Signed-off-by: Arthur Heymans <arthur(a)aheymans.xyz>
---
M src/northbridge/intel/gm45/gm45.h
M src/northbridge/intel/gm45/gma.c
2 files changed, 2 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/25/29925/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/29925
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Id3f6ba3ae31a5ab47f44d207678c1c4a6a43b7ec
Gerrit-Change-Number: 29925
Gerrit-PatchSet: 2
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Nico Huber <nico.h(a)gmx.de>
Gerrit-MessageType: newpatchset
Hello Patrick Rudolph, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/29924
to look at the new patch set (#2).
Change subject: nb/intel/gm45: Make fetching the blc_pwm freq its own function
......................................................................
nb/intel/gm45: Make fetching the blc_pwm freq its own function
Also check the EDID string using strcmp instead of strncmp.
Change-Id: I9ad364f84f3658be98ce7ad3a6f0f0fe3247fc41
Signed-off-by: Arthur Heymans <arthur(a)aheymans.xyz>
---
M src/northbridge/intel/gm45/gma.c
1 file changed, 36 insertions(+), 25 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/24/29924/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/29924
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I9ad364f84f3658be98ce7ad3a6f0f0fe3247fc41
Gerrit-Change-Number: 29924
Gerrit-PatchSet: 2
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Nico Huber <nico.h(a)gmx.de>
Gerrit-MessageType: newpatchset
Hello Patrick Rudolph, build bot (Jenkins), Patrick Georgi, Martin Roth,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/29928
to look at the new patch set (#2).
Change subject: soc/intel/baytrail: Improve CAR setup
......................................................................
soc/intel/baytrail: Improve CAR setup
This patch does the following:
- improve the style by removing tabs in front of jmp addresses
- Make the code for zeroing variable MTRR more readable (copied from
cpu/intel/car)
- Fetch PHYSMASK high from cpuid instead of Kconfig
Change-Id: I6ba67bb8b049c3f25b856f6ebb1399d275764f54
Signed-off-by: Arthur Heymans <arthur(a)aheymans.xyz>
---
M src/soc/intel/baytrail/romstage/cache_as_ram.inc
1 file changed, 50 insertions(+), 27 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/28/29928/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/29928
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I6ba67bb8b049c3f25b856f6ebb1399d275764f54
Gerrit-Change-Number: 29928
Gerrit-PatchSet: 2
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: newpatchset
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29926 )
Change subject: Crash Test
......................................................................
Patch Set 2:
Definitely a "Crash Test"
--
To view, visit https://review.coreboot.org/c/coreboot/+/29926
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ic3dde296ab4b84add8a8ab6a3bb5ecb65da2c158
Gerrit-Change-Number: 29926
Gerrit-PatchSet: 2
Gerrit-Owner: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Thu, 29 Nov 2018 13:23:04 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Arthur Heymans has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29925 )
Change subject: nb/intel/gm45: Make fetching the blc_pwm freq global
......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/#/c/29925/1/src/northbridge/intel/gm45/gma.c
File src/northbridge/intel/gm45/gma.c:
https://review.coreboot.org/#/c/29925/1/src/northbridge/intel/gm45/gma.c@673
PS1, Line 673: int get_blc_pwm_freq_value(void)
> Alternative to caching the string: Call it with NULL for the VBT […]
That would be better. Thx
--
To view, visit https://review.coreboot.org/c/coreboot/+/29925
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Id3f6ba3ae31a5ab47f44d207678c1c4a6a43b7ec
Gerrit-Change-Number: 29925
Gerrit-PatchSet: 1
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Nico Huber <nico.h(a)gmx.de>
Gerrit-Comment-Date: Thu, 29 Nov 2018 13:19:58 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Nico Huber <nico.h(a)gmx.de>
Gerrit-MessageType: comment
Arthur Heymans has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/29929
Change subject: soc/intel/baytrail: Use postcar_frame functions to set up frame
......................................................................
soc/intel/baytrail: Use postcar_frame functions to set up frame
Change-Id: I77e375a2ff2fbf1be4ded922195b80b49ffa4cc5
Signed-off-by: Arthur Heymans <arthur(a)aheymans.xyz>
---
M src/soc/intel/baytrail/romstage/romstage.c
1 file changed, 17 insertions(+), 62 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/29/29929/1
diff --git a/src/soc/intel/baytrail/romstage/romstage.c b/src/soc/intel/baytrail/romstage/romstage.c
index 18c9353..dd1fd29 100644
--- a/src/soc/intel/baytrail/romstage/romstage.c
+++ b/src/soc/intel/baytrail/romstage/romstage.c
@@ -241,76 +241,31 @@
return stack;
}
+#define ROMSTAGE_RAM_STACK_SIZE 0x5000
+
/* setup_stack_and_mtrrs() determines the stack to use after
* cache-as-ram is torn down as well as the MTRR settings to use. */
static void *setup_stack_and_mtrrs(void)
{
- int num_mtrrs;
- uint32_t *slot;
- uint32_t mtrr_mask_upper;
- uint32_t top_of_ram;
+ struct postcar_frame pcf;
+ uintptr_t top_of_ram;
- /* Top of stack needs to be aligned to a 4-byte boundary. */
- slot = (void *)romstage_ram_stack_top();
- num_mtrrs = 0;
-
- /* The upper bits of the MTRR mask need to set according to the number
- * of physical address bits. */
- mtrr_mask_upper = (1 << ((cpuid_eax(0x80000008) & 0xff) - 32)) - 1;
-
- /* The order for each MTRR is value then base with upper 32-bits of
- * each value coming before the lower 32-bits. The reasoning for
- * this ordering is to create a stack layout like the following:
- * +0: Number of MTRRs
- * +4: MTRR base 0 31:0
- * +8: MTRR base 0 63:32
- * +12: MTRR mask 0 31:0
- * +16: MTRR mask 0 63:32
- * +20: MTRR base 1 31:0
- * +24: MTRR base 1 63:32
- * +28: MTRR mask 1 31:0
- * +32: MTRR mask 1 63:32
- */
-
+ if (postcar_frame_init(&pcf, ROMSTAGE_RAM_STACK_SIZE))
+ die("Unable to initialize postcar frame.\n");
/* Cache the ROM as WP just below 4GiB. */
- slot = stack_push(slot, mtrr_mask_upper); /* upper mask */
- slot = stack_push(slot, ~(CONFIG_ROM_SIZE - 1) | MTRR_PHYS_MASK_VALID);
- slot = stack_push(slot, 0); /* upper base */
- slot = stack_push(slot, ~(CONFIG_ROM_SIZE - 1) | MTRR_TYPE_WRPROT);
- num_mtrrs++;
+ postcar_frame_add_mtrr(&pcf, CACHE_ROM_BASE, CACHE_ROM_SIZE,
+ MTRR_TYPE_WRPROT);
/* Cache RAM as WB from 0 -> CACHE_TMP_RAMTOP. */
- slot = stack_push(slot, mtrr_mask_upper); /* upper mask */
- slot = stack_push(slot, ~(CACHE_TMP_RAMTOP - 1) | MTRR_PHYS_MASK_VALID);
- slot = stack_push(slot, 0); /* upper base */
- slot = stack_push(slot, 0 | MTRR_TYPE_WRBACK);
- num_mtrrs++;
+ postcar_frame_add_mtrr(&pcf, 0, CACHE_TMP_RAMTOP, MTRR_TYPE_WRBACK);
- top_of_ram = (uint32_t)cbmem_top();
- /* Cache 8MiB below the top of ram. The top of RAM under 4GiB is the
- * start of the TSEG region. It is required to be 8MiB aligned. Set
- * this area as cacheable so it can be used later for ramstage before
- * setting up the entire RAM as cacheable. */
- slot = stack_push(slot, mtrr_mask_upper); /* upper mask */
- slot = stack_push(slot, ~((8 << 20) - 1) | MTRR_PHYS_MASK_VALID);
- slot = stack_push(slot, 0); /* upper base */
- slot = stack_push(slot, (top_of_ram - (8 << 20)) | MTRR_TYPE_WRBACK);
- num_mtrrs++;
+ /* Cache at least 8 MiB below the top of ram, and at most 8 MiB
+ * above top of the ram. This satisfies MTRR alignment requirement
+ * with different TSEG size configurations.
+ */
+ top_of_ram = ALIGN_DOWN((uintptr_t)cbmem_top(), 8*MiB);
+ postcar_frame_add_mtrr(&pcf, top_of_ram - 8*MiB, 16*MiB,
+ MTRR_TYPE_WRBACK);
- /* Cache 8MiB at the top of ram. Top of RAM is where the TSEG
- * region resides. However, it is not restricted to SMM mode until
- * SMM has been relocated. By setting the region to cacheable it
- * provides faster access when relocating the SMM handler as well
- * as using the TSEG region for other purposes. */
- slot = stack_push(slot, mtrr_mask_upper); /* upper mask */
- slot = stack_push(slot, ~((8 << 20) - 1) | MTRR_PHYS_MASK_VALID);
- slot = stack_push(slot, 0); /* upper base */
- slot = stack_push(slot, top_of_ram | MTRR_TYPE_WRBACK);
- num_mtrrs++;
-
- /* Save the number of MTRRs to setup. Return the stack location
- * pointing to the number of MTRRs. */
- slot = stack_push(slot, num_mtrrs);
-
- return slot;
+ return postcar_commit_mtrrs(&pcf);
}
--
To view, visit https://review.coreboot.org/c/coreboot/+/29929
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I77e375a2ff2fbf1be4ded922195b80b49ffa4cc5
Gerrit-Change-Number: 29929
Gerrit-PatchSet: 1
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-MessageType: newchange
Nico Huber has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29925 )
Change subject: nb/intel/gm45: Make fetching the blc_pwm freq global
......................................................................
Patch Set 1:
(2 comments)
https://review.coreboot.org/#/c/29925/1/src/northbridge/intel/gm45/gma.c
File src/northbridge/intel/gm45/gma.c:
https://review.coreboot.org/#/c/29925/1/src/northbridge/intel/gm45/gma.c@44
PS1, Line 44: char edid_ascii_string[EDID_ASCII_STRING_LENGTH + 1];
static?
https://review.coreboot.org/#/c/29925/1/src/northbridge/intel/gm45/gma.c@673
PS1, Line 673: int get_blc_pwm_freq_value(void)
Alternative to caching the string: Call it with NULL for the VBT
stuff and make the check below:
if (blc_pwm_freq > 0 || !edid_ascii_string)
Reasoning: If the lookup would succeed `blc_pwm_freq` would already
be set, if not, there's no need to try again.
--
To view, visit https://review.coreboot.org/c/coreboot/+/29925
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Id3f6ba3ae31a5ab47f44d207678c1c4a6a43b7ec
Gerrit-Change-Number: 29925
Gerrit-PatchSet: 1
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Nico Huber <nico.h(a)gmx.de>
Gerrit-Comment-Date: Thu, 29 Nov 2018 13:09:41 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Marcello Sylvester Bauer has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29515 )
Change subject: payloads/external/Linuxboot/targets: use go get to install u-root
......................................................................
Patch Set 3:
changes has already been submitted on my resent submit :)
https://review.coreboot.org/c/coreboot/+/29778
--
To view, visit https://review.coreboot.org/c/coreboot/+/29515
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I72866944165823300566e2e9bdaba59599a88178
Gerrit-Change-Number: 29515
Gerrit-PatchSet: 3
Gerrit-Owner: Jens Drenhaus <jens.drenhaus(a)9elements.com>
Gerrit-Reviewer: Marcello Sylvester Bauer <sylvblck(a)sylv.io>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Philipp Deppenwiese <zaolin.daisuki(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Thu, 29 Nov 2018 12:47:58 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Marcello Sylvester Bauer has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29516 )
Change subject: payloads/external/Linuxboot: support u-root versions
......................................................................
Patch Set 4:
changes has already been submitted on my resent submit :)
https://review.coreboot.org/c/coreboot/+/29778
--
To view, visit https://review.coreboot.org/c/coreboot/+/29516
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I65e1ccf0319809f7fab23142b31882e9928a5ec2
Gerrit-Change-Number: 29516
Gerrit-PatchSet: 4
Gerrit-Owner: Jens Drenhaus <jens.drenhaus(a)9elements.com>
Gerrit-Reviewer: Marcello Sylvester Bauer <sylvblck(a)sylv.io>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Philipp Deppenwiese <zaolin.daisuki(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Thu, 29 Nov 2018 12:47:39 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Arthur Heymans has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29927 )
Change subject: soc/intel/broadwell: Implement postcar stage
......................................................................
Patch Set 1:
I don't own such a device so it would be nice if someone had some time to test.
--
To view, visit https://review.coreboot.org/c/coreboot/+/29927
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I428832a2d7e46ce61a7f9bd498b609feb4518eb0
Gerrit-Change-Number: 29927
Gerrit-PatchSet: 1
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Matt DeVillier <matt.devillier(a)gmail.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Comment-Date: Thu, 29 Nov 2018 12:40:08 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Hello build bot (Jenkins), Patrick Georgi, Martin Roth,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/29926
to look at the new patch set (#2).
Change subject: Crash Test
......................................................................
Crash Test
Test CFLAGS_common += -Wno-unused-function \
-Wno-tautological-compare -Wno-shift-overflow
Change-Id: Ic3dde296ab4b84add8a8ab6a3bb5ecb65da2c158
Signed-off-by: Elyes HAOUAS <ehaouas(a)noos.fr>
---
M Makefile.inc
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/26/29926/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/29926
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ic3dde296ab4b84add8a8ab6a3bb5ecb65da2c158
Gerrit-Change-Number: 29926
Gerrit-PatchSet: 2
Gerrit-Owner: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: newpatchset
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29925 )
Change subject: nb/intel/gm45: Make fetching the blc_pwm freq global
......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/#/c/29925/1/src/northbridge/intel/gm45/gma.c
File src/northbridge/intel/gm45/gma.c:
https://review.coreboot.org/#/c/29925/1/src/northbridge/intel/gm45/gma.c@784
PS1, Line 784: memcpy(edid_ascii_string, edid_lvds.ascii_string, sizeof(edid_ascii_string));
line over 80 characters
--
To view, visit https://review.coreboot.org/c/coreboot/+/29925
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Id3f6ba3ae31a5ab47f44d207678c1c4a6a43b7ec
Gerrit-Change-Number: 29925
Gerrit-PatchSet: 1
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-CC: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Thu, 29 Nov 2018 11:29:49 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29904 )
Change subject: [WIP]mb/intel/x200: Add data.vbt
......................................................................
Patch Set 4:
(1 comment)
https://review.coreboot.org/#/c/29904/4/src/mainboard/lenovo/x200/blc.c
File src/mainboard/lenovo/x200/blc.c:
https://review.coreboot.org/#/c/29904/4/src/mainboard/lenovo/x200/blc.c@62
PS4, Line 62: } else {
else is not generally useful after a break or return
--
To view, visit https://review.coreboot.org/c/coreboot/+/29904
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I4c4a7011ce03cdd511fa2e2160c2f006ba2707ba
Gerrit-Change-Number: 29904
Gerrit-PatchSet: 4
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Alexander Couzens <lynxis(a)fe80.eu>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Nico Huber <nico.h(a)gmx.de>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Comment-Date: Thu, 29 Nov 2018 11:29:37 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29494 )
Change subject: riscv: add support to select the privilege level of the payload running
......................................................................
Patch Set 7:
(1 comment)
https://review.coreboot.org/#/c/29494/7/src/arch/riscv/boot.c
File src/arch/riscv/boot.c:
https://review.coreboot.org/#/c/29494/7/src/arch/riscv/boot.c@50
PS7, Line 50: void (*doit)(void *) = prog_entry(prog);
function definition argument 'void *' should also have an identifier name
--
To view, visit https://review.coreboot.org/c/coreboot/+/29494
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I96961246cd257b63cf167238aa0cf6e65272b951
Gerrit-Change-Number: 29494
Gerrit-PatchSet: 7
Gerrit-Owner: Xiang Wang <wxjstz(a)126.com>
Gerrit-Reviewer: Jonathan Neuschäfer <j.neuschaefer(a)gmx.net>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Philipp Hug <philipp(a)hug.cx>
Gerrit-Reviewer: Shawn Chang <citypw(a)gmail.com>
Gerrit-Reviewer: Xiang Wang <wxjstz(a)126.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Reviewer: ron minnich <rminnich(a)gmail.com>
Gerrit-Comment-Date: Thu, 29 Nov 2018 10:34:51 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Patrick Georgi has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29915 )
Change subject: mb/google/dragonegg: Don't use device_t
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/29915
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ief858f6612d1c7b4b0c286cf5938f8c29055f1b5
Gerrit-Change-Number: 29915
Gerrit-PatchSet: 1
Gerrit-Owner: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Thu, 29 Nov 2018 09:30:11 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Patrick Georgi has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29914 )
Change subject: include/device/smbus.h: Don't use device_t
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/29914
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I2c88642133d3cbf33015e3e1e855fb2c786878d6
Gerrit-Change-Number: 29914
Gerrit-PatchSet: 1
Gerrit-Owner: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Thu, 29 Nov 2018 09:30:03 +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/+/29913 )
Change subject: MAINTAINERS: Add myself as a maintainer
......................................................................
Patch Set 2: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/29913
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I70df3b9e4e36c2e5d73f8888fe0ec220aa8a91b7
Gerrit-Change-Number: 29913
Gerrit-PatchSet: 2
Gerrit-Owner: Matt DeVillier <matt.devillier(a)gmail.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Philipp Deppenwiese <zaolin.daisuki(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Thu, 29 Nov 2018 09:25:05 +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/+/29905 )
Change subject: broadcom: Remove SoC and board support
......................................................................
Patch Set 3: Code-Review+1
--
To view, visit https://review.coreboot.org/c/coreboot/+/29905
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I148dd7eb0192d396cb69bc26c4062f88a764771a
Gerrit-Change-Number: 29905
Gerrit-PatchSet: 3
Gerrit-Owner: Philipp Deppenwiese <zaolin.daisuki(a)gmail.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.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-Reviewer: Philipp Deppenwiese <zaolin.daisuki(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Thu, 29 Nov 2018 09:20:32 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Hellsenberg has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29878 )
Change subject: arch/x86/Makefile.inc: Fix typo
......................................................................
Patch Set 2: Code-Review+1
--
To view, visit https://review.coreboot.org/c/coreboot/+/29878
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ib0c06f494dcc035d182ab9034e910ceceb236198
Gerrit-Change-Number: 29878
Gerrit-PatchSet: 2
Gerrit-Owner: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Hellsenberg <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Thu, 29 Nov 2018 09:02:46 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Hellsenberg has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29917 )
Change subject: src/drivers/spi: Remove not used variable
......................................................................
Patch Set 2: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/29917
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ibdfbf1031130ff861c4313d1271d6ccb68bf8837
Gerrit-Change-Number: 29917
Gerrit-PatchSet: 2
Gerrit-Owner: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Hellsenberg <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Thu, 29 Nov 2018 09:01:33 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Arthur Heymans has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29908 )
Change subject: [TESTME]soc/intel/fsp_broadwell_de: Implement postcar stage
......................................................................
Patch Set 2:
> Patch Set 2:
>
> Werner and I can test it
Thx. It's a rather naive attempt and could amongst not booting at all result in a significant slowdown so checking the timestamps could be interesting.
--
To view, visit https://review.coreboot.org/c/coreboot/+/29908
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ic31702514cf84e3480b622c28cd2857e613869d9
Gerrit-Change-Number: 29908
Gerrit-PatchSet: 2
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Huang Jin <huang.jin(a)intel.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-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Philipp Deppenwiese <zaolin.daisuki(a)gmail.com>
Gerrit-Reviewer: Werner Zeh <werner.zeh(a)siemens.com>
Gerrit-Reviewer: York Yang <york.yang(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Thu, 29 Nov 2018 08:47:11 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Hello Patrick Georgi, Martin Roth,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/29917
to look at the new patch set (#2).
Change subject: src/drivers/spi: Remove not used variable
......................................................................
src/drivers/spi: Remove not used variable
Change-Id: Ibdfbf1031130ff861c4313d1271d6ccb68bf8837
Signed-off-by: Elyes HAOUAS <ehaouas(a)noos.fr>
---
M src/drivers/spi/sst.c
1 file changed, 1 insertion(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/17/29917/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/29917
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ibdfbf1031130ff861c4313d1271d6ccb68bf8837
Gerrit-Change-Number: 29917
Gerrit-PatchSet: 2
Gerrit-Owner: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-MessageType: newpatchset
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29648 )
Change subject: tss: implement Cr50 vendor-specific VENDOR_CC_TPM_MODE
......................................................................
Patch Set 6:
(1 comment)
https://review.coreboot.org/#/c/29648/6/src/security/tpm/tss/tcg-2.0/tss_ma…
File src/security/tpm/tss/tcg-2.0/tss_marshaling.c:
https://review.coreboot.org/#/c/29648/6/src/security/tpm/tss/tcg-2.0/tss_ma…
PS6, Line 482: break;
break is not useful after a goto or return
--
To view, visit https://review.coreboot.org/c/coreboot/+/29648
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Idd55708797d2b17336fcbe80c0724957f7052e90
Gerrit-Change-Number: 29648
Gerrit-PatchSet: 6
Gerrit-Owner: Joel Kitching <kitching(a)google.com>
Gerrit-Reviewer: Aaron Durbin <adurbin(a)chromium.org>
Gerrit-Reviewer: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Reviewer: Joel Kitching <kitching(a)google.com>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Reviewer: Vadim Bendebury <vbendeb(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-CC: Vadim Bendebury <vbendeb(a)chromium.org>
Gerrit-Comment-Date: Thu, 29 Nov 2018 07:32:53 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment