Merge pull request #1098 from vchong/boot_without_spd
hikey*: boot without spd
This commit is contained in:
commit
edbd7bb7dc
|
@ -244,7 +244,7 @@ bl31_params_t *bl2_plat_get_bl31_params(void)
|
|||
VERSION_1, 0);
|
||||
|
||||
/* Fill BL3-2 related information if it exists */
|
||||
#if BL32_BASE
|
||||
#ifdef BL32_BASE
|
||||
bl2_to_bl31_params->bl32_ep_info = &bl31_params_mem.bl32_ep_info;
|
||||
SET_PARAM_HEAD(bl2_to_bl31_params->bl32_ep_info, PARAM_EP,
|
||||
VERSION_1, 0);
|
||||
|
|
|
@ -135,6 +135,13 @@
|
|||
#error "Currently unsupported HIKEY_TSP_LOCATION_ID value"
|
||||
#endif
|
||||
|
||||
/* BL32 is mandatory in AArch32 */
|
||||
#ifndef AARCH32
|
||||
#ifdef SPD_none
|
||||
#undef BL32_BASE
|
||||
#endif /* SPD_none */
|
||||
#endif
|
||||
|
||||
#define NS_BL1U_BASE (BL2_BASE)
|
||||
#define NS_BL1U_SIZE (0x00010000)
|
||||
#define NS_BL1U_LIMIT (NS_BL1U_BASE + NS_BL1U_SIZE)
|
||||
|
|
|
@ -91,7 +91,7 @@ bl31_params_t *bl2_plat_get_bl31_params(void)
|
|||
VERSION_1, 0);
|
||||
|
||||
/* Fill BL3-2 related information if it exists */
|
||||
#if BL32_BASE
|
||||
#ifdef BL32_BASE
|
||||
bl2_to_bl31_params->bl32_ep_info = &bl31_params_mem.bl32_ep_info;
|
||||
SET_PARAM_HEAD(bl2_to_bl31_params->bl32_ep_info, PARAM_EP,
|
||||
VERSION_1, 0);
|
||||
|
|
|
@ -94,6 +94,13 @@
|
|||
#error "Currently unsupported HIKEY960_TSP_LOCATION_ID value"
|
||||
#endif
|
||||
|
||||
/* BL32 is mandatory in AArch32 */
|
||||
#ifndef AARCH32
|
||||
#ifdef SPD_none
|
||||
#undef BL32_BASE
|
||||
#endif /* SPD_none */
|
||||
#endif
|
||||
|
||||
#define NS_BL1U_BASE (BL31_LIMIT) /* 1AC9_8000 */
|
||||
#define NS_BL1U_SIZE (0x00100000)
|
||||
#define NS_BL1U_LIMIT (NS_BL1U_BASE + NS_BL1U_SIZE)
|
||||
|
|
Loading…
Reference in New Issue