Files
u-boot-tk1-som/drivers
Peng Fan a235878387 spi:fsl-quadspi support bank register read write
To support bigger than 16MB size qspi flashes, spi framework uses bank
switch to access higher bank or lower bank.

In this patch, QSPI_CMD_BRRD, QSPI_CMD_BRWR, QSPI_CMD_WREAR, QSPI_CMD_RDEAR
is initialized in LUT register with related pad and length configuration.
qspi_op_pp is originally for page programming, this patch reuses this function
for bank register switch and renamed it with qspi_op_write.

Since bank or EAR register is only 1 byte length, however original qspi_op_pp
or now renamed qspi_op_write only support 4 bytes lenght as the access unit,
this will trigger data abort exception when access EAR or bank register.
This is because upper framework passes a 1 bytes pointer to qspi_op_write,
however qspi_op_write treat it as an int pointer. This patch fixes this for
accessing EAR or bank register.

Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Reviewed-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
2015-01-07 12:25:05 +05:30
..
2014-09-24 18:30:29 -04:00
2014-09-24 18:30:28 -04:00
2014-10-25 07:27:37 -04:00
2014-12-12 21:09:01 +02:00
2014-12-18 13:19:20 -07:00
2014-12-18 13:19:20 -07:00
2015-01-05 12:08:55 -05:00
2014-09-24 18:30:28 -04:00
2014-12-31 19:10:13 +01:00
2015-01-05 12:08:52 -05:00
2014-09-24 18:30:28 -04:00
2014-09-24 18:30:28 -04:00