From 121c00036df53d4c507280fbf53432ae6269615c Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 21 Jul 2014 17:46:35 -0600 Subject: [PATCH] SAMA5D4 XDMAC: Never sets a channel as secure. Will probably have to revisit this --- arch/arm/src/sama5/sam_xdmac.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/src/sama5/sam_xdmac.c b/arch/arm/src/sama5/sam_xdmac.c index 1f1da87e531..c59e7bdb9f4 100644 --- a/arch/arm/src/sama5/sam_xdmac.c +++ b/arch/arm/src/sama5/sam_xdmac.c @@ -1067,9 +1067,11 @@ static inline uint32_t sam_txcc(struct sam_xdmach_s *xdmach) regval |= XDMACH_CC_DSYNC; +#if 0 /* REVISIT */ /* 5. Set PROT to activate a secure channel (REVISIT). */ regval |= XDMACH_CC_PROT; /* Channel is unsecured */ +#endif /* 6. Program CSIZE to configure the channel chunk size (only * relevant for peripheral synchronized transfer). @@ -1223,9 +1225,11 @@ static inline uint32_t sam_rxcc(struct sam_xdmach_s *xdmach) * RX -> Peripheral to memory (DSYNC == 0) */ +#if 0 /* REVISIT */ /* 5. Set PROT to activate a secure channel (REVISIT) */ regval |= XDMACH_CC_PROT; /* Channel is unsecured */ +#endif /* 6. Program CSIZE to configure the channel chunk size (only * relevant for peripheral synchronized transfer).