| Index: cbootimage.h
|
| diff --git a/cbootimage.h b/cbootimage.h
|
| index f99c92626a445a8a953170223e42395d1e777f44..1dfa75b979f974846e42e512f01f673fef0cd322 100644
|
| --- a/cbootimage.h
|
| +++ b/cbootimage.h
|
| @@ -33,12 +33,15 @@
|
| #include <stdlib.h>
|
| #include <assert.h>
|
| #include <errno.h>
|
| +#include <math.h>
|
|
|
| #define NVBOOT_AES_BLOCK_SIZE_LOG2 4
|
| #define MAX_BUFFER 200
|
| #define MAX_STR_LEN 20
|
| #define MAX_BOOTLOADER_SIZE (16 * 1024 * 1024)
|
| #define NVBOOT_BOOTDATA_VERSION(a, b) ((((a)&0xffff) << 16) | ((b)&0xffff))
|
| +#define NVBOOT_BAD_BLOCK_TABLE_SIZE 4096
|
| +#define NV_MAX(a, b) (((a) > (b)) ? (a) : (b))
|
|
|
| /*
|
| * Enumerations
|
|
|