b069562ef4
iomux_lcd now has parameter for display bit mode settings, so we doesn't need ifdef here. lcd_init_device moved to target specific code lcdif_init configure pins and lcd cotroller Change-Id: I3a2d7fd38b08fe3bc5ebefa8c9f7288c21f58212 Reviewed-on: http://gerrit.rockbox.org/153 Reviewed-by: Marcin Bukat <marcin.bukat@gmail.com> Tested-by: Marcin Bukat <marcin.bukat@gmail.com>
16 lines
352 B
C
16 lines
352 B
C
#ifndef _LCDIF_RK27XX_H
|
|
#define _LCDIF_RK27XX_H
|
|
|
|
enum lcdif_mode_t {
|
|
LCDIF_16BIT,
|
|
LCDIF_18BIT
|
|
};
|
|
|
|
unsigned int lcd_data_transform(unsigned int data);
|
|
|
|
void lcd_cmd(unsigned int cmd);
|
|
void lcd_data(unsigned int data);
|
|
void lcd_write_reg(unsigned int reg, unsigned int val);
|
|
void lcdif_init(enum lcdif_mode_t mode);
|
|
|
|
#endif /* _LCDIF_RK27XX_H */
|