HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/31005
Change subject: i945,ICH7: Add 'FIXME' comment on R/WO register
......................................................................
i945,ICH7: Add 'FIXME' comment on R/WO register
RPFN is a R/WO register we write on it in i945/early_init.c and i82801gx/pcie.c
Drop one of them.
Change-Id: If9a131ad12530876a650b7a38daa9c9fc52aefb7
Signed-off-by: Elyes HAOUAS <ehaouas(a)noos.fr>
---
M src/northbridge/intel/i945/early_init.c
M src/southbridge/intel/i82801gx/pcie.c
2 files changed, 2 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/05/31005/1
diff --git a/src/northbridge/intel/i945/early_init.c b/src/northbridge/intel/i945/early_init.c
index 528f1aa..09a18e3 100644
--- a/src/northbridge/intel/i945/early_init.c
+++ b/src/northbridge/intel/i945/early_init.c
@@ -347,6 +347,7 @@
RCBA32(V0CTL) = 0x80000001;
RCBA32(V1CAP) = 0x03128010;
+ /* FIXME: RPFN R/WO register and i82801gx/pcie.c try to rewrite */
RCBA32(RPFN) = 0x00543210;
pci_write_config16(PCI_DEV(0, 0x1c, 0), 0x42, 0x0141);
diff --git a/src/southbridge/intel/i82801gx/pcie.c b/src/southbridge/intel/i82801gx/pcie.c
index c0f9c12..9d218c7 100644
--- a/src/southbridge/intel/i82801gx/pcie.c
+++ b/src/southbridge/intel/i82801gx/pcie.c
@@ -25,6 +25,7 @@
struct root_port_config {
/* RPFN is a write-once register so keep a copy until it is written */
+ /* FIXME: already written here intel/i945/early_init.c */
u32 orig_rpfn;
u32 new_rpfn;
int num_ports;
--
To view, visit https://review.coreboot.org/c/coreboot/+/31005
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: If9a131ad12530876a650b7a38daa9c9fc52aefb7
Gerrit-Change-Number: 31005
Gerrit-PatchSet: 1
Gerrit-Owner: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-MessageType: newchange
Hello Daniel Kurtz,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/coreboot/+/30998
to review the following change.
Change subject: soc/amd/stoneyridge/gpio: Allow specifying 0 value for debounce timeout
......................................................................
soc/amd/stoneyridge/gpio: Allow specifying 0 value for debounce timeout
It is possible to configure debounce, but leave it disabled by specifying
a 0 value for the timeout. Add a define for allowing to do so via the
PAD_DEBOUNCE() macro.
Signed-off-by: Daniel Kurtz <djkurtz(a)chromium.org>
BUG=b:113880780
BRANCH=none
TEST=compile
Change-Id: I9de61297b0677cc904535a51c16970eecb52021d
---
M src/soc/amd/stoneyridge/include/soc/gpio.h
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/98/30998/1
diff --git a/src/soc/amd/stoneyridge/include/soc/gpio.h b/src/soc/amd/stoneyridge/include/soc/gpio.h
index 04eda49..47eae84 100644
--- a/src/soc/amd/stoneyridge/include/soc/gpio.h
+++ b/src/soc/amd/stoneyridge/include/soc/gpio.h
@@ -462,6 +462,7 @@
#define GPIO_TIMEBASE_15560uS (1 << 7)
#define GPIO_TIMEBASE_62440uS (GPIO_TIMEBASE_183uS | \
GPIO_TIMEBASE_15560uS)
+#define GPIO_IN_DEBOUNCE_DISABLED (0 | GPIO_TIMEBASE_61uS)
#define GPIO_IN_60uS (1 | GPIO_TIMEBASE_61uS)
#define GPIO_IN_120uS (2 | GPIO_TIMEBASE_61uS)
#define GPIO_IN_200uS (3 | GPIO_TIMEBASE_61uS)
--
To view, visit https://review.coreboot.org/c/coreboot/+/30998
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I9de61297b0677cc904535a51c16970eecb52021d
Gerrit-Change-Number: 30998
Gerrit-PatchSet: 1
Gerrit-Owner: Daniel Kurtz <djkurtz(a)google.com>
Gerrit-Reviewer: Daniel Kurtz <djkurtz(a)chromium.org>
Gerrit-MessageType: newchange
Hung-Te Lin has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/31035
Change subject: google/kukui: Revise FMAP layout for larger CBFS
......................................................................
google/kukui: Revise FMAP layout for larger CBFS
Kukui with vboot enabled will build with `detachable_ui`, which needs
larger space in CBFS for more complicated assets. So we need to revise
FMAP sections:
- Bootblock only needs <= 32K.
- GBB can be much smaller since assets moved from GBB to CBFS.
- COREBOOT(CBFS) should take all space left.
- FMAP is re-ordered (with the cost of less efficient in bsearch) so CBFS can
get larger continuous space
BUG=b:123202015
TEST=Builds and boots on Kukui P1
Change-Id: I22cff99dca8c396c5897c3f6631721af40f3ffbd
Signed-off-by: Hung-Te Lin <hungte(a)chromium.org>
---
M src/mainboard/google/kukui/chromeos.fmd
1 file changed, 4 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/35/31035/1
diff --git a/src/mainboard/google/kukui/chromeos.fmd b/src/mainboard/google/kukui/chromeos.fmd
index 1602f80..c563e08 100644
--- a/src/mainboard/google/kukui/chromeos.fmd
+++ b/src/mainboard/google/kukui/chromeos.fmd
@@ -1,10 +1,10 @@
FLASH@0x0 0x800000 {
WP_RO@0x0 0x200000 {
RO_SECTION@0x0 0x1f0000 {
- BOOTBLOCK@0 128K
- COREBOOT(CBFS)@0x20000 0xe0000
- FMAP@0x100000 0x1000
- GBB@0x101000 0xeef00
+ BOOTBLOCK@0 32K
+ FMAP@0x8000 0x1000
+ COREBOOT(CBFS)@0x9000 0x1e4000
+ GBB@0x1ed000 0x2f00
RO_FRID@0x1eff00 0x100
}
RO_VPD@0x1f0000 0x10000
--
To view, visit https://review.coreboot.org/c/coreboot/+/31035
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I22cff99dca8c396c5897c3f6631721af40f3ffbd
Gerrit-Change-Number: 31035
Gerrit-PatchSet: 1
Gerrit-Owner: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-MessageType: newchange