Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
edbd7bb7
Commit
edbd7bb7
authored
Sep 14, 2017
by
davidcunado-arm
Committed by
GitHub
Sep 14, 2017
Browse files
Merge pull request #1098 from vchong/boot_without_spd
hikey*: boot without spd
parents
b4567c12
fe116c65
Changes
4
Hide whitespace changes
Inline
Side-by-side
plat/hisilicon/hikey/hikey_bl2_setup.c
View file @
edbd7bb7
...
@@ -244,7 +244,7 @@ bl31_params_t *bl2_plat_get_bl31_params(void)
...
@@ -244,7 +244,7 @@ bl31_params_t *bl2_plat_get_bl31_params(void)
VERSION_1
,
0
);
VERSION_1
,
0
);
/* Fill BL3-2 related information if it exists */
/* Fill BL3-2 related information if it exists */
#if BL32_BASE
#if
def
BL32_BASE
bl2_to_bl31_params
->
bl32_ep_info
=
&
bl31_params_mem
.
bl32_ep_info
;
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
,
SET_PARAM_HEAD
(
bl2_to_bl31_params
->
bl32_ep_info
,
PARAM_EP
,
VERSION_1
,
0
);
VERSION_1
,
0
);
...
...
plat/hisilicon/hikey/include/platform_def.h
View file @
edbd7bb7
...
@@ -135,6 +135,13 @@
...
@@ -135,6 +135,13 @@
#error "Currently unsupported HIKEY_TSP_LOCATION_ID value"
#error "Currently unsupported HIKEY_TSP_LOCATION_ID value"
#endif
#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_BASE (BL2_BASE)
#define NS_BL1U_SIZE (0x00010000)
#define NS_BL1U_SIZE (0x00010000)
#define NS_BL1U_LIMIT (NS_BL1U_BASE + NS_BL1U_SIZE)
#define NS_BL1U_LIMIT (NS_BL1U_BASE + NS_BL1U_SIZE)
...
...
plat/hisilicon/hikey960/hikey960_bl2_setup.c
View file @
edbd7bb7
...
@@ -91,7 +91,7 @@ bl31_params_t *bl2_plat_get_bl31_params(void)
...
@@ -91,7 +91,7 @@ bl31_params_t *bl2_plat_get_bl31_params(void)
VERSION_1
,
0
);
VERSION_1
,
0
);
/* Fill BL3-2 related information if it exists */
/* Fill BL3-2 related information if it exists */
#if BL32_BASE
#if
def
BL32_BASE
bl2_to_bl31_params
->
bl32_ep_info
=
&
bl31_params_mem
.
bl32_ep_info
;
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
,
SET_PARAM_HEAD
(
bl2_to_bl31_params
->
bl32_ep_info
,
PARAM_EP
,
VERSION_1
,
0
);
VERSION_1
,
0
);
...
...
plat/hisilicon/hikey960/include/platform_def.h
View file @
edbd7bb7
...
@@ -94,6 +94,13 @@
...
@@ -94,6 +94,13 @@
#error "Currently unsupported HIKEY960_TSP_LOCATION_ID value"
#error "Currently unsupported HIKEY960_TSP_LOCATION_ID value"
#endif
#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_BASE (BL31_LIMIT)
/* 1AC9_8000 */
#define NS_BL1U_SIZE (0x00100000)
#define NS_BL1U_SIZE (0x00100000)
#define NS_BL1U_LIMIT (NS_BL1U_BASE + NS_BL1U_SIZE)
#define NS_BL1U_LIMIT (NS_BL1U_BASE + NS_BL1U_SIZE)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment