[U-Boot] [PATCH] imx: mx7dsabresd: Add QSPI support

Jagan Teki jteki at openedev.com
Fri Dec 4 09:48:30 CET 2015


On 4 December 2015 at 10:00, Jagan Teki <jteki at openedev.com> wrote:
> On 4 December 2015 at 06:41, Peng Fan <b51431 at freescale.com> wrote:
>> Hi Jagan,
>> On Thu, Dec 03, 2015 at 05:21:09PM +0530, Jagan Teki wrote:
>>>On 30 November 2015 at 15:31, Stefano Babic <sbabic at denx.de> wrote:
>>>> On 30/11/2015 10:45, Peng Fan wrote:
>>>>> Support qspi flashes for mx7dsabresd
>>>>> 1. introduce pin mux settings
>>>>> 2. enable qspi clock
>>>>> 3. introduce related macro definitions
>>>>>
>>>>> Default QSPI is not enabled, since we need hardware rework to use QSPI,
>>>>> see SPF-28590, page 9:
>>>>> "
>>>>> QSPI signals are muxed with EPDC_D[7:0]
>>>>> When using QSPI: de-populate R388-R391, R396-R399
>>>>> populate R392-R395, R299, R300
>>>>> "
>>>>>
>>>>> After hardware rework, define CONFIG_FSL_QSPI in mx7dsabresd.h. qspi
>>>>> flashes can be deteced and read/erase/write. Log info:
>>>>> "
>>>>> => sf probe
>>>>> SF: Detected MX25L51235F with page size 256 Bytes, erase size 64 KiB, total 64 MiB
>>>>> => sf read 0x80000000 0 0x4000000
>>>>> device 0 whole chip
>>>>> SF: 67108864 bytes @ 0x0 Read: OK
>>>>> => sf erase 0 0x4000000
>>>>> SF: 67108864 bytes @ 0x0 Erased: OK
>>>>> => sf write 0x80000000 0 0x4000000
>>>>> device 0 whole chip
>>>>> SF: 67108864 bytes @ 0x0 Written: OK
>>>>> "
>>>>>
>>>>> Signed-off-by: Peng Fan <Peng.Fan at freescale.com>
>>>>> Cc: Stefano Babic <sbabic at denx.de>
>>>>> Cc: Fabio Estevam <fabio.estevam at freescale.com>
>>>>> Cc: Adrian Alonso <aalonso at freescale.com>
>>>>
>>>> Reviewed-by: Stefano Babic <sbabic at denx.de>
>
> Reviewed-by: Jagan Teki <jteki at openedev.com>

Applied to u-boot-spi/master

thanks!
-- 
Jagan.


More information about the U-Boot mailing list