summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcello Sylvester Bauer <info@marcellobauer.com>2018-11-12 13:54:17 +0100
committerPatrick Georgi <pgeorgi@google.com>2018-11-16 09:44:50 +0000
commitfd7fe58e609c5e14a92467aac725ed3dbc94adae (patch)
tree62dcde69567e7bd3dbec1c58ca6a6418f7a5ff23
parent978f47add87779bce2fbfa12d50abe838da445e3 (diff)
downloadcoreboot-fd7fe58e609c5e14a92467aac725ed3dbc94adae.tar.xz
mb/cavium/cn8100_sff_evb: adjust fmap
Adjust the default fmap description file. Tested on real hardware. Change-Id: I46165eb27314a500187bcd24e3e201cf6a3175e7 Signed-off-by: Marcello Sylvester Bauer <info@marcellobauer.com> Reviewed-on: https://review.coreboot.org/29596 Reviewed-by: Patrick Rudolph <siro@das-labor.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/mainboard/cavium/cn8100_sff_evb/Kconfig2
-rw-r--r--src/mainboard/cavium/cn8100_sff_evb/board.fmd23
2 files changed, 8 insertions, 17 deletions
diff --git a/src/mainboard/cavium/cn8100_sff_evb/Kconfig b/src/mainboard/cavium/cn8100_sff_evb/Kconfig
index c67c36249b..b95ddf6e88 100644
--- a/src/mainboard/cavium/cn8100_sff_evb/Kconfig
+++ b/src/mainboard/cavium/cn8100_sff_evb/Kconfig
@@ -17,7 +17,7 @@ if BOARD_CAVIUM_CN8100_SFF_EVB
config BOARD_SPECIFIC_OPTIONS
def_bool y
- select BOARD_ROMSIZE_KB_16384
+ select BOARD_ROMSIZE_KB_8192
select COMMON_CBFS_SPI_WRAPPER
select RTC
select SOC_CAVIUM_CN81XX
diff --git a/src/mainboard/cavium/cn8100_sff_evb/board.fmd b/src/mainboard/cavium/cn8100_sff_evb/board.fmd
index 19987274ff..34f3161b8f 100644
--- a/src/mainboard/cavium/cn8100_sff_evb/board.fmd
+++ b/src/mainboard/cavium/cn8100_sff_evb/board.fmd
@@ -1,24 +1,15 @@
FLASH@0x0 8M {
- WP_RO@0x0 0x400000 {
- RO_SECTION@0x0 0x200000 {
+ WP_RO@0x0 0x800000 {
+ RO_SECTION@0x0 0x7fc000 {
+ # 0 - 0x10000 is free for firmware usage.
+ # bootblock starts at 0x20000
+ FMAP@0x0 0x1000
# bootblock includes trusted/non-trusted CLIB, CSIB,
# and BL1FWs packaged in
# src/soc/cavium/common/Makefile.inc.
BOOTBLOCK@0x10000 0x70000
- FMAP@0x90000 0x1000
- COREBOOT(CBFS)@0x100000 0x100000
+ COREBOOT(CBFS)@0x80000 0x77c000
}
+ RO_VPD@0x7fc000 0x4000
}
- RW_SECTION_A@0x400000 0xe8000 {
- VBLOCK_A@0x0 0x2000
- FW_MAIN_A(CBFS)@0x2000 0xe5f00
- RW_FWID_A@0xe7f00 0x100
- }
- RW_UNUSED@0x4e8000 0x8000
- RW_ELOG@0x5d8000 0x1000
- RW_SHARED@0x5e0000 0x10000 {
- SHARED_DATA@0x0 0x10000
- }
- RW_NVRAM@0x5f0000 0x10000
- CONSOLE@0x700000 0x100000
}