diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-03-21 18:03:33 +0900 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2018-04-01 22:19:10 +0800 |
commit | c960a68e200057b0e8b3aa627aa4b0c9b31ca2d8 (patch) | |
tree | 3913ce1e4647c5cb12c7ca12000589049fca1bff /common/image-fdt.c | |
parent | e8d5291824e27575fe71222f683579325221e0cb (diff) | |
download | u-boot-c960a68e200057b0e8b3aa627aa4b0c9b31ca2d8.tar.gz |
libfdt: move FDT_RAMDISK_OVERHEAD to image-fdt.c
This macro is locally referenced in common/image-fdt.c
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/image-fdt.c')
-rw-r--r-- | common/image-fdt.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/image-fdt.c b/common/image-fdt.c index 25103ba3b5..3dc02a1219 100644 --- a/common/image-fdt.c +++ b/common/image-fdt.c @@ -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) |