summaryrefslogtreecommitdiff
path: root/src/mainboard/google/smaug
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@chromium.org>2015-12-12 00:23:15 +0100
committerPatrick Georgi <pgeorgi@google.com>2016-01-21 19:40:57 +0100
commit5d7ab39024705d872221aab126b42e743674d672 (patch)
tree54591e9c78ecfaf380a750926e3632c4c4cd2452 /src/mainboard/google/smaug
parente02be0e14ab0d53fbe270556e1a7752558014b36 (diff)
chromeos: import Chrome OS fmaps
These are generated from depthcharge's board/*/fmap.dts using the dts-to-fmd.sh script. One special case is google/veyron's chromeos.fmd, which is used for a larger set of boards - no problem since the converted fmd was the same for all of them. Set aside 128K for the bootblock on non-x86 systems (where the COREBOOT region ends up at the beginning of flash). This becomes necessary because we're working without a real cbfs master header (exists for transition only), which carved out the space for the offset. Change-Id: Ieeb33702d3e58e07e958523533f83da97237ecf1 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-on: https://review.coreboot.org/12715 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard/google/smaug')
-rw-r--r--src/mainboard/google/smaug/chromeos.fmd27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/mainboard/google/smaug/chromeos.fmd b/src/mainboard/google/smaug/chromeos.fmd
new file mode 100644
index 0000000000..88809ab1e8
--- /dev/null
+++ b/src/mainboard/google/smaug/chromeos.fmd
@@ -0,0 +1,27 @@
+FLASH@0x0 0x1000000 {
+ WP_RO@0x0 0x500000 {
+ RO_SECTION@0x0 0x4f0000 {
+ BOOTBLOCK@0 128K
+ COREBOOT(CBFS)@0x20000 0x3e0000
+ FMAP@0x400000 0x1000
+ GBB@0x401000 0xeef00
+ RO_FRID@0x4eff00 0x100
+ }
+ RO_VPD@0x4f0000 0x10000
+ }
+ RW_SECTION_A@0x500000 0x500000 {
+ VBLOCK_A@0x0 0x2000
+ FW_MAIN_A(CBFS)@0x2000 0x4fdf00
+ RW_FWID_A@0x4fff00 0x100
+ }
+ RW_SECTION_B@0xa00000 0x500000 {
+ VBLOCK_B@0x0 0x2000
+ FW_MAIN_B(CBFS)@0x2000 0x4fdf00
+ RW_FWID_B@0x4fff00 0x100
+ }
+ RW_SHARED@0xf00000 0x4000
+ SHARED_DATA@0xf04000 0x4000
+ RW_ELOG@0xf08000 0x4000
+ RW_VPD@0xf0c000 0x8000
+ RW_NVRAM@0xf20000 0x10000
+}