aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot/stdio.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2009-03-26 07:38:26 -0400
committerSascha Hauer <s.hauer@pengutronix.de>2009-03-27 09:51:15 -0400
commit4d1e4e5a6387aad97590e2da9c6db1350f22f63a (patch)
treeb695850d716013b7f65f1f4dc4401da2ea80f734 /arch/powerpc/boot/stdio.c
parentec621699031b298eadd7e364f65281291b19ea37 (diff)
imxfb: Fix TFT mode
We read from the PCR reg to determine whether to use TFT mode or not. This is not possible because it may not have been initialized with the correct value yet. Select it using fbi->pcr instead. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/powerpc/boot/stdio.c')
0 files changed, 0 insertions, 0 deletions
hl com"> */ extern unsigned char * cfag12864b_buffer; /* * Get the refresh rate of the LCD * * Returns the refresh rate (hertz). */ extern unsigned int cfag12864b_getrate(void); /* * Enable refreshing * * Returns 0 if successful (anyone was using it), * or != 0 if failed (someone is using it). */ extern unsigned char cfag12864b_enable(void); /* * Disable refreshing * * You should call this only when you finish using the LCD. */ extern void cfag12864b_disable(void); /* * Is enabled refreshing? (is anyone using the module?) * * Returns 0 if refreshing is not enabled (anyone is using it), * or != 0 if refreshing is enabled (someone is using it). * * Useful for buffer read-only modules. */ extern unsigned char cfag12864b_isenabled(void); /* * Is the module inited? */ extern unsigned char cfag12864b_isinited(void); #endif /* _CFAG12864B_H_ */