common: spl: set default address for entry_point_os

Could be override in boot_from_devices().

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: Ifbfac5903ec61e65739732949f9e6b8a2704155d
This commit is contained in:
Joseph Chen 2020-03-13 09:32:01 +08:00 committed by Jianhong Chen
parent 95bd63d1b1
commit f8ca32e1ca
1 changed files with 5 additions and 0 deletions

View File

@ -487,6 +487,11 @@ void board_init_r(gd_t *dummy1, ulong dummy2)
spl_image.entry_point_bl33 = CONFIG_SYS_TEXT_BASE;
#endif
#if CONFIG_IS_ENABLED(OPTEE)
/* default address */
spl_image.entry_point_os = CONFIG_SYS_TEXT_BASE;
#endif
#ifdef CONFIG_SYS_SPL_ARGS_ADDR
spl_image.arg = (void *)CONFIG_SYS_SPL_ARGS_ADDR;
#endif