From d015165bc546e80b1c033c23c68a0ba307b7a39f Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Fri, 4 Sep 2020 23:50:38 -0400 Subject: mips: Convert 'nop' to 'ssnop' -- for future-proofing Change-Id: I17625f4d56a1f5205887cb47668a2dcb628053f4 --- .../ingenic_jz47xx/onda_vx767/lcd-onda_vx767.c | 24 +++++++++++----------- 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'firmware/target/mips/ingenic_jz47xx/onda_vx767/lcd-onda_vx767.c') diff --git a/firmware/target/mips/ingenic_jz47xx/onda_vx767/lcd-onda_vx767.c b/firmware/target/mips/ingenic_jz47xx/onda_vx767/lcd-onda_vx767.c index caee8982f6..a32fe45608 100644 --- a/firmware/target/mips/ingenic_jz47xx/onda_vx767/lcd-onda_vx767.c +++ b/firmware/target/mips/ingenic_jz47xx/onda_vx767/lcd-onda_vx767.c @@ -18,7 +18,7 @@ * KIND, either express or implied. * ****************************************************************************/ - + #include "config.h" #include "jz4740.h" #include "lcd.h" @@ -37,7 +37,7 @@ do { \ } while (0) -#define SLEEP(x) for(i=0; i 0x1ff ) val = 0x1ff; /* CPM_LPCDR is too large, set it to 0x1ff */ __cpm_set_pixdiv(val); - + __cpm_start_lcd(); } @@ -196,7 +196,7 @@ void lcd_set_target(int x, int y, int width, int height) SLCD_SEND_COMMAND(0x52, x); SLCD_SEND_COMMAND(0x53, x+width-1); /* TODO */ - + __gpio_clear_pin(PIN_UNK_N); SLCD_SET_COMMAND(0x22); WAIT_ON_SLCD; -- cgit v1.2.3