Skip to content
Snippets Groups Projects
Commit be16aba5 authored by Stefan Roese's avatar Stefan Roese Committed by Scott Wood
Browse files

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: default avatarStefan Roese <sr@denx.de>
Cc: Heiko Schocher <hs@denx.de>
Cc: Tom Rini <trini@ti.com>
Cc: Scott Wood <scottwood@freescale.com>
Acked-by: default avatarHeiko Schocher <hs@denx.de>
parent 2f665945
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment