soc/power9/rom_media.c: find CBFS in PNOR
Tested on QEMU with ECC. Use mmap_helper to handle loading of compressed ramstage. Bootblock fits in SEEPROM with both console and LZ4 romstage compression, but not with verbose CBFS debug messages. Signed-off-by: Krystian Hebel <krystian.hebel@3mdeb.com> Change-Id: I91c72c52849eb1e3fafe43390351537d04382e46 Reviewed-on: https://review.coreboot.org/c/coreboot/+/67069 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: David Hendricks <david.hendricks@gmail.com>
This commit is contained in:
parent
44ec090551
commit
8f2633cd60
2 changed files with 441 additions and 1 deletions
|
|
@ -8,7 +8,9 @@
|
|||
/* Set MSB to 1 to ignore HRMOR */
|
||||
#define MMIO_GROUP0_CHIP0_LPC_BASE_ADDR 0x8006030000000000
|
||||
#define LPCHC_IO_SPACE 0xD0010000
|
||||
#define LPCHC_FW_SPACE 0xF0000000
|
||||
#define FLASH_IO_SPACE 0xFC000000
|
||||
#define FW_SPACE_SIZE 0x10000000
|
||||
#define LPC_BASE_ADDR (MMIO_GROUP0_CHIP0_LPC_BASE_ADDR + LPCHC_IO_SPACE)
|
||||
#define FLASH_BASE_ADDR (MMIO_GROUP0_CHIP0_LPC_BASE_ADDR + FLASH_IO_SPACE)
|
||||
#define MMIO_GROUP0_CHIP0_SCOM_BASE_ADDR 0x800603FC00000000
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue