summaryrefslogtreecommitdiffstats
path: root/drivers/mci/imx-esdhc-pbl.c
Commit message (Collapse)AuthorAgeFilesLines
* esdhc-xload: check for PRSSTAT_BREN only after each blockSascha Hauer2019-03-051-9/+16
| | | | | | | | | The BREN bit tells us a watermark level sized buffer is ready for read. Instead of testing it before each FIFO read we must only check it once and then read a watermark level sized buffer. This is at least necessary on Layerscape, otherwise timeouts occur while reading the buffer. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* esdhc-xload: Add bigendian supportSascha Hauer2019-03-051-3/+10
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* esdhc-xload: Use static inline io wrappersSascha Hauer2019-03-051-27/+33
| | | | | | | We'll need big endian support for Layerscape, so put the io accessors into static inline wrappers. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* esdhc-xload: move some register defines to header fileSascha Hauer2019-03-051-1/+0
| | | | | | To make them usable for the PBL driver aswell. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* esdhc-xload: Move to drivers/mciSascha Hauer2019-03-051-0/+387
The esdhc-xload code will be used by upcoming Layerscape support aswell, so move it from architecture code to drivers/mci/. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>