Commit 71693a66 authored by Yann Gautier's avatar Yann Gautier
Browse files

fix(plat/st): panic if boot interface is wrong



Add a panic() at the end of stm32mp_io_setup() if the boot interface
given in ROM code boot context is not supported.

Change-Id: I0d50f21a11231febd21041b6e63108cc3e6f4f0c
Signed-off-by: default avatarYann Gautier <yann.gautier@foss.st.com>
parent c1c14b34
...@@ -651,6 +651,7 @@ void stm32mp_io_setup(void) ...@@ -651,6 +651,7 @@ void stm32mp_io_setup(void)
default: default:
ERROR("Boot interface %d not supported\n", ERROR("Boot interface %d not supported\n",
boot_context->boot_interface_selected); boot_context->boot_interface_selected);
panic();
break; break;
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment