mirror of https://github.com/wolfSSL/wolfBoot.git
Fix to not include the fdt.h header unless MMU is defined. The fdt.h has a few structs with [0] size arrays that don't work with older GCC.
parent
271ae4c2f0
commit
b17ea82232
|
@ -940,8 +940,9 @@ static inline int wb_flash_write_verify_word(struct wolfBoot_image *img,
|
|||
#define UBOOT_IMG_HDR_SZ 64
|
||||
|
||||
/* --- Flattened Device Tree Blob */
|
||||
#ifdef MMU
|
||||
#include "fdt.h"
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef EXT_ENCRYPTED
|
||||
#define WOLFBOOT_MAX_SPACE (WOLFBOOT_PARTITION_SIZE - \
|
||||
|
|
Loading…
Reference in New Issue