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>
This commit is contained in:
		
							parent
							
								
									e8d5291824
								
							
						
					
					
						commit
						c960a68e20
					
				|  | @ -21,6 +21,9 @@ | ||||||
| #define CONFIG_SYS_FDT_PAD 0x3000 | #define CONFIG_SYS_FDT_PAD 0x3000 | ||||||
| #endif | #endif | ||||||
| 
 | 
 | ||||||
|  | /* adding a ramdisk needs 0x44 bytes in version 2008.10 */ | ||||||
|  | #define FDT_RAMDISK_OVERHEAD	0x80 | ||||||
|  | 
 | ||||||
| DECLARE_GLOBAL_DATA_PTR; | DECLARE_GLOBAL_DATA_PTR; | ||||||
| 
 | 
 | ||||||
| static void fdt_error(const char *msg) | static void fdt_error(const char *msg) | ||||||
|  |  | ||||||
|  | @ -309,7 +309,4 @@ int fdt_add_alias_regions(const void *fdt, struct fdt_region *region, int count, | ||||||
| 
 | 
 | ||||||
| extern struct fdt_header *working_fdt;  /* Pointer to the working fdt */ | extern struct fdt_header *working_fdt;  /* Pointer to the working fdt */ | ||||||
| 
 | 
 | ||||||
| /* adding a ramdisk needs 0x44 bytes in version 2008.10 */ |  | ||||||
| #define FDT_RAMDISK_OVERHEAD	0x80 |  | ||||||
| 
 |  | ||||||
| #endif /* _INCLUDE_LIBFDT_H_ */ | #endif /* _INCLUDE_LIBFDT_H_ */ | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue