]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: Add a new global_data member for the cache record
authorSimon Glass <sjg@chromium.org>
Sat, 7 Dec 2019 04:42:05 +0000 (21:42 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Sun, 15 Dec 2019 03:44:13 +0000 (11:44 +0800)
commit37a508f8b7d580334b0a9b886539d7816944ece0
treea926c5aec0fbb713b6d3bf55fb2ee10224352d00
parent506f22497743f943dd0e3f9247451e2c192a5760
x86: Add a new global_data member for the cache record

At present we reuse the mrc_output char * to also point to the cache
record after it has been set up. This is confusing and doesn't save much
data space.

Add a new mrc_cache member instead.

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