Skip to content

Commit 03c1e47

Browse files
committed
[Review OP-TEE#2] Multiple fixes
Remove empty line in imx8m.h Remove extra space in sub.mk Replace "%x" with "%" PRIx32. Signed-off-by: Clement Faure <clement.faure@nxp.com>
1 parent 72397e8 commit 03c1e47

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

core/arch/arm/plat-imx/drivers/tzc380.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ void imx_configure_tzasc(void)
4141
region = tzc_auto_configure(CFG_SHMEM_START, CFG_SHMEM_SIZE,
4242
TZC_ATTR_SP_ALL, region);
4343

44-
DMSG("Action register: %xl", tzc_get_action());
44+
DMSG("Action register: 0x%" PRIx32, tzc_get_action());
4545
}
4646

4747
#elif (defined(PLATFORM_FLAVOR_mx6qsabresd) \
@@ -71,7 +71,7 @@ void imx_configure_tzasc(void)
7171
region = tzc_auto_configure(CFG_SHMEM_START, CFG_SHMEM_SIZE,
7272
TZC_ATTR_SP_ALL, region);
7373

74-
DMSG("Action register: %xl", tzc_get_action());
74+
DMSG("Action register: 0x%" PRIx32, tzc_get_action());
7575
}
7676
}
7777
#elif (defined(PLATFORM_FLAVOR_imx8mqevk) \
@@ -98,7 +98,7 @@ void imx_configure_tzasc(void)
9898
region = tzc_auto_configure(CFG_SHMEM_START - CFG_DRAM_BASE,
9999
CFG_SHMEM_SIZE, TZC_ATTR_SP_ALL, region);
100100

101-
DMSG("Action register: %xl", tzc_get_action());
101+
DMSG("Action register: 0x%" PRIx32, tzc_get_action());
102102
}
103103
#else
104104
#error "No TZASC configuration defined"

core/arch/arm/plat-imx/registers/imx8m.h

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/* SPDX-License-Identifier: BSD-2-Clause */
22
/*
33
* Copyright 2017-2019 NXP
4-
*
54
*/
65

76
#ifndef __IMX8M_H__

core/arch/arm/plat-imx/sub.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
global-incdirs-y += .
22
srcs-y += main.c
33

4-
srcs-$(CFG_MX6)$(CFG_MX7) += imx_src.c mmdc.c imx-common.c
4+
srcs-$(CFG_MX6)$(CFG_MX7) += imx_src.c mmdc.c imx-common.c
55

66
srcs-$(CFG_PL310) += imx_pl310.c
77
ifeq ($(CFG_PSCI_ARM32),y)

0 commit comments

Comments
 (0)