Julius Werner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/25208 )
Change subject: sdm845: Add QCLib to RomStage to perform DDR init
......................................................................
Patch Set 69:
(6 comments)
https://review.coreboot.org/#/c/25208/69/src/mainboard/google/cheza/chromeo…
File src/mainboard/google/cheza/chromeos.fmd:
https://review.coreboot.org/#/c/25208/69/src/mainboard/google/cheza/chromeo…
PS69, Line 35: RW_NVRAM 16K
Where did RW_LIMITS_CFG and RW_DDR_TRAINING go (the spaces we want to preserve just in case an update is needed later)?
https://review.coreboot.org/#/c/25208/69/src/soc/qualcomm/sdm845/include/so…
File src/soc/qualcomm/sdm845/include/soc/qclib.h:
https://review.coreboot.org/#/c/25208/69/src/soc/qualcomm/sdm845/include/so…
PS69, Line 52: #define QCLIB_GA_ENABLE_UART_LOGGING 0x00000001
This used to be 0x2, was it updated in QcLib when you decided to remove SOC_DEBUG_FLOW? (In the future, let's avoid changing these once they have a particular value so the interface is more stable between different versions of coreboot and QcLib. If we deprecate a flag, just keep that in this list as a comment to make clear that it has been used before and shouldn't be reused.)
https://review.coreboot.org/#/c/25208/69/src/soc/qualcomm/sdm845/qclib_exec…
File src/soc/qualcomm/sdm845/qclib_execute.c:
https://review.coreboot.org/#/c/25208/69/src/soc/qualcomm/sdm845/qclib_exec…
PS69, Line 1: /*
Please note that there are still many comments in CB:27360 that still apply here.
https://review.coreboot.org/#/c/25208/69/src/soc/qualcomm/sdm845/qclib_exec…
PS69, Line 39: #define PBL_DATA_PTR 0x14810188
This happened, right? So let's remove this.
https://review.coreboot.org/#/c/25208/69/src/soc/qualcomm/sdm845/qclib_exec…
PS69, Line 164: printk(BIOS_INFO, "Board Rev(0x%d)\n", board_id());
> Prefixing 0x with decimal output is defective
This is already printed at the end of ramstage, I don't think it needs to be printed here.
https://review.coreboot.org/#/c/25208/69/src/soc/qualcomm/sdm845/qclib_exec…
PS69, Line 240: prog_set_entry(&qclib, qclib.entry, (void *)PBL_DATA_PTR);
This is no longer used, right? Instead, please set &qclib_cb_if_table as argument here, and then use prog_run() to run it rather than doing that manually.
--
To view, visit https://review.coreboot.org/c/coreboot/+/25208
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I073186674a1a593547d1ee1d15c7cd4fd8ad5bc1
Gerrit-Change-Number: 25208
Gerrit-PatchSet: 69
Gerrit-Owner: T.Michael Turney <tturne(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: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: T.Michael Turney <tturne(a)codeaurora.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Reviewer: mturney mturney <mturney(a)codeaurora.org>
Gerrit-CC: Nico Huber <nico.h(a)gmx.de>
Gerrit-Comment-Date: Thu, 07 Feb 2019 02:21:39 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: comment
Julius Werner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/30003 )
Change subject: sdm845: Add GPIO IRQ APIs
......................................................................
Patch Set 11:
(1 comment)
https://review.coreboot.org/#/c/30003/11/src/soc/qualcomm/sdm845/gpio.c
File src/soc/qualcomm/sdm845/gpio.c:
https://review.coreboot.org/#/c/30003/11/src/soc/qualcomm/sdm845/gpio.c@90
PS11, Line 90: clrsetbits_le32(®s->intr_cfg, GPIO_INTR_RAW_STATUS_ENABLE
Please combine into a single access:
clrsetbits_le32(®s->intr_cfg,
GPIO_INTR_DECT_CTL_MASK << GPIO_INTR_DECT_CTL_SHIFT,
type << GPIO_INTR_DECT_CTL_SHIFT |
GPIO_INTR_RAW_STATUS_ENABLE << GPIO_INTR_RAW_STATUS_EN_SHIFT);
--
To view, visit https://review.coreboot.org/c/coreboot/+/30003
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I68f34e7bba17d9baad1db2bf025ba2db4afdfb58
Gerrit-Change-Number: 30003
Gerrit-PatchSet: 11
Gerrit-Owner: T.Michael Turney <tturne(a)codeaurora.org>
Gerrit-Reviewer: Taniya Das <tdas(a)qualcomm.corp-partner.google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Reviewer: mturney mturney <mturney(a)codeaurora.org>
Gerrit-CC: Julius Werner <jwerner(a)chromium.org>
Gerrit-Comment-Date: Thu, 07 Feb 2019 02:02:30 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Arthur Heymans has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/30420
Change subject: Makefile.inc: Make sure the BIOS region is 64K aligned
......................................................................
Makefile.inc: Make sure the BIOS region is 64K aligned
If a non aligned CONFIG_CBFS_SIZE is used the region RW_MRC_CACHE and
CONSOLE could end up non aligned. Currently this is only possible if
the user messes with CONFIG_CBFS_SIZE in menuconfig, but better be
safe than sorry.
Change-Id: Ieb7e3c7112bd4b3f9733c36af21b1d59b3836811
Signed-off-by: Arthur Heymans <arthur(a)aheymans.xyz>
---
M Makefile.inc
1 file changed, 3 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/20/30420/1
diff --git a/Makefile.inc b/Makefile.inc
index 85aa19e..8af291f 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -146,6 +146,7 @@
int-gt=$(if $(filter 1,$(words $1)),$(strip $1),$(shell expr $(call _toint,$(word 1,$1)) \> $(call _toint,$(word 2,$1))))
int-eq=$(if $(filter 1,$(words $1)),$(strip $1),$(shell expr $(call _toint,$(word 1,$1)) = $(call _toint,$(word 2,$1))))
int-align=$(shell A=$(call _toint,$1) B=$(call _toint,$2); expr $$A + \( \( $$B - \( $$A % $$B \) \) % $$B \) )
+int-align-down=$(shell A=$(call _toint,$1) B=$(call _toint,$2); expr $$A - \( $$A % $$B \) )
file-size=$(strip $(shell cat $1 | wc -c))
tolower=$(shell echo '$1' | tr '[:upper:]' '[:lower:]')
toupper=$(shell echo '$1' | tr '[:lower:]' '[:upper:]')
@@ -835,8 +836,8 @@
FMAP_ROM_SIZE := $(CONFIG_ROM_SIZE)
# entire "BIOS" region (everything directly of concern to the host system)
# relative to ROM_BASE
-FMAP_BIOS_BASE := $(call int-subtract, $(CONFIG_ROM_SIZE) $(CONFIG_CBFS_SIZE))
-FMAP_BIOS_SIZE := $(shell echo $(CONFIG_CBFS_SIZE) | tr A-F a-f)
+FMAP_BIOS_BASE := $(call int-align, $(call int-subtract, $(CONFIG_ROM_SIZE) $(CONFIG_CBFS_SIZE)), 0x10000)
+FMAP_BIOS_SIZE := $(call int-align-down, $(shell echo $(CONFIG_CBFS_SIZE) | tr A-F a-f), 0x10000)
# position and size of flashmap, relative to BIOS_BASE
#
--
To view, visit https://review.coreboot.org/c/coreboot/+/30420
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ieb7e3c7112bd4b3f9733c36af21b1d59b3836811
Gerrit-Change-Number: 30420
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: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-MessageType: newchange
Felix Singer has uploaded a new patch set (#2) to the change originally created by Nico Huber. ( https://review.coreboot.org/c/coreboot/+/29897 )
Change subject: util/inteltool: Add Apollo Lake GPIO groups and names
......................................................................
util/inteltool: Add Apollo Lake GPIO groups and names
Apollo Lake has four GPIO communities each with a single group named
after the physical location of the pads (I guess): North West, North,
West and South West.
Also add some logic to be able to tag the default function of a pad
(with an asterisk before its name). This seems easier to review in the
tables, but we could also encode the number of the default explicitly
instead.
Change-Id: I5cd687fdc1d2ae81f2e948178bf319897b47f031
Signed-off-by: Nico Huber <nico.huber(a)secunet.com>
Signed-off-by: Felix Singer <migy(a)darmstadt.ccc.de>
---
M util/inteltool/gpio.c
M util/inteltool/gpio_groups.c
2 files changed, 353 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/97/29897/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/29897
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I5cd687fdc1d2ae81f2e948178bf319897b47f031
Gerrit-Change-Number: 29897
Gerrit-PatchSet: 2
Gerrit-Owner: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Felix Singer <migy(a)darmstadt.ccc.de>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-MessageType: newpatchset