[U-Boot] [PATCH 126/126] RFC: x86: coral: Add binary MRC data
Simon Glass
sjg at chromium.org
Wed Sep 25 15:00:52 UTC 2019
Add some pre-computed binary MRC data so that memory init does not take
nearly 30 seconds to run on the first boot.
At present every time U-Boot is flashed, coral takes nearly 30 seconds to
boot the first time. Add an initial MRC cache to speed this up. This is
somewhat dangerous since the data is taken from just one board, so your
mileage may vary.
This patch should not be applied.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
arch/x86/dts/u-boot.dtsi | 11 +++++++++++
board/google/chromebook_coral/rw-mrc-cache | Bin 0 -> 65536 bytes
board/google/chromebook_coral/rw-var-mrc-cache | Bin 0 -> 4096 bytes
3 files changed, 11 insertions(+)
create mode 100644 board/google/chromebook_coral/rw-mrc-cache
create mode 100644 board/google/chromebook_coral/rw-var-mrc-cache
diff --git a/arch/x86/dts/u-boot.dtsi b/arch/x86/dts/u-boot.dtsi
index d9a4ca1184e..bf623ba0a57 100644
--- a/arch/x86/dts/u-boot.dtsi
+++ b/arch/x86/dts/u-boot.dtsi
@@ -134,6 +134,17 @@
#endif
fdtmap {
};
+ rw-mrc-cache {
+ type = "blob";
+ offset = <0xff3e0000>;
+ size = <0x10000>;
+ filename = "board/google/chromebook_coral/rw-mrc-cache";
+ };
+ rw-var-mrc-cache {
+ type = "blob";
+ size = <0x1000>;
+ filename = "board/google/chromebook_coral/rw-var-mrc-cache";
+ };
#ifdef CONFIG_HAVE_CMC
intel-cmc {
filename = CONFIG_CMC_FILE;
diff --git a/board/google/chromebook_coral/rw-mrc-cache b/board/google/chromebook_coral/rw-mrc-cache
new file mode 100644
index 0000000000000000000000000000000000000000..931f7e251c46e03640d46756d5cb2915ec7efef4
GIT binary patch
literal 65536
zcmeI5O>7%Q6vt=0w&U-w*pBVkaa9CTFNM-1ZE2B$T2K&eRh9MtROP_AQt7>FfL;m$
z1x}O?VW0=#7*r0xq1RqHbD$Cummc7N)JjP3{_&2owY;0ncu}1A|D at NM-Fffr?9bhu
zeY2b0Q)i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(4p)k?S1YPM$^b6Uq_PF`Mfm`9{sCZ?yHWFoHSy6sM5w$-f5WAk`=
zJ}g&G&W9xxq20Vp%rB_m&tiqK3Dc!>`k20^Uk{v|uj!ONF3-*f#k(L=^B0{_zHS&4
zooysQ0y~WWC+BzCFUJ0o011!)36KB at kN^pg011!)36Q{K6IhbTdGqA^W|Qw`5`M5W
z1gEq-JRgranQS_hD-`q7rI|`y=H=&RTb*{Z+c0*Um193Sue0(#;X%=h@}VWUM}Zc6
zrD;Q=dTr3CH%|tCH?zFaQ`GQv4SZ!o>tEKC`YrbCug4zCy{Xi{6cQi-5+DH*AOR8}
z0TLhq5+DH*AOR8}0TLhq5+DH*AOR8}0TLhq5+DH*AOR8}0TLhq5+DH*AOR8}0TLhq
z5+DH*AOR8}0TLhq5+DH*AOR8}0TLhq5+DH*AOR8}0TLhq5+DH*AOR8}0TLhq5*Skg
F{{cmnsVo2h
literal 0
HcmV?d00001
diff --git a/board/google/chromebook_coral/rw-var-mrc-cache b/board/google/chromebook_coral/rw-var-mrc-cache
new file mode 100644
index 0000000000000000000000000000000000000000..73183cdd778ba152dfc5f6f516f879454dbf2faf
GIT binary patch
literal 4096
zcmeYba(0nmU|@K)8%O{_^HQ&!VyE@*KzIxcmOqcVfY|?sDe#5*zxy4;$KL+SUv=~B
z>4f>;ZTlxMdzgCvKg|DfryxH5_m`tmanltinE$6a`?i7D!`1(z{u&K|(GVC7fzc2c
Y4S~@R7!85Z5Eu=C(GVC7fsqmd0PQ=I{Qv*}
literal 0
HcmV?d00001
--
2.23.0.444.g18eeb5a265-goog
More information about the U-Boot
mailing list