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
3c065eb1
Unverified
Commit
3c065eb1
authored
Aug 28, 2018
by
Dimitris Papastamos
Committed by
GitHub
Aug 28, 2018
Browse files
Merge pull request #1531 from MISL-EBU-System-SW/marvell-plat-updates
plat: marvell: bl31: Update the early platform setup API
parents
6d4f6aea
bbaa712e
Changes
2
Hide whitespace changes
Inline
Side-by-side
include/plat/marvell/a8k/common/plat_marvell.h
View file @
3c065eb1
...
...
@@ -67,8 +67,10 @@ uint32_t marvell_get_spsr_for_bl32_entry(void);
uint32_t
marvell_get_spsr_for_bl33_entry
(
void
);
/* BL31 utility functions */
void
marvell_bl31_early_platform_setup
(
bl31_params_t
*
from_bl2
,
void
*
plat_params_from_bl2
);
void
marvell_bl31_early_platform_setup
(
struct
bl31_params
*
from_bl2
,
uintptr_t
soc_fw_config
,
uintptr_t
hw_config
,
void
*
plat_params_from_bl2
);
void
marvell_bl31_platform_setup
(
void
);
void
marvell_bl31_plat_runtime_setup
(
void
);
void
marvell_bl31_plat_arch_setup
(
void
);
...
...
plat/marvell/common/marvell_bl31_setup.c
View file @
3c065eb1
...
...
@@ -35,7 +35,7 @@ static entry_point_info_t bl32_image_ep_info;
static
entry_point_info_t
bl33_image_ep_info
;
/* Weak definitions may be overridden in specific ARM standard platform */
#pragma weak bl31_early_platform_setup
#pragma weak bl31_early_platform_setup
2
#pragma weak bl31_platform_setup
#pragma weak bl31_plat_arch_setup
#pragma weak bl31_plat_get_next_image_ep_info
...
...
@@ -69,7 +69,9 @@ entry_point_info_t *bl31_plat_get_next_image_ep_info(uint32_t type)
*****************************************************************************
*/
void
marvell_bl31_early_platform_setup
(
bl31_params_t
*
from_bl2
,
void
*
plat_params_from_bl2
)
uintptr_t
soc_fw_config
,
uintptr_t
hw_config
,
void
*
plat_params_from_bl2
)
{
/* Initialize the console to provide early debug support */
console_init
(
PLAT_MARVELL_BOOT_UART_BASE
,
...
...
@@ -130,10 +132,12 @@ void marvell_bl31_early_platform_setup(bl31_params_t *from_bl2,
#endif
}
void
bl31_early_platform_setup
(
bl31_params_t
*
from_bl2
,
void
*
plat_params_from_bl2
)
void
bl31_early_platform_setup2
(
u_register_t
arg0
,
u_register_t
arg1
,
u_register_t
arg2
,
u_register_t
arg3
)
{
marvell_bl31_early_platform_setup
(
from_bl2
,
plat_params_from_bl2
);
marvell_bl31_early_platform_setup
((
void
*
)
arg0
,
arg1
,
arg2
,
(
void
*
)
arg3
);
#ifdef USE_CCI
/*
...
...
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