Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.48 KB | None | 0 0
  1. commit cbaeaadbd72f9d2b7c64966b8b3517948fb81703
  2. Author: Cyril Bur <cyril.bur@au1.ibm.com>
  3. Date: Thu Mar 23 17:05:00 2017 +1100
  4.  
  5. !!!!!!!NAK!!!!!!
  6.  
  7. diff --git a/hw/lpc-mbox.c b/hw/lpc-mbox.c
  8. index 2bba66fd..a514779e 100644
  9. --- a/hw/lpc-mbox.c
  10. +++ b/hw/lpc-mbox.c
  11. @@ -185,6 +185,13 @@ static void mbox_poll(struct timer *t __unused, void *data __unused,
  12. if (action & MBOX_ATTN_BMC_FLASH_LOST)
  13. action &= ~MBOX_ATTN_BMC_FLASH_LOST;
  14.  
  15. + /*
  16. + * I object to this bit, its useless, don't do anything, just
  17. + * ignore it
  18. + */
  19. + if (action & MBOX_ATTN_BMC_DAEMON_READY)
  20. + action &= ~MBOX_ATTN_BMC_DEMON_READY
  21. +
  22. if (action)
  23. prlog(PR_ERR, "Got a status bit set that don't know about: 0x%02x\n",
  24. action);
  25. diff --git a/libflash/mbox-flash.c b/libflash/mbox-flash.c
  26. index 1b61a0c3..9888c183 100644
  27. --- a/libflash/mbox-flash.c
  28. +++ b/libflash/mbox-flash.c
  29. @@ -614,6 +614,13 @@ static void mbox_flash_attn(uint8_t attn, void *priv) {
  30. } else {
  31. mbox_flash->pause = false;
  32. }
  33. +
  34. + /*
  35. + * I object to this bit, its useless, don't do anything, just
  36. + * ignore it
  37. + */
  38. + if (attn & MBOX_ATTN_BMC_DAEMON_READY)
  39. + attn &= ~MBOX_ATTN_BMC_DAEMON_READY;
  40. }
  41.  
  42. /* To be used with minimum V2 of the protocol */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement