norflash: Add full status check
The nor_XXXXX functions may fail due to different reasons, and it
is convenient to do a full check to detect any failure. It is also
a good idea to have a specific function to do a full status check,
because new checks can be added to this function and they will be
incorporated automatically to any function calling it.

Change-Id: I54fed913e37ef574c1608e94139a519426348d12
Signed-off-by: Roberto Vargas <roberto.vargas@arm.com>
1 parent 784502a commit 3bbe34e5efb927494e18b75d3c20e8e914d2a1ca
@Roberto Vargas Roberto Vargas authored on 28 Jul 2017
Showing 1 changed file
View
plat/arm/board/common/drivers/norflash/norflash.c