]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: Do sanity test on the cache record in mrccache_update()
authorBin Meng <bmeng.cn@gmail.com>
Mon, 12 Oct 2015 04:37:37 +0000 (21:37 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 21 Oct 2015 13:46:26 +0000 (07:46 -0600)
commit2fe66dbcbc1793dc199d90c4d66acaad981f9820
treeaf1173d2071b1e13dc76f06b957a6a3529378c02
parentf6220f1a86109f88950fd42e3af54314de24365a
x86: Do sanity test on the cache record in mrccache_update()

For the cache record to write in mrccache_update(), we should
perform a sanity test to see if it is a valid one.

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