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: 87f1084a630 ("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
..
2019-12-15 11:44:17 +08:00
2020-02-05 19:33:46 -07:00
2019-12-15 11:44:16 +08:00
2019-10-08 13:57:46 +08:00
2019-08-09 22:24:02 +08:00
2018-07-20 09:33:22 +08:00
2019-08-09 22:24:02 +08:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2019-12-02 18:25:00 -05:00
2018-05-07 09:34:12 -04:00
2020-01-17 17:53:40 -05:00
2018-05-07 09:34:12 -04:00
2020-02-05 19:33:46 -07:00
2018-05-07 09:34:12 -04:00
2018-07-19 16:31:36 -04:00
2018-05-07 09:34:12 -04:00
2019-09-10 14:31:42 +08:00
2018-05-07 09:34:12 -04:00
2018-08-20 14:17:43 +02:00
2018-08-20 14:17:43 +02:00
2019-10-08 13:53:54 +08:00
2019-03-11 22:55:01 +08:00
2018-05-07 09:34:12 -04:00
2019-12-02 18:25:04 -05:00
2019-12-02 18:25:00 -05:00
2019-10-08 13:57:48 +08:00
2019-12-15 11:44:18 +08:00
2018-05-07 09:34:12 -04:00
2020-03-05 18:19:04 +08:00
2018-05-07 09:34:12 -04:00
2014-10-28 20:42:51 -06:00
2018-05-07 09:34:12 -04:00
2019-12-15 11:44:16 +08:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-07-25 14:57:43 +02:00
2018-07-25 14:57:43 +02:00
2018-10-22 17:51:45 +08:00
2018-09-17 17:35:53 +08:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2020-01-17 17:53:40 -05:00
2018-05-07 09:34:12 -04:00
2020-02-05 19:33:46 -07:00
2020-01-17 17:53:40 -05:00
2019-12-02 18:25:01 -05:00