summaryrefslogtreecommitdiff
path: root/src/soc/amd/picasso/smu.c
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2020-05-28 11:58:20 -0700
committerFurquan Shaikh <furquan@google.com>2020-05-29 18:55:19 +0000
commitc3063c556702defc0401d7d82280ee20af8300d0 (patch)
tree42372556119684015ee4517c984dfb75038dd007 /src/soc/amd/picasso/smu.c
parentc6d89fba7a404684110a792a78dae86ec44b0738 (diff)
soc/amd/picasso: Enable FSP compression
This change enables LZMA compression for both FSP-M and FSP-S. This results in significant savings in the FSP size in each CBFS: cbfstool firmware/image-trembyle.bin print -r COREBOOT | grep fsp fspm.bin 0x9cdc0 fsp 132404 LZMA (720896 decompressed) fsps.bin 0xbdfc0 fsp 86146 LZMA (327680 decompressed) LZ4 works too, but the savings are smaller as compared to LZMA: cbfstool firmware/image-trembyle.bin print -r COREBOOT | grep fsp fspm.bin 0x9cdc0 fsp 189530 LZ4 (720896 decompressed) fsps.bin 0xcbfc0 fsp 118952 LZ4 (327680 decompressed) BUG=b:155322763,b:150746858,b:152909132 TEST=Verified that Trembyle boots to OS. No FSP-M or FSP-S errors in boot logs. Signed-off-by: Furquan Shaikh <furquan@google.com> Change-Id: Ie5e4d58e671e936aa525d3000f890e9e5ae45ec3 Reviewed-on: https://review.coreboot.org/c/coreboot/+/41830 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to 'src/soc/amd/picasso/smu.c')
0 files changed, 0 insertions, 0 deletions