From 2beae5253f7a9f2bec89b78504abf62d930a17b0 Mon Sep 17 00:00:00 2001 From: Kevin Hilman Date: Thu, 16 May 2019 14:38:02 -0700 Subject: [PATCH] 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: Remi Pommarel Signed-off-by: Kevin Hilman Change-Id: Ife3d934b2fa37fc1c66963dd4eb1afe2ca17d740 --- plat/meson/gxl/gxl_bl31_setup.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/plat/meson/gxl/gxl_bl31_setup.c b/plat/meson/gxl/gxl_bl31_setup.c index 7fe05292..f8ce6605 100644 --- a/plat/meson/gxl/gxl_bl31_setup.c +++ b/plat/meson/gxl/gxl_bl31_setup.c @@ -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 */ 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. */ from_bl2 = (struct gxl_bl31_param *) arg0; -- 2.30.2