spl: print entry point for U-Boot and OP-TEE

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: Ifeb52986851b93cb634f177e3834cbf681f3dfb0
This commit is contained in:
Joseph Chen 2020-04-20 19:19:54 +08:00
parent a11e2c8225
commit 30ef03eb67
1 changed files with 3 additions and 1 deletions

View File

@ -566,7 +566,9 @@ void board_init_r(gd_t *dummy1, ulong dummy2)
#endif
#if CONFIG_IS_ENABLED(OPTEE)
case IH_OS_OP_TEE:
printf("Jumping to U-Boot via OP-TEE\n");
printf("Jumping to U-Boot(0x%08lx) via OP-TEE(0x%08lx)\n\n",
(ulong)spl_image.entry_point_os,
(ulong)spl_image.entry_point);
spl_cleanup_before_jump(&spl_image);
spl_optee_entry(NULL, (void *)spl_image.entry_point_os,
(void *)spl_image.fdt_addr,