summaryrefslogtreecommitdiff
path: root/drivers/qe/uec.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2015-08-15 09:33:41 +0200
committerHans de Goede <hdegoede@redhat.com>2015-08-31 08:43:41 +0200
commit10d069b79734942226223178a9e18b26da60002f (patch)
tree151d9f3fe19594b28b252ee9623eacc933564b2f /drivers/qe/uec.h
parent21d4d37aaf06acc6d274751b9f54492696606a50 (diff)
downloadu-boot-imx-10d069b79734942226223178a9e18b26da60002f.zip
u-boot-imx-10d069b79734942226223178a9e18b26da60002f.tar.gz
u-boot-imx-10d069b79734942226223178a9e18b26da60002f.tar.bz2
sunxi_nand_spl: Drop unnecessary temp buf
nand_spl_load_image() always gets called with either CONFIG_SYS_TEXT_BASE or spl_image.load_addr as destination, both of which are properly aligened, and have plenty of space for "overshooting" up to CONFIG_NAND_SUNXI_SPL_ECC_PAGE_SIZE bytes, as we read in CONFIG_NAND_SUNXI_SPL_ECC_PAGE_SIZE bytes chunks. This saves CONFIG_NAND_SUNXI_SPL_ECC_PAGE_SIZE (typically 1k) in SPL size, which is a lot on the total 24k we have. Note this changes the dma destination from SRAM to DRAM, so this patch updates the DDMA_DST_TYPE bits in the dma controller cfg0 reg accordingly. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'drivers/qe/uec.h')
0 files changed, 0 insertions, 0 deletions