mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 09:34:18 +00:00
refactor(qemu-sbsa): rename function sip_svc_init() to something more meaningful
There is no relation between the name of function sip_svc_init() and what it does. As such rename it to something more appropriate and move it to a header that make sense. No change in functionality. Change-Id: I7bd78b1fe70e2930c395ef0a097bfad3b1e55d3a Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
This commit is contained in:
parent
b386c6e61d
commit
6d59413b84
4 changed files with 7 additions and 5 deletions
|
@ -14,6 +14,9 @@
|
|||
#if ENABLE_RME
|
||||
#include <qemu_pas_def.h>
|
||||
#endif
|
||||
#ifdef PLAT_qemu_sbsa
|
||||
#include <sbsa_platform.h>
|
||||
#endif
|
||||
|
||||
#include "qemu_private.h"
|
||||
|
||||
|
@ -66,7 +69,7 @@ void bl31_early_platform_setup2(u_register_t arg0, u_register_t arg1,
|
|||
|
||||
/* Platform names have to be lowercase. */
|
||||
#ifdef PLAT_qemu_sbsa
|
||||
sip_svc_init();
|
||||
sbsa_platform_init();
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
|
|
@ -18,9 +18,6 @@ unsigned int plat_qemu_calc_core_pos(u_register_t mpidr);
|
|||
const mmap_region_t *plat_qemu_get_mmap(void);
|
||||
|
||||
void qemu_console_init(void);
|
||||
#ifdef PLAT_qemu_sbsa
|
||||
void sip_svc_init(void);
|
||||
#endif
|
||||
|
||||
void plat_qemu_gic_init(void);
|
||||
void qemu_pwr_gic_on_finish(void);
|
||||
|
|
|
@ -43,4 +43,6 @@ struct qemu_platform_info {
|
|||
struct platform_memory_data memory[PLAT_MAX_MEM_NODES];
|
||||
};
|
||||
|
||||
void sbsa_platform_init(void);
|
||||
|
||||
#endif /* SBSA_PLATFORM_H */
|
||||
|
|
|
@ -297,7 +297,7 @@ void read_platform_version(void *dtb)
|
|||
}
|
||||
}
|
||||
|
||||
void sip_svc_init(void)
|
||||
void sbsa_platform_init(void)
|
||||
{
|
||||
/* Read DeviceTree data before MMU is enabled */
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue