From 685d033f80fc860d27ac7627c029a3e483315d45 Mon Sep 17 00:00:00 2001 From: Wang Nan Date: Tue, 25 Mar 2014 12:09:43 +0800 Subject: Introduce helpers for computing dtb size This patch introduce fdt_node_len and fdt_prop_len to help for computing memory requirement when operating dtb. Signed-off-by: Wang Nan Acked-by: Dave Young Signed-off-by: Simon Horman --- kexec/libfdt/libfdt_internal.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'kexec/libfdt/libfdt_internal.h') diff --git a/kexec/libfdt/libfdt_internal.h b/kexec/libfdt/libfdt_internal.h index 46eb93e..7e6c4c8 100644 --- a/kexec/libfdt/libfdt_internal.h +++ b/kexec/libfdt/libfdt_internal.h @@ -52,9 +52,6 @@ */ #include -#define FDT_ALIGN(x, a) (((x) + (a) - 1) & ~((a) - 1)) -#define FDT_TAGALIGN(x) (FDT_ALIGN((x), FDT_TAGSIZE)) - #define FDT_CHECK_HEADER(fdt) \ { \ int err; \ -- cgit