1 /*
2  * arch/xtensa/platform/xtavnet/include/platform/lcd.h
3  *
4  * This file is subject to the terms and conditions of the GNU General Public
5  * License.  See the file "COPYING" in the main directory of this archive
6  * for more details.
7  *
8  * Copyright (C) 2001, 2006 Tensilica Inc.
9  */
10 
11 #ifndef __XTENSA_XTAVNET_LCD_H
12 #define __XTENSA_XTAVNET_LCD_H
13 
14 #ifdef CONFIG_XTFPGA_LCD
15 /* Display string STR at position POS on the LCD. */
16 void lcd_disp_at_pos(char *str, unsigned char pos);
17 
18 /* Shift the contents of the LCD display left or right. */
19 void lcd_shiftleft(void);
20 void lcd_shiftright(void);
21 #else
lcd_disp_at_pos(char * str,unsigned char pos)22 static inline void lcd_disp_at_pos(char *str, unsigned char pos)
23 {
24 }
25 
lcd_shiftleft(void)26 static inline void lcd_shiftleft(void)
27 {
28 }
29 
lcd_shiftright(void)30 static inline void lcd_shiftright(void)
31 {
32 }
33 #endif
34 
35 #endif
36