imx-bbu-nand-fcb: optimize check for bad block loop
The argument passed to dbbt_data_create() contains the number of blocks,
not the last block. This means we can exit the loop with '<' instead of
'<='

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent b14ed85 commit 97407dad8015f5900d83d185a05aa2f478d867ab
@Sascha Hauer Sascha Hauer authored on 1 Mar 2016
Showing 1 changed file
View
common/imx-bbu-nand-fcb.c