X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=include%2Ffdt_support.h;h=fd94929cefab25cbb3f670e1fbdad0cbf80499ea;hb=821ad16fa9900c9b48e9af678b4a5d7808a58f7c;hp=6062df9764271e50626db9621b3d9dd8cc524ac3;hpb=4cc64742a89e8ce90c69c3c85e4e9f4706062f2f;p=karo-tx-uboot.git diff --git a/include/fdt_support.h b/include/fdt_support.h index 6062df9764..fd94929cef 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 */