Re: [U-Boot] [PATCH 1/5] libfdt: move FDT_RAMDISK_OVERHEAD to image-fdt.c

2018-04-01 Thread Simon Glass
On 23 March 2018 at 22:30, Simon Glass  wrote:
> On 21 March 2018 at 03:03, Masahiro Yamada
>  wrote:
>> This macro is locally referenced in common/image-fdt.c
>>
>> Signed-off-by: Masahiro Yamada 
>> ---
>>
>>  common/image-fdt.c | 3 +++
>>  include/linux/libfdt.h | 3 ---
>>  2 files changed, 3 insertions(+), 3 deletions(-)
>
> Reviewed-by: Simon Glass 

Applied to u-boot-dm, thanks!
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PATCH 1/5] libfdt: move FDT_RAMDISK_OVERHEAD to image-fdt.c

2018-03-23 Thread Simon Glass
On 21 March 2018 at 03:03, Masahiro Yamada
 wrote:
> This macro is locally referenced in common/image-fdt.c
>
> Signed-off-by: Masahiro Yamada 
> ---
>
>  common/image-fdt.c | 3 +++
>  include/linux/libfdt.h | 3 ---
>  2 files changed, 3 insertions(+), 3 deletions(-)

Reviewed-by: Simon Glass 
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PATCH 1/5] libfdt: move FDT_RAMDISK_OVERHEAD to image-fdt.c

2018-03-21 Thread Masahiro Yamada
This macro is locally referenced in common/image-fdt.c

Signed-off-by: Masahiro Yamada 
---

 common/image-fdt.c | 3 +++
 include/linux/libfdt.h | 3 ---
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/common/image-fdt.c b/common/image-fdt.c
index 25103ba..3dc02a1 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)
diff --git a/include/linux/libfdt.h b/include/linux/libfdt.h
index 9e6eead..eeb2344 100644
--- a/include/linux/libfdt.h
+++ b/include/linux/libfdt.h
@@ -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 */
 
-/* adding a ramdisk needs 0x44 bytes in version 2008.10 */
-#define FDT_RAMDISK_OVERHEAD   0x80
-
 #endif /* _INCLUDE_LIBFDT_H_ */
-- 
2.7.4

___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot