2 * (C) Copyright 2012 Lothar Waßmann <LW@KARO-electronics.de>
4 * See file CREDITS for list of people who contributed to this
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * version 2 as published by the Free Software Foundation.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
19 #ifdef CONFIG_OF_LIBFDT
20 void karo_fdt_remove_node(void *blob, const char *node);
21 void karo_fdt_move_fdt(void);
22 void karo_fdt_fixup_touchpanel(void *blob);
23 void karo_fdt_fixup_usb_otg(void *blob, const char *node, const char *phy);
24 void karo_fdt_fixup_flexcan(void *blob, int xcvr_present);
25 void karo_fdt_del_prop(void *blob, const char *compat, phys_addr_t offs,
27 void karo_fdt_enable_node(void *blob, const char *node, int enable);
28 void *karo_fdt_load_dtb(void);
29 int karo_fdt_get_fb_mode(void *blob, const char *name,
30 struct fb_videomode *fb_mode);
31 int karo_fdt_update_fb_mode(void *blob, const char *name);
32 int karo_fdt_create_fb_mode(void *blob, const char *name,
33 struct fb_videomode *mode);
34 const char *karo_fdt_set_display(const char *video_mode, const char *lcd_path,
35 const char *lvds_path);
37 static inline void karo_fdt_remove_node(void *blob, const char *node)
40 static inline void karo_fdt_move_fdt(void)
43 static inline void karo_fdt_fixup_touchpanel(void *blob)
46 static inline void karo_fdt_fixup_usb_otg(void *blob, const char *node,
50 static inline void karo_fdt_fixup_flexcan(void *blob, int xcvr_present)
53 static inline void karo_fdt_del_prop(void *blob, const char *compat,
54 phys_addr_t offs, const char *prop)
57 static inline void karo_fdt_enable_node(void *blob, const char *node,
61 static inline void *karo_fdt_load_dtb(void)
65 static inline int karo_fdt_get_fb_mode(void *blob, const char *name,
66 struct fb_videomode *fb_mode)
70 static inline int karo_fdt_update_fb_mode(void *blob, const char *name)
74 static inline int karo_fdt_create_fb_mode(void *blob,
76 struct fb_videomode *mode)
80 static inline const char *karo_fdt_set_display(const char *video_mode, const char *lcd_path,
81 const char *lvds_path)
87 int karo_load_splashimage(int mode);