commit | b3b6e2225e96e630ae05812900c2800828ce6496 | [log] [tgz] |
---|---|---|
author | Sandrine Bailleux <sandrine.bailleux@arm.com> | Wed Jul 11 12:44:22 2018 +0200 |
committer | Sandrine Bailleux <sandrine.bailleux@arm.com> | Wed Jul 11 17:33:29 2018 +0200 |
tree | f8804deddc50821d9b4dad6223d7c54f27507d0d | |
parent | 4f95a49f493a2023db4445b13a57ddfba29fd47f [diff] [blame] |
Fix some violations to MISRA rule 8.3 Wherever we use 'struct foo' and 'foo_t' interchangeably in a function's declaration and definition, use 'struct foo' consistently for both, as per the TF-A coding guidelines [1]. [1] https://github.com/ARM-software/arm-trusted-firmware/wiki/ARM-Trusted-Firmware-Coding-Guidelines#avoid-anonymous-typedefs-of-structsenums-in-header-files Change-Id: I7998eb24a26746e87e9b6425529926406745b721 Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>
diff --git a/plat/arm/common/arm_bl2_setup.c b/plat/arm/common/arm_bl2_setup.c index 3aa99f8..33c2fe8 100644 --- a/plat/arm/common/arm_bl2_setup.c +++ b/plat/arm/common/arm_bl2_setup.c
@@ -172,7 +172,8 @@ * in x0. This memory layout is sitting at the base of the free trusted SRAM. * Copy it to a safe location before its reclaimed by later BL2 functionality. ******************************************************************************/ -void arm_bl2_early_platform_setup(uintptr_t tb_fw_config, meminfo_t *mem_layout) +void arm_bl2_early_platform_setup(uintptr_t tb_fw_config, + struct meminfo *mem_layout) { /* Initialize the console to provide early debug support */ arm_console_boot_init();