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

It is now possible to obtain the memory map for a SPI controllers instead
of having it hard-coded in the device tree. Update the code to support
this.

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