diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/button_cmd.c | 2 | ||||
-rw-r--r-- | common/spl/spl.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/common/button_cmd.c b/common/button_cmd.c index 72dac1f9ef6..a6c437d7a34 100644 --- a/common/button_cmd.c +++ b/common/button_cmd.c @@ -1,7 +1,7 @@ // SPDX-License-Identifier: GPL-2.0+ /* * Copyright (c) 2023 Linaro Ltd. - * Author: Caleb Connolly <caleb.connolly@linaro.org> + * Author: Casey Connolly <casey.connolly@linaro.org> */ #include <button.h> diff --git a/common/spl/spl.c b/common/spl/spl.c index d8e26605d20..ed443c645a7 100644 --- a/common/spl/spl.c +++ b/common/spl/spl.c @@ -634,7 +634,7 @@ static int boot_from_devices(struct spl_image_info *spl_image, if (CONFIG_IS_ENABLED(SHOW_ERRORS)) ret = -ENXIO; for (loader = drv; loader != drv + n_ents; loader++) { - if (bootdev != loader->boot_device) + if (loader && bootdev != loader->boot_device) continue; if (!CONFIG_IS_ENABLED(SILENT_CONSOLE)) { if (loader) |