summaryrefslogtreecommitdiff
path: root/drivers/arm/ccn/ccn.c
diff options
context:
space:
mode:
authorRoberto Vargas <roberto.vargas@arm.com>2017-07-26 15:17:24 +0100
committerRoberto Vargas <roberto.vargas@arm.com>2017-08-22 09:41:59 +0100
commitb4b09ca5676fed17ead90f3b0ff3b08b9176f85f (patch)
tree3eecf111c3ac46dac65dbc115cfa5eb471714245 /drivers/arm/ccn/ccn.c
parent9753cb5b51794dac43fc9c4eb474207ebf369b59 (diff)
norflash: Clear status register before sending commands
The status register bits remain until explicitly cleared, which means that a command can be incorrectly considered to have generated an error - for example, after reset the status register contents may be unknown or if a previous command had failed. This patch clears the status register before beginning any command to be sure that the status register only represents information about the current operation. Change-Id: I9e98110ee24179937215461c00b6543a3467b350 Signed-off-by: Roberto Vargas <roberto.vargas@arm.com>
Diffstat (limited to 'drivers/arm/ccn/ccn.c')
0 files changed, 0 insertions, 0 deletions