x86: mrccache: Fix error handling in mrccache_get_region()
authorSimon Glass <sjg@chromium.org>
Mon, 26 Sep 2016 03:33:40 +0000 (21:33 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 11 Oct 2016 03:55:33 +0000 (11:55 +0800)
commit54cd240731f904b5632e384e6d5b21777e36d86a
treebe7695e22e5f7413c16c3386c91ad111875ed303
parent9b43dbfb91e0884b817405b3b2985259cabb4ce8
x86: mrccache: Fix error handling in mrccache_get_region()

This should return normal errors, not device-tree errors. Fix it.

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