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

nand: Fix access to last block in NAND devices


Currently, the last block of NAND devices can't be accessed. This patch
fixes this issue by correcting the boundary checking (off-by-one error).

Signed-off-by: default avatarStefan Roese <sr@denx.de>
Cc: Scott Wood <scottwood@freescale.com>
Cc: Wolfgang Denk <wd@denx.de>
parent 3b887ca8
No related branches found
No related tags found
No related merge requests found
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