Fixes an issue with erases on NOR flash with linux 3.2+. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>