X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Ffdt_support.h;h=fd94929cefab25cbb3f670e1fbdad0cbf80499ea;hb=bbf2abc0f5a5be0b8081ae8587fa90b376160444;hp=16734c5352831f1465d68c517ec656da93398e18;hpb=0f898604945af4543c1525fc33b6bae621a3b805;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/fdt_support.h b/include/fdt_support.h index 16734c5..fd94929 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) {} @@ -79,5 +79,14 @@ void ft_pci_setup(void *blob, bd_t *bd); void set_working_fdt_addr(void *addr); int fdt_resize(void *blob); +int fdt_fixup_nor_flash_size(void *blob); + +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 */