X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Ffdt_support.h;h=871ef4524b7ef545a8831eb2571f4c16a4a1a82f;hb=a78ded13111dde555ed5de99cff10f41ae674cb1;hp=9a453af34b548256e0b7064e5bf06abda12e225f;hpb=49b97d9c8ea7b11c4fc9e457cc2cd9fd6ebf0c21;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/fdt_support.h b/include/fdt_support.h index 9a453af..871ef45 100644 --- a/include/fdt_support.h +++ b/include/fdt_support.h @@ -59,7 +59,7 @@ void fdt_fixup_dr_usb(void *blob, bd_t *bd); static inline void fdt_fixup_dr_usb(void *blob, bd_t *bd) {} #endif /* CONFIG_HAS_FSL_DR_USB */ -#if defined(CONFIG_MPC85xx) || defined(CONFIG_MPC83xx) +#if defined(CONFIG_SYS_FSL_SEC_COMPAT) void fdt_fixup_crypto_node(void *blob, int sec_rev); #else static inline void fdt_fixup_crypto_node(void *blob, int sec_rev) {} @@ -83,6 +83,10 @@ int fdt_fixup_nor_flash_size(void *blob, int cs, u32 size); void fdt_fixup_mtdparts(void *fdt, void *node_info, int node_info_size); void fdt_del_node_and_alias(void *blob, const char *alias); +u64 fdt_translate_address(void *blob, int node_offset, const u32 *in_addr); +int fdt_node_offset_by_compat_reg(void *blob, const char *compat, + phys_addr_t compat_off); +int fdt_alloc_phandle(void *blob); #endif /* ifdef CONFIG_OF_LIBFDT */ #endif /* ifndef __FDT_SUPPORT_H */