aboutsummaryrefslogtreecommitdiff
path: root/hw/lpc-mbox.c
diff options
context:
space:
mode:
authorCyril Bur <cyril.bur@au1.ibm.com>2017-05-24 16:37:16 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-05-26 15:55:23 +1000
commitcc40ffb3a20f02ae968cebc9a0f0af8e8825bfb3 (patch)
tree6bb5e358d573d62d99fd3606f97c6eb903e69277 /hw/lpc-mbox.c
parentdaa269a6f12a12684e4735c18f99aacf78f6757b (diff)
downloadskiboot-cc40ffb3a20f02ae968cebc9a0f0af8e8825bfb3.zip
skiboot-cc40ffb3a20f02ae968cebc9a0f0af8e8825bfb3.tar.gz
skiboot-cc40ffb3a20f02ae968cebc9a0f0af8e8825bfb3.tar.bz2
libflash/mbox-flash: Minor fixups before V2
- Warn if flushing with closed write window. - Call msg_free_memory() in mbox_flash_init() before a successful return. No leak is present as the current allocation theme is from static memory. However as this is likely to change in the future, best to ensure that msg_free_memory() is called after every allocation. - Fix bug where len argument may be incorrect in mark dirty command. Signed-off-by: Cyril Bur <cyril.bur@au1.ibm.com> Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com> Reviewed-by: Andrew Jeffery <andrew@aj.id.au> Acked-by: Cyril Bur <cyri.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