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 <petro.karashchenko@gmail.com>
This commit is contained in:
parent
3cb168b177
commit
70fd6f1642
@ -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:
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user