diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2016-03-01 10:36:39 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-03-04 08:28:34 +0100 |
commit | 97407dad8015f5900d83d185a05aa2f478d867ab (patch) | |
tree | 2dd64f476491348045d1ed67409841f98a35b304 /common/module.c | |
parent | b14ed856c37d81b48edbec3720c510b86f5d556c (diff) | |
download | barebox-97407dad8015f5900d83d185a05aa2f478d867ab.tar.gz barebox-97407dad8015f5900d83d185a05aa2f478d867ab.tar.xz |
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>
Diffstat (limited to 'common/module.c')
0 files changed, 0 insertions, 0 deletions