]> git.baikalelectronics.ru Git - arm-tf.git/commitdiff
plat/meson/gxl: BL31: remove BL2 dependency
authorKevin Hilman <khilman@baylibre.com>
Thu, 16 May 2019 21:38:02 +0000 (14:38 -0700)
committerKevin Hilman <khilman@baylibre.com>
Thu, 16 May 2019 22:16:19 +0000 (15:16 -0700)
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 <repk@triplefau.lt>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Change-Id: Ife3d934b2fa37fc1c66963dd4eb1afe2ca17d740

plat/meson/gxl/gxl_bl31_setup.c

index 7fe05292ddf0f9cf3ec51624fbfc66f65f520f1c..f8ce6605bdbcf4ec21e61448e724504a168ac3c6 100644 (file)
@@ -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;