summaryrefslogtreecommitdiffstats
path: root/hw/lpc-mbox.c
diff options
context:
space:
mode:
authorCyril Bur <cyril.bur@au1.ibm.com>2017-12-05 12:01:04 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-12-14 23:58:38 -0600
commit3e6c3b03bb4cc5d088fc3da7293274adaabf6c5c (patch)
treedbce5c2b96fed576eae6000c5545bd6989b2f53f /hw/lpc-mbox.c
parent60f46277f4bcdb26d9114889a442ad96b6630f64 (diff)
downloadblackbird-skiboot-3e6c3b03bb4cc5d088fc3da7293274adaabf6c5c.tar.gz
blackbird-skiboot-3e6c3b03bb4cc5d088fc3da7293274adaabf6c5c.zip
libflash/mbox-flash: Always close windows before opening a new window
The MBOX protocol states that if an open window command fails then all open windows are closed. Currently, if an open window command fails mbox-flash will erroneously assume that the previously open window is still open. The solution to this is to mark all windows as closed before issuing an open window command and then on success we'll mark the new window as open. Signed-off-by: Cyril Bur <cyril.bur@au1.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/lpc-mbox.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud