aboutsummaryrefslogtreecommitdiff
path: root/include/spi_flash.h
diff options
context:
space:
mode:
authorPrabhakar Kushwaha2014-04-08 19:13:11 +0530
committerYork Sun2014-04-22 17:58:50 -0700
commite278ddcd7fb6550b58030988467ef4b48d51bed8 (patch)
treefb1478a74a79ff9faef011b1419a8281f8fe6632 /include/spi_flash.h
parent5abed9c546be4a96db1443cd3abd5f82dfbe5903 (diff)
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>
Diffstat (limited to 'include/spi_flash.h')
0 files changed, 0 insertions, 0 deletions