spi: imx: Define register bits in the driver
authorMarek Vasut <marex@denx.de>
Mon, 18 Jan 2021 23:58:32 +0000 (00:58 +0100)
committerStefano Babic <sbabic@denx.de>
Sat, 23 Jan 2021 12:40:29 +0000 (13:40 +0100)
commit6cd4f48b64d4b9a4f737c2aa4e6550d2eb8c80a5
tree311f342403c287346df621777491de8e5923ee2c
parent85b1c11989ca7a7321889efefa58c125aa30ab34
spi: imx: Define register bits in the driver

The CSPI/ECSPI register bits do not differ between newer SoCs, instead
of having multiple copies of the same thing for each iMX SoC, define
the bits in the driver.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Jagan Teki <jagan@amarulasolutions.com>
Cc: Stefano Babic <sbabic@denx.de>
arch/arm/include/asm/arch-mx25/imx-regs.h
arch/arm/include/asm/arch-mx31/imx-regs.h
arch/arm/include/asm/arch-mx35/imx-regs.h
arch/arm/include/asm/arch-mx5/imx-regs.h
arch/arm/include/asm/arch-mx6/imx-regs.h
arch/arm/include/asm/arch-mx7/imx-regs.h
drivers/spi/mxc_spi.c