diff options
author | Sandrine Bailleux <sandrine.bailleux@arm.com> | 2014-05-28 11:21:10 +0100 |
---|---|---|
committer | Sandrine Bailleux <sandrine.bailleux@arm.com> | 2014-06-05 17:39:40 +0100 |
commit | 38315436a8cc2298a4d1701e19160972c8986e72 (patch) | |
tree | e647bd360c24e793d8c7f157ad95a21d40d9dd4c /plat/juno | |
parent | aa52c7010fe2b208988eb3b69a9b3f480027a888 (diff) |
juno: Pass primary CPU MPID to UEFI
Change-Id: I734bf8a268d45a748dc2d1671656385212cdd465
Diffstat (limited to 'plat/juno')
-rw-r--r-- | plat/juno/bl2_plat_setup.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plat/juno/bl2_plat_setup.c b/plat/juno/bl2_plat_setup.c index 35683e8..1e12b08 100644 --- a/plat/juno/bl2_plat_setup.c +++ b/plat/juno/bl2_plat_setup.c @@ -131,10 +131,12 @@ bl31_params_t *bl2_plat_get_bl31_params(void) } /* 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; SET_PARAM_HEAD(bl2_to_bl31_params->bl33_ep_info, 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; SET_PARAM_HEAD(bl2_to_bl31_params->bl33_image_info, PARAM_IMAGE_BINARY, VERSION_1, 0); |