diff options
author | Kevin Hilman <khilman@baylibre.com> | 2019-05-16 14:38:02 -0700 |
---|---|---|
committer | Kevin Hilman <khilman@baylibre.com> | 2019-05-16 15:16:19 -0700 |
commit | 2beae5253f7a9f2bec89b78504abf62d930a17b0 (patch) | |
tree | d3833be9ef590dda10e3842ee24869cc52214f25 /plat | |
parent | d8b11091b6f9032c16fdc54218ceda10d21e3355 (diff) |
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 <repk@triplefau.lt>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Change-Id: Ife3d934b2fa37fc1c66963dd4eb1afe2ca17d740
Diffstat (limited to 'plat')
-rw-r--r-- | plat/meson/gxl/gxl_bl31_setup.c | 6 |
1 files changed, 0 insertions, 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; |