summaryrefslogtreecommitdiff
path: root/drivers/dfu
diff options
context:
space:
mode:
authorPrabhakar Kushwaha <prabhakar@freescale.com>2014-04-08 19:13:11 +0530
committerYork Sun <yorksun@freescale.com>2014-04-22 17:58:50 -0700
commite278ddcd7fb6550b58030988467ef4b48d51bed8 (patch)
treefb1478a74a79ff9faef011b1419a8281f8fe6632 /drivers/dfu
parent5abed9c546be4a96db1443cd3abd5f82dfbe5903 (diff)
downloadu-boot-imx-e278ddcd7fb6550b58030988467ef4b48d51bed8.zip
u-boot-imx-e278ddcd7fb6550b58030988467ef4b48d51bed8.tar.gz
u-boot-imx-e278ddcd7fb6550b58030988467ef4b48d51bed8.tar.bz2
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 'drivers/dfu')
0 files changed, 0 insertions, 0 deletions