]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/fdt.h
usb: ulpi: Add omap-ulpi-view port support
[karo-tx-uboot.git] / include / fdt.h
index 39beada63019016c83310dfc03002e3214585b7d..c51212e05b4f41305c30682b61e62b11ecede12d 100644 (file)
@@ -3,10 +3,6 @@
 
 #ifndef __ASSEMBLY__
 
-#ifdef USE_HOSTCC
-#include <stdint.h>
-#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 */