X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=common%2Fimage-fdt.c;h=3dc02a12191d515fc19e10ba3abfe8c55633d234;hb=e88b2563ddab6fcee8bf0be40811c8bc6b1ccadb;hp=24e4c7c6c8143f946065dcf5f48bc5c2baf24cdb;hpb=4280342adb2d72d6242ec1ffbb723af380b31586;p=u-boot diff --git a/common/image-fdt.c b/common/image-fdt.c index 24e4c7c6c8..3dc02a1219 100644 --- a/common/image-fdt.c +++ b/common/image-fdt.c @@ -13,7 +13,7 @@ #include #include #include -#include +#include #include #include @@ -21,6 +21,9 @@ #define CONFIG_SYS_FDT_PAD 0x3000 #endif +/* adding a ramdisk needs 0x44 bytes in version 2008.10 */ +#define FDT_RAMDISK_OVERHEAD 0x80 + DECLARE_GLOBAL_DATA_PTR; static void fdt_error(const char *msg)