The bl31_entry() requires uintptr_t for its 3rd argument but NULL
is used calling the function. Cast it explictly to avoid
int-conversion build warning.
Change-Id: I0033c1bdcb9e115745ecec67950487cb85aeaba2
Fixes:
d332415fe82f ("spl: atf: call bl31_entry function before jump to u-boot")
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
* It has dependent with Dignsys's patch.
*/
if (IS_ENABLED(CONFIG_SPL_ATF))
- bl31_entry(CONFIG_SPL_ATF_TEXT_BASE, CONFIG_SYS_TEXT_BASE, NULL);
+ bl31_entry(CONFIG_SPL_ATF_TEXT_BASE, CONFIG_SYS_TEXT_BASE,
+ (uintptr_t)NULL);
debug("loaded - jumping to U-Boot...\n");
spl_board_prepare_for_boot();