X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Ffdt.h;h=c51212e05b4f41305c30682b61e62b11ecede12d;hb=98cecb610f3fa53aa7d825a634d35ef9cf6c5487;hp=39beada63019016c83310dfc03002e3214585b7d;hpb=87c8431fe24d48121f053fe67cff4ccfe097d4d1;p=oweals%2Fu-boot.git diff --git a/include/fdt.h b/include/fdt.h index 39beada630..c51212e05b 100644 --- a/include/fdt.h +++ b/include/fdt.h @@ -3,10 +3,6 @@ #ifndef __ASSEMBLY__ -#ifdef USE_HOSTCC -#include -#endif - struct fdt_header { uint32_t magic; /* magic word FDT_MAGIC */ uint32_t totalsize; /* total size of DT block */ @@ -61,4 +57,6 @@ struct fdt_property { #define FDT_V16_SIZE FDT_V3_SIZE #define FDT_V17_SIZE (FDT_V16_SIZE + sizeof(uint32_t)) +/* adding a ramdisk needs 0x44 bytes in version 2008.10 */ +#define FDT_RAMDISK_OVERHEAD 0x80 #endif /* _FDT_H */