[MTD] cfi_cmdset_0001: Fix the buggy status check. 

The change makes the code endianess aware and replaces the bogus 
nested loop to or the status flags together.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
1 file changed