]> git.baikalelectronics.ru Git - uboot.git/commit
spi: fsl_qspi: Add support for i.MX7ULP
authorYe Li <ye.li@nxp.com>
Tue, 9 Jun 2020 07:59:05 +0000 (00:59 -0700)
committerStefano Babic <sbabic@denx.de>
Thu, 16 Jul 2020 09:19:36 +0000 (11:19 +0200)
commitc72b2d4051a095a685a8a7d1c4854e618ebf9313
tree9155264afff1977e444863169ee7049ff80e3258
parent8df3f928fefe257a7ee08deea07b4b17fc9c8ca5
spi: fsl_qspi: Add support for i.MX7ULP

Add compatible string and driver data for i.MX7ULP.
Meanwhile, the address set to SFA1AD/SFA2AD/SFB1AD/SFB2AD should
align with 1KB, because the lowest 10 bits are reserved by the
registers definition.
For i.MX7ULP which has only 128Bytes AHB buffer, must align it
when setting the registers and selecting cs.

Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Ashish Kumar <Ashish.Kumar@nxp.com>
Reviewed-by: Kuldeep Singh <kuldeep.singh@nxp.com>
drivers/spi/fsl_qspi.c