From 8cb14becbc15f19944a3b0f04c8dcfa44c554e3b Mon Sep 17 00:00:00 2001 From: Zheng Bao Date: Fri, 7 Apr 2023 10:51:20 +0800 Subject: soc/amd: Add definition of SPI ROM remapping Change-Id: Icafa36ae2e07068c276600067bba1d0377f0824b Signed-off-by: Zheng Bao Reviewed-on: https://review.coreboot.org/c/coreboot/+/74258 Reviewed-by: Martin L Roth Tested-by: build bot (Jenkins) --- src/soc/amd/common/block/include/amdblocks/spi.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/soc/amd/common/block') diff --git a/src/soc/amd/common/block/include/amdblocks/spi.h b/src/soc/amd/common/block/include/amdblocks/spi.h index dc7097f275..cf918143c7 100644 --- a/src/soc/amd/common/block/include/amdblocks/spi.h +++ b/src/soc/amd/common/block/include/amdblocks/spi.h @@ -70,6 +70,8 @@ enum spi100_speed { #define SPI100_HOST_PREF_CONFIG 0x2c #define SPI_RD4DW_EN_HOST BIT(15) +#define SPI_ROM_PAGE 0x5c + #define SPI_FIFO 0x80 #define SPI_FIFO_LAST_BYTE 0xc6 /* 0xc7 for Cezanne */ #define SPI_FIFO_DEPTH (SPI_FIFO_LAST_BYTE - SPI_FIFO + 1) -- cgit v1.2.3