summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2018-10-18 12:12:22 -0700
committerPatrick Georgi <pgeorgi@google.com>2018-10-19 09:25:23 +0000
commit076ce2f4d9082eb80a03f39111ad6e81fc2f8836 (patch)
tree07475b5b0379b1124a364ae897b5cbc00b5ee3a3 /src
parent93faff84cbc22a4cbf6edf0563409b2eeac16081 (diff)
downloadcoreboot-076ce2f4d9082eb80a03f39111ad6e81fc2f8836.tar.xz
mb/google/octopus: Preserve MRC training data across firmware update
This change udpates FMAP to wrap MRC training data in RW_PRESERVE section so that we don't lose the data when performing full firmware updates on octopus. BUG=b:117882029 TEST=Verified that chromeos-firmwareupdate doing full firmware update preserves training data on octopus. Change-Id: I5adb9bfa926327057b003360150685a8b4778c8c Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://review.coreboot.org/29183 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Justin TerAvest <teravest@chromium.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/octopus/chromeos.fmd10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/mainboard/google/octopus/chromeos.fmd b/src/mainboard/google/octopus/chromeos.fmd
index f601adc5e3..6088f0d97b 100644
--- a/src/mainboard/google/octopus/chromeos.fmd
+++ b/src/mainboard/google/octopus/chromeos.fmd
@@ -12,10 +12,12 @@ FLASH 16M {
}
}
MISC_RW@0x400000 0x30000 {
- UNIFIED_MRC_CACHE@0x0 0x21000 {
- RECOVERY_MRC_CACHE@0x0 0x10000
- RW_MRC_CACHE@0x10000 0x10000
- RW_VAR_MRC_CACHE@0x20000 0x1000
+ RW_PRESERVE {
+ UNIFIED_MRC_CACHE@0x0 0x21000 {
+ RECOVERY_MRC_CACHE@0x0 0x10000
+ RW_MRC_CACHE@0x10000 0x10000
+ RW_VAR_MRC_CACHE@0x20000 0x1000
+ }
}
RW_ELOG@0x21000 0x3000
RW_SHARED@0x24000 0x4000 {