Abort after N retries, propagate error throughout driver layers
ramtron: give errors for IO operations immediately

waiting for write completion and checking the status register on read
will improve the chance that we catch IO errors immediately rather
than on the next IO. This improves the chance that callers will be
able to take reasonable action on IO errors.

We have one example board that does give intermittent IO errors, and
this change helps for that board
ramtron: the driver has been tested now