[U-Boot] [PATCH v2 1/6] armv8: fsl-layerscape: guard caam specific defines
Priyanka Jain
priyanka.jain at nxp.com
Mon Nov 11 08:56:24 UTC 2019
>-----Original Message-----
>From: Laurentiu Tudor <laurentiu.tudor at nxp.com>
>Sent: Friday, October 18, 2019 2:32 PM
>To: u-boot at lists.denx.de; Priyanka Jain <priyanka.jain at nxp.com>
>Cc: Horia Geanta <horia.geanta at nxp.com>; Laurentiu Tudor
><laurentiu.tudor at nxp.com>
>Subject: [PATCH v2 1/6] armv8: fsl-layerscape: guard caam specific defines
>
>From: Laurentiu Tudor <laurentiu.tudor at nxp.com>
>
>These macros should only be used when CONFIG_FSL_CAAM is present.
>
>Signed-off-by: Laurentiu Tudor <laurentiu.tudor at nxp.com>
>Reviewed-by: Horia Geant?? <horia.geanta at nxp.com>
>---
>Changes in v2:
> - added Reviewed-by tag
>
> arch/arm/cpu/armv8/fsl-layerscape/ls1028_ids.c | 2 ++
>arch/arm/cpu/armv8/fsl-layerscape/ls1088_ids.c | 2 ++
> 2 files changed, 4 insertions(+)
>
>diff --git a/arch/arm/cpu/armv8/fsl-layerscape/ls1028_ids.c
>b/arch/arm/cpu/armv8/fsl-layerscape/ls1028_ids.c
>index d9d125e8ba..9462298fbf 100644
>--- a/arch/arm/cpu/armv8/fsl-layerscape/ls1028_ids.c
>+++ b/arch/arm/cpu/armv8/fsl-layerscape/ls1028_ids.c
>@@ -18,6 +18,7 @@ struct icid_id_table icid_tbl[] = {
> SET_QDMA_ICID("fsl,ls1028a-qdma", FSL_DMA_STREAM_ID),
> SET_GPU_ICID("fsl,ls1028a-gpu", FSL_GPU_STREAM_ID),
> SET_DISPLAY_ICID(FSL_DISPLAY_STREAM_ID),
>+#ifdef CONFIG_FSL_CAAM
> SET_SEC_JR_ICID_ENTRY(0, FSL_SEC_JR1_STREAM_ID),
> SET_SEC_JR_ICID_ENTRY(1, FSL_SEC_JR2_STREAM_ID),
> SET_SEC_JR_ICID_ENTRY(2, FSL_SEC_JR3_STREAM_ID), @@ -28,6 +29,7
>@@ struct icid_id_table icid_tbl[] = {
> SET_SEC_RTIC_ICID_ENTRY(3, FSL_SEC_STREAM_ID),
> SET_SEC_DECO_ICID_ENTRY(0, FSL_SEC_STREAM_ID),
> SET_SEC_DECO_ICID_ENTRY(1, FSL_SEC_STREAM_ID),
>+#endif
> };
>
> int icid_tbl_sz = ARRAY_SIZE(icid_tbl); diff --git a/arch/arm/cpu/armv8/fsl-
>layerscape/ls1088_ids.c b/arch/arm/cpu/armv8/fsl-layerscape/ls1088_ids.c
>index 49e27553b1..23743ae10c 100644
>--- a/arch/arm/cpu/armv8/fsl-layerscape/ls1088_ids.c
>+++ b/arch/arm/cpu/armv8/fsl-layerscape/ls1088_ids.c
>@@ -13,6 +13,7 @@ struct icid_id_table icid_tbl[] = {
> SET_USB_ICID(1, "snps,dwc3", FSL_USB1_STREAM_ID),
> SET_USB_ICID(2, "snps,dwc3", FSL_USB2_STREAM_ID),
> SET_SATA_ICID(1, "fsl,ls1088a-ahci", FSL_SATA1_STREAM_ID),
>+#ifdef CONFIG_FSL_CAAM
> SET_SEC_JR_ICID_ENTRY(0, FSL_SEC_JR1_STREAM_ID),
> SET_SEC_JR_ICID_ENTRY(1, FSL_SEC_JR2_STREAM_ID),
> SET_SEC_JR_ICID_ENTRY(2, FSL_SEC_JR3_STREAM_ID), @@ -25,6 +26,7
>@@ struct icid_id_table icid_tbl[] = {
> SET_SEC_DECO_ICID_ENTRY(1, FSL_SEC_STREAM_ID),
> SET_SEC_DECO_ICID_ENTRY(2, FSL_SEC_STREAM_ID),
> SET_SEC_DECO_ICID_ENTRY(3, FSL_SEC_STREAM_ID),
>+#endif
> };
>
> int icid_tbl_sz = ARRAY_SIZE(icid_tbl);
>--
>2.17.1
Slight updates in subject and/or description of few patches done.
Series applied to fsl-qoriq master, awaiting upstream.
Thanks
priyankajain
More information about the U-Boot
mailing list