u-boot-brain/arch/x86
Simon Glass 7149d38005 x86: Correct error return value in mrccache_get_region()
This function doesn't use uclass_find_first_device() correctly. Add a
check that the device is found so we don't try to read properties from a
NULL device.

The fixes booting on minnoxmax.

Fixes: 87f1084a63 ("x86: Adjust mrccache_get_region() to use livetree")

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2020-03-05 18:19:04 +08:00
..
cpu sandbox conversion to SDL2 2020-02-11 10:58:41 -05:00
dts x86: coral: Add I2C and TPM device-tree definitions 2020-02-07 22:46:35 +08:00
include/asm dma-mapping: move dma_map_(un)single() to <linux/dma-mapping.h> 2020-02-19 21:27:30 +08:00
lib x86: Correct error return value in mrccache_get_region() 2020-03-05 18:19:04 +08:00
config.mk x86: efi: app: Generate Microsoft PE format compliant image 2018-12-02 21:59:36 +01:00
Kconfig x86: Add support for ACPI general-purpose events 2020-02-07 22:46:35 +08:00
Makefile x86: Allow 16-bit init to be in TPL 2019-05-08 13:02:13 +08:00