| extern phys_addr_t get_immrbase(void); |
| #if defined(CONFIG_CPM2) || defined(CONFIG_QUICC_ENGINE) || defined(CONFIG_8xx) |
| extern u32 get_brgfreq(void); |
| extern u32 get_baudrate(void); |
| static inline u32 get_brgfreq(void) { return -1; } |
| static inline u32 get_baudrate(void) { return -1; } |
| extern u32 fsl_get_sys_freq(void); |
| extern void fsl_rstcr_restart(char *cmd); |
| #if defined(CONFIG_FB_FSL_DIU) || defined(CONFIG_FB_FSL_DIU_MODULE) |
| struct platform_diu_data_ops { |
| unsigned int (*get_pixel_format) (unsigned int bits_per_pixel, |
| void (*set_gamma_table) (int monitor_port, char *gamma_table_base); |
| void (*set_monitor_port) (int monitor_port); |
| void (*set_pixel_clock) (unsigned int pixclock); |
| ssize_t (*show_monitor_port) (int monitor_port, char *buf); |
| int (*set_sysfs_monitor_port) (int val); |
| extern struct platform_diu_data_ops diu_ops; |