memory: atmel-ebi: move NUM_CS definition inside EBI driver
authorTudor Ambarus <tudor.ambarus@microchip.com>
Fri, 6 Sep 2019 15:06:41 +0000 (15:06 +0000)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 7 Nov 2019 21:33:09 +0000 (22:33 +0100)
commitdbbf98392af6e2cf3673908c1388ca1ae915c8bb
tree5d76a616be4fa27bfef0ac43f07b91fbd6df1707
parent02c1c37f66b15cf54cabf71b1e51b0658996c10f
memory: atmel-ebi: move NUM_CS definition inside EBI driver

The total number of EBI CS lines is described by the EBI controller
and not by the Matrix. Move the definition for the number of CS
inside EBI driver.

Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Link: https://lore.kernel.org/r/20190906150632.19039-1-tudor.ambarus@microchip.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/memory/atmel-ebi.c
include/linux/mfd/syscon/atmel-matrix.h