]> git.baikalelectronics.ru Git - uboot.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)
commit8f172af47d31a8e47209b18c2f547790240d2c02
tree39f1f1c85bb6b18c05216d4c27a2f8346ab3f33e
parent3fcd0bdc9e8cf0b6281f29a89cd4dde2570c780e
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