]> git.baikalelectronics.ru Git - uboot.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)
commitbfa3a291a2e1c0c6bdbd4afb605355c3632006f8
treea4ab746b9c10595dd352fb6aaddcfb1b3539677b
parent8f172af47d31a8e47209b18c2f547790240d2c02
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