Commit 2beae525 authored by Kevin Hilman's avatar Kevin Hilman
Browse files

plat/meson/gxl: BL31: remove BL2 dependency



Remove an assert() that assumes a specific value being passed from
BL2.  This value is dependent on BL2 version, so makes this assert()
not portable.
Suggested-by: default avatarRemi Pommarel <repk@triplefau.lt>
Signed-off-by: default avatarKevin Hilman <khilman@baylibre.com>
Change-Id: Ife3d934b2fa37fc1c66963dd4eb1afe2ca17d740
parent d8b11091
...@@ -70,12 +70,6 @@ void bl31_early_platform_setup2(u_register_t arg0, u_register_t arg1, ...@@ -70,12 +70,6 @@ void bl31_early_platform_setup2(u_register_t arg0, u_register_t arg1,
/* Initialize the console to provide early debug support */ /* Initialize the console to provide early debug support */
gxbb_console_init(); gxbb_console_init();
/*
* In debug builds, we pass a special value in 'arg1' to verify platform
* parameters from BL2 to BL31. In release builds it's not used.
*/
assert(arg1 == GXBB_BL31_PLAT_PARAM_VAL);
/* Check that params passed from BL2 are not NULL. */ /* Check that params passed from BL2 are not NULL. */
from_bl2 = (struct gxl_bl31_param *) arg0; from_bl2 = (struct gxl_bl31_param *) arg0;
......
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