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
38315436
Commit
38315436
authored
May 28, 2014
by
Sandrine Bailleux
Browse files
juno: Pass primary CPU MPID to UEFI
Change-Id: I734bf8a268d45a748dc2d1671656385212cdd465
parent
aa52c701
Changes
1
Hide whitespace changes
Inline
Side-by-side
plat/juno/bl2_plat_setup.c
View file @
38315436
...
@@ -131,10 +131,12 @@ bl31_params_t *bl2_plat_get_bl31_params(void)
...
@@ -131,10 +131,12 @@ bl31_params_t *bl2_plat_get_bl31_params(void)
}
}
/* Fill BL33 related information */
/* Fill BL33 related information */
/* Juno TODO: Pass the primary CPU MPID to UEFI. Must be in x0. */
bl2_to_bl31_params
->
bl33_ep_info
=
&
bl31_params_mem
->
bl33_ep_info
;
bl2_to_bl31_params
->
bl33_ep_info
=
&
bl31_params_mem
->
bl33_ep_info
;
SET_PARAM_HEAD
(
bl2_to_bl31_params
->
bl33_ep_info
,
SET_PARAM_HEAD
(
bl2_to_bl31_params
->
bl33_ep_info
,
PARAM_EP
,
VERSION_1
,
0
);
PARAM_EP
,
VERSION_1
,
0
);
/* UEFI expects to receive the primary CPU MPID (through x0) */
bl2_to_bl31_params
->
bl33_ep_info
->
args
.
arg0
=
PRIMARY_CPU
;
bl2_to_bl31_params
->
bl33_image_info
=
&
bl31_params_mem
->
bl33_image_info
;
bl2_to_bl31_params
->
bl33_image_info
=
&
bl31_params_mem
->
bl33_image_info
;
SET_PARAM_HEAD
(
bl2_to_bl31_params
->
bl33_image_info
,
PARAM_IMAGE_BINARY
,
SET_PARAM_HEAD
(
bl2_to_bl31_params
->
bl33_image_info
,
PARAM_IMAGE_BINARY
,
VERSION_1
,
0
);
VERSION_1
,
0
);
...
...
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