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:
parent
95bd63d1b1
commit
f8ca32e1ca
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue