Hello Stefan,

Am 05.09.2014 09:57, schrieb Stefan Roese:
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<s...@denx.de>
Cc: Heiko Schocher<h...@denx.de>
Cc: Tom Rini<tr...@ti.com>
Cc: Scott Wood<scottw...@freescale.com>
---
  drivers/mtd/nand/nand_base.c | 4 +---
  1 file changed, 1 insertion(+), 3 deletions(-)

Good catch, thanks!

Acked-by: Heiko Schocher <h...@denx.de>

bye,
Heiko
--
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to