Hello Zheng Bao,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/coreboot/+/48955
to review the following change.
Change subject: WIP:src/amd/common: Detect SOC type before access SPI 0x2C ......................................................................
WIP:src/amd/common: Detect SOC type before access SPI 0x2C
Change-Id: Id493597b3854296a285d2337b7cf9fd01394d169 Signed-off-by: Zheng Bao fishbaozi@gmail.com --- M src/soc/amd/common/block/spi/fch_spi.c 1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/55/48955/1
diff --git a/src/soc/amd/common/block/spi/fch_spi.c b/src/soc/amd/common/block/spi/fch_spi.c index c39147a..910521a 100644 --- a/src/soc/amd/common/block/spi/fch_spi.c +++ b/src/soc/amd/common/block/spi/fch_spi.c @@ -60,6 +60,7 @@ { lpc_enable_spi_rom(SPI_ROM_ENABLE); lpc_enable_spi_prefetch(); - fch_spi_disable_4dw_burst(); + if (!CONFIG(SOC_AMD_CEZANNE)) + fch_spi_disable_4dw_burst(); fch_spi_config_modes(); }
Hello build bot (Jenkins), Jason Glenesk, Marshall Dawson, Zheng Bao, Felix Held,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/48955
to look at the new patch set (#13).
Change subject: WIP:src/amd/common: Detect SOC type before access SPI 0x2C ......................................................................
WIP:src/amd/common: Detect SOC type before access SPI 0x2C
Change-Id: Id493597b3854296a285d2337b7cf9fd01394d169 Signed-off-by: Zheng Bao fishbaozi@gmail.com --- M src/soc/amd/common/block/spi/fch_spi.c 1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/55/48955/13
Hello build bot (Jenkins), Jason Glenesk, Marshall Dawson, Zheng Bao, Felix Held,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/48955
to look at the new patch set (#14).
Change subject: WIP:src/amd/common: Detect SOC type before access SPI 0x2C ......................................................................
WIP:src/amd/common: Detect SOC type before access SPI 0x2C
Change-Id: Id493597b3854296a285d2337b7cf9fd01394d169 Signed-off-by: Zheng Bao fishbaozi@gmail.com --- M src/soc/amd/common/block/spi/fch_spi.c 1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/55/48955/14
Hello build bot (Jenkins), Jason Glenesk, Marshall Dawson, Zheng Bao, Felix Held,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/48955
to look at the new patch set (#16).
Change subject: WIP:src/amd/common: Detect SOC type before access SPI 0x2C ......................................................................
WIP:src/amd/common: Detect SOC type before access SPI 0x2C
Change-Id: Id493597b3854296a285d2337b7cf9fd01394d169 Signed-off-by: Zheng Bao fishbaozi@gmail.com --- M src/soc/amd/common/block/spi/fch_spi.c 1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/55/48955/16
Attention is currently required from: Bao Zheng. Hello build bot (Jenkins), Jason Glenesk, Marshall Dawson, Zheng Bao, Felix Held,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/48955
to look at the new patch set (#35).
Change subject: WIP:src/amd/common: Detect SOC type before access SPI 0x2C ......................................................................
WIP:src/amd/common: Detect SOC type before access SPI 0x2C
Change-Id: Id493597b3854296a285d2337b7cf9fd01394d169 Signed-off-by: Zheng Bao fishbaozi@gmail.com --- M src/soc/amd/common/block/spi/fch_spi.c 1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/55/48955/35
Hello build bot (Jenkins), Jason Glenesk, Marshall Dawson, Zheng Bao, Felix Held,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/48955
to look at the new patch set (#36).
Change subject: WIP:src/amd/common: Detect SOC type before access SPI 0x2C ......................................................................
WIP:src/amd/common: Detect SOC type before access SPI 0x2C
Change-Id: Id493597b3854296a285d2337b7cf9fd01394d169 Signed-off-by: Zheng Bao fishbaozi@gmail.com --- M src/soc/amd/common/block/spi/fch_spi.c 1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/55/48955/36
Attention is currently required from: Bao Zheng. Martin Roth has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/48955 )
Change subject: WIP:src/amd/common: Detect SOC type before access SPI 0x2C ......................................................................
Patch Set 37:
(1 comment)
File src/soc/amd/common/block/spi/fch_spi.c:
https://review.coreboot.org/c/coreboot/+/48955/comment/896e316b_c9919fe8 PS37, Line 63: CONFIG(SOC_AMD_CEZANNE) This certainly works, but as we add more chips, we'll need to keep updating it. What about checking the family of the chip and only enabling it if the chip is fam17h or earlier?
Attention is currently required from: Raul Rangel. Hello build bot (Jenkins), Jason Glenesk, Marshall Dawson, Zheng Bao, Felix Held,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/48955
to look at the new patch set (#39).
Change subject: WIP:src/amd/common: Detect SOC type before access SPI 0x2C ......................................................................
WIP:src/amd/common: Detect SOC type before access SPI 0x2C
Change-Id: Id493597b3854296a285d2337b7cf9fd01394d169 Signed-off-by: Zheng Bao fishbaozi@gmail.com --- M src/soc/amd/common/block/spi/fch_spi.c 1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/55/48955/39
Martin L Roth has abandoned this change. ( https://review.coreboot.org/c/coreboot/+/48955?usp=email )
Change subject: WIP:src/amd/common: Detect SOC type before access SPI 0x2C ......................................................................
Abandoned
This patch has not been touched in over 12 months. Anyone who wants to take over work on this patch, please feel free to restore it and do any work needed to get it merged. If you create a new patch based on this work, please credit the original author.