memory: atmel-ebi: Properly handle multiple reference to the same CS
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Fri, 27 Jan 2017 09:10:37 +0000 (10:10 +0100)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Fri, 27 Jan 2017 09:15:56 +0000 (10:15 +0100)
commit987e079ecab7298cf5d5b43473d25bc31006e0e0
tree64f9827c0605f6393dcca0cf38b7fd3e2e25e66b
parent427456e4772caf155c20604a60265dbc5a126267
memory: atmel-ebi: Properly handle multiple reference to the same CS

Some devices are defining several sub-ranges within the same CS iomem
range. In this case, we should not duplicate the EBI device config.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/memory/atmel-ebi.c