]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - include/fdt.h
NAND: Fix integer overflow in ONFI detection of chips >= 4GiB
[people/ms/u-boot.git] / include / fdt.h
index 48ccfd9100002deb3aff35ee4f17bc7d232b25b2..c51212e05b4f41305c30682b61e62b11ecede12d 100644 (file)
@@ -57,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 */