From 70fd6f1642c4bf6ac99631177669a7291cf7cc1b Mon Sep 17 00:00:00 2001 From: Petro Karashchenko Date: Mon, 22 May 2023 14:52:53 +0300 Subject: [PATCH] arch/arm/samv7: remove alignment check that is not needed SAMv7 QSPI peripheral does not copy-in/out directly into/from user provided buffer, but use a dedicated memory that is interfaces using byte copy. The QSPI command buffer can point to memory with any alignment Signed-off-by: Petro Karashchenko --- arch/arm/src/samv7/sam_qspi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/src/samv7/sam_qspi.c b/arch/arm/src/samv7/sam_qspi.c index 0c196842f4..1c943340bd 100644 --- a/arch/arm/src/samv7/sam_qspi.c +++ b/arch/arm/src/samv7/sam_qspi.c @@ -1398,7 +1398,6 @@ static int qspi_command(struct qspi_dev_s *dev, if (QSPICMD_ISDATA(cmdinfo->flags)) { DEBUGASSERT(cmdinfo->buffer != NULL && cmdinfo->buflen > 0); - DEBUGASSERT(IS_ALIGNED(cmdinfo->buffer)); /* Write Instruction Frame Register: *