Searched hist:e278ddcd7fb6550b58030988467ef4b48d51bed8 (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/mtd/spi/ |
| H A D | fsl_espi_spl.c | e278ddcd7fb6550b58030988467ef4b48d51bed8 Tue Apr 08 13:43:11 UTC 2014 Prabhakar Kushwaha <prabhakar@freescale.com> driver/mtd/spi:Read 8KB data chunk during u-boot load in SPL
SPI driver perform its operation(read/write) on 64KB buffer chunk for data greater than 64KB. This buffer chunk is allocated from system heap.
During SPL boot, 768KB of data is read from SPI flash. Here, heap size may not be sufficient enough to full-fill 64KB buffer requirement of SPI driver. So break down u-boot read operation at 8KB of chunk.
Also, fix a warning i.e. "unused variable buf" during CONFIG_FSL_CORENET
Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
|