[U-Boot] FSL eSPI driver is a mess, hack attached.

2014-07-23 Thread Eliot Dudley
We're bringing up a board that boots from SPI flash, so we had to re-work fsl_espi.c for to get it to work at all and for speed. Been working from 2009.11 because that's what came with a P1022DS box that Freescale so generously provided. There has been a tremendous amount divergence since 2009.11

Re: [U-Boot] FSL eSPI driver is a mess, hack attached.

2014-04-16 Thread mingkai...@freescale.com
Hi York, We were also considering to improve the eSPI driver and we will look into this. Thanks, Mingkai -Original Message- From: Sun York-R58495 Sent: Thursday, April 17, 2014 5:09 AM Cc: u-boot@lists.denx.de; Hu Mingkai-B21284 Subject: Re: [U-Boot] FSL eSPI driver is a mess, hack

Re: [U-Boot] FSL eSPI driver is a mess, hack attached.

2014-04-16 Thread York Sun
Mingkai, Please take a look at this patch and see if you can verify and polish it. York On 03/14/2014 02:46 AM, Joakim Tjernlund wrote: > The fsl_espi.c is wreck w.r.t large TX data. > Below is what I had to hack to load a FPGA over SPI and > what is the malloc hack good for? This does not work

Re: [U-Boot] FSL eSPI driver is a mess, hack attached.

2014-03-17 Thread Michael Walle
Am 2014-03-15 12:33, schrieb Joakim Tjernlund: Have you tried the kernel driver for eSPI? I haven't gotten there yet but I pray it is better. yeah kernel driver is better. -michael ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/ma

Re: [U-Boot] FSL eSPI driver is a mess, hack attached.

2014-03-15 Thread Joakim Tjernlund
Michael Walle wrote on 2014/03/14 22:45:20: > > Am Freitag, 14. März 2014, 10:46:26 schrieb Joakim Tjernlund: > > The fsl_espi.c is wreck w.r.t large TX data. > > Below is what I had to hack to load a FPGA over SPI and > > what is the malloc hack good for? This does not work > > well for TXing se

Re: [U-Boot] FSL eSPI driver is a mess, hack attached.

2014-03-14 Thread Michael Walle
Am Freitag, 14. März 2014, 10:46:26 schrieb Joakim Tjernlund: > The fsl_espi.c is wreck w.r.t large TX data. > Below is what I had to hack to load a FPGA over SPI and > what is the malloc hack good for? This does not work > well for TXing several MB data. > > The driver needs to be rewritten and I

[U-Boot] FSL eSPI driver is a mess, hack attached.

2014-03-14 Thread Joakim Tjernlund
The fsl_espi.c is wreck w.r.t large TX data. Below is what I had to hack to load a FPGA over SPI and what is the malloc hack good for? This does not work well for TXing several MB data. The driver needs to be rewritten and I do not have the time so I post what I got in the hope it can help someone