refactor(corstone700): namespace MHU driver filenames
There are plans to contribute a generic MHU driver to the TF-A code base in the short term. In preparation for this, rename the Corstone-700 MHU driver source files and prefix them with the name of the platform to avoid any ambiguity or name clashes with the upcoming generic MHU driver. Also rename the header guard accordingly. This renaming is inline with other platform-specific MHU drivers, such as the ones used on Broadcom [1], Socionext [2] or Amlogic [3] platforms. [1] plat/brcm/common/brcm_mhu.h [2] plat/socionext/synquacer/drivers/mhu/sq_mhu.h [3] plat/amlogic/common/aml_mhu.c Change-Id: I8a5e5b16e7c19bf931a90422dfca8f6a2a0663b4 Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>
This commit is contained in:
parent
f78cb61a11
commit
510dc79c85
|
@ -1,12 +1,12 @@
|
|||
/*
|
||||
* Copyright (c) 2019-2020, Arm Limited and Contributors. All rights reserved.
|
||||
* Copyright (c) 2019-2022, Arm Limited and Contributors. All rights reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include <common/bl_common.h>
|
||||
|
||||
#include <mhu.h>
|
||||
#include <corstone700_mhu.h>
|
||||
#include <plat/arm/common/plat_arm.h>
|
||||
#include <plat/common/platform.h>
|
||||
#include <platform_def.h>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2019-2020, ARM Limited. All rights reserved.
|
||||
* Copyright (c) 2019-2022, Arm Limited. All rights reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
@ -12,7 +12,7 @@
|
|||
#include <lib/bakery_lock.h>
|
||||
#include <lib/mmio.h>
|
||||
|
||||
#include "mhu.h"
|
||||
#include "corstone700_mhu.h"
|
||||
#include <plat_arm.h>
|
||||
#include <platform_def.h>
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
/*
|
||||
* Copyright (c) 2019-2020, ARM Limited. All rights reserved.
|
||||
* Copyright (c) 2019-2022, Arm Limited. All rights reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#ifndef MHU_H
|
||||
#define MHU_H
|
||||
#ifndef CORSTONE700_MHU_H
|
||||
#define CORSTONE700_MHU_H
|
||||
|
||||
#define MHU_POLL_INTR_STAT_TIMEOUT 50000 /*timeout value in us*/
|
||||
|
||||
|
@ -34,4 +34,4 @@ void mhu_secure_message_send(uintptr_t address,
|
|||
void mhu_secure_message_end(uintptr_t address, unsigned int slot_id);
|
||||
void mhu_secure_init(void);
|
||||
|
||||
#endif /* MHU_H */
|
||||
#endif /* CORSTONE700_MHU_H */
|
|
@ -1,5 +1,5 @@
|
|||
#
|
||||
# Copyright (c) 2019-2020, Arm Limited and Contributors. All rights reserved.
|
||||
# Copyright (c) 2019-2022, Arm Limited and Contributors. All rights reserved.
|
||||
#
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
#
|
||||
|
@ -17,7 +17,7 @@ BL32_SOURCES += plat/arm/common/aarch32/arm_helpers.S \
|
|||
lib/xlat_tables/aarch32/xlat_tables.c \
|
||||
lib/xlat_tables/xlat_tables_common.c \
|
||||
${CORSTONE700_CPU_LIBS} \
|
||||
plat/arm/board/corstone700/common/drivers/mhu/mhu.c
|
||||
plat/arm/board/corstone700/common/drivers/mhu/corstone700_mhu.c
|
||||
|
||||
PLAT_INCLUDES := -Iplat/arm/board/corstone700/common/include \
|
||||
-Iinclude/plat/arm/common \
|
||||
|
|
Loading…
Reference in New Issue