]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: Adjust mrccache_get_region() to use livetree
authorSimon Glass <sjg@chromium.org>
Sat, 7 Dec 2019 04:42:03 +0000 (21:42 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Sun, 15 Dec 2019 03:44:13 +0000 (11:44 +0800)
commit87f1084a630e6dbd5ba9a9747ce185d98ed40658
tree39f1f1c85bb6b18c05216d4c27a2f8346ab3f33e
parent0ad9b6a98836b8109d46ba32e6a4a40beb058388
x86: Adjust mrccache_get_region() to use livetree

Change the algorithm to first find the flash device then read the
properties using the livetree API. With this change the device is not
probed so this needs to be done in mrccache_save().

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/lib/mrccache.c