X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Ffdt.h;h=c51212e05b4f41305c30682b61e62b11ecede12d;hb=a6a04967bc2957d20799f4bb2a6b3dd0353c1cfd;hp=3dd3aca3b6aaa53803b402be79f451313f18604e;hpb=f0da1d1b3c0719ea3b6025fe87b66224a466100d;p=u-boot diff --git a/include/fdt.h b/include/fdt.h index 3dd3aca3b6..c51212e05b 100644 --- a/include/fdt.h +++ b/include/fdt.h @@ -1,22 +1,3 @@ -/* - * libfdt - Flat Device Tree manipulation - * Copyright (C) 2006 David Gibson, IBM Corporation. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License - * as published by the Free Software Foundation; either version 2.1 of - * the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - */ - #ifndef _FDT_H #define _FDT_H @@ -76,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 */