diff options
-rw-r--r-- | flash.h | 3 | ||||
-rw-r--r-- | protocol.c | 1 | ||||
-rw-r--r-- | transport_mbox.h | 3 |
3 files changed, 4 insertions, 3 deletions
@@ -7,6 +7,9 @@ #define FLASH_DIRTY 0x00 #define FLASH_ERASED 0x01 +/* Estimate as to how long (milliseconds) it takes to access a MB from flash */ +#define FLASH_ACCESS_MS_PER_MB 8000 + #include "mbox.h" int flash_dev_init(struct mbox_context *context); @@ -5,6 +5,7 @@ #include <errno.h> #include <stdint.h> +#include "flash.h" #include "mbox.h" #include "lpc.h" #include "transport_mbox.h" /* TODO: Remove dependency on transport_mbox.h */ diff --git a/transport_mbox.h b/transport_mbox.h index aebf3bd..8f65f7d 100644 --- a/transport_mbox.h +++ b/transport_mbox.h @@ -7,9 +7,6 @@ #include "common.h" #include "mbox.h" -/* Estimate as to how long (milliseconds) it takes to access a MB from flash */ -#define FLASH_ACCESS_MS_PER_MB 8000 - #define NO_BMC_EVENT false #define SET_BMC_EVENT true |