diff options
author | Stefan Roese <sr@denx.de> | 2014-09-05 09:57:01 +0200 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2014-09-25 13:43:00 -0500 |
commit | be16aba5ce8d04b8ca0ebd5ac95d878064e44bd8 (patch) | |
tree | 4a663dff5b74a59d3c900d9d4bc5560004962bcb /MAKEALL | |
parent | 2f665945b39a9972260cbcf60d5e7f2a60587f5e (diff) | |
download | u-boot-imx-be16aba5ce8d04b8ca0ebd5ac95d878064e44bd8.zip u-boot-imx-be16aba5ce8d04b8ca0ebd5ac95d878064e44bd8.tar.gz u-boot-imx-be16aba5ce8d04b8ca0ebd5ac95d878064e44bd8.tar.bz2 |
mtd: nand: Fix length bug in ioread16_rep() and iowrite16_rep()
The ioread16_rep() and iowrite16_rep() implementations are U-Boot specific
and have been introduced with the Linux MTD v3.14 sync. While introducing
these functions, the length for the loop has been miscalculated. The ">> 1"
is already present in the caller. So lets remove it in the function.
Tested on omap3_ha.
Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Heiko Schocher <hs@denx.de>
Cc: Tom Rini <trini@ti.com>
Cc: Scott Wood <scottwood@freescale.com>
Acked-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'MAKEALL')
0 files changed, 0 insertions, 0 deletions