X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/28dec42aa353b7bcc7248ffe333e56d777a35835..f3e1425ab8c74463b9d4656816db894a22cadfcf:/package/uboot-xburst/files/include/asm-mips/jz4740.h diff --git a/package/uboot-xburst/files/include/asm-mips/jz4740.h b/package/uboot-xburst/files/include/asm-mips/jz4740.h index a752dcc2a..4098873ec 100644 --- a/package/uboot-xburst/files/include/asm-mips/jz4740.h +++ b/package/uboot-xburst/files/include/asm-mips/jz4740.h @@ -2810,6 +2810,16 @@ do { \ REG_GPIO_PXPES(3) = 0xc0000000; \ } while (0) +/* + * LCD_D0~LCD_D7, LCD_PCLK, LCD_HSYNC, LCD_VSYNC, LCD_DE + */ +#define __gpio_as_lcd_8bit() \ +do { \ + REG_GPIO_PXFUNS(2) = 0x003c00ff; \ + REG_GPIO_PXSELC(2) = 0x003c00ff; \ + REG_GPIO_PXPES(2) = 0x003c00ff; \ +} while (0) + /* * LCD_D0~LCD_D15, LCD_PCLK, LCD_HSYNC, LCD_VSYNC, LCD_DE */