commit | c9a6d6f950586fafbe36ababfdcfac7276313bf3 | [log] [tgz] |
---|---|---|
author | Tim Harvey <tharvey@gateworks.com> | Thu May 14 11:48:04 2015 -0700 |
committer | Stefano Babic <sbabic@denx.de> | Tue May 19 15:00:56 2015 +0200 |
tree | 8c86bb0b781fbe3ea73d09889904d7fb01217a2f | |
parent | 7453e663c6f6280fc582cb55fbed165815377f78 [diff] |
env_nand: use nand_spl_load_image for readenv if SPL The readenv() implementation of env_nand uses the mtd layer which is unnecessary overhead in SPL when we already have a nand_spl_load_image() function that doesn't need it. Using this instead eliminates the need to provide a mtd_read for SPL env as well as reduces code (4KB savings in IMX6 SPL). Signed-off-by: Tim Harvey <tharvey@gateworks.com> Acked-by: Scott Wood <scottwood@freescale.com>