diff options
author | Stephen Warren <swarren@nvidia.com> | 2014-07-01 12:16:57 -0600 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-08-09 11:17:01 -0400 |
commit | 67ab0a5e9f295662e6c1363a6cb71d4dd9d51524 (patch) | |
tree | f209ccbc29bf332398a75f06ce0d61b5b53d5bb2 /drivers/mtd/nand/nand.c | |
parent | 54ce79c8a5f05704a086582939af35f60af072e3 (diff) | |
download | u-boot-imx-67ab0a5e9f295662e6c1363a6cb71d4dd9d51524.zip u-boot-imx-67ab0a5e9f295662e6c1363a6cb71d4dd9d51524.tar.gz u-boot-imx-67ab0a5e9f295662e6c1363a6cb71d4dd9d51524.tar.bz2 |
dfu: fix readback buffer overflow test
The buffer is too small if it's < size to read, not if it's <= the size.
This fixes the 1MB test case on Tegra, which has a 1MB buffer.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'drivers/mtd/nand/nand.c')
0 files changed, 0 insertions, 0 deletions