summaryrefslogtreecommitdiffstats
path: root/firmware/target/mips/ingenic_jz47xx/onda_vx767
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2009-06-16 18:35:57 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2009-06-16 18:35:57 +0000
commit5a5cccf10b587c9bd07f571bdf4234d86f6c3287 (patch)
treea4ac75c918a4ac4d4c70929e166d05f8c7020ae1 /firmware/target/mips/ingenic_jz47xx/onda_vx767
parentb8435f54464fd50c145d321b118d773ea05ef6a2 (diff)
downloadrockbox-5a5cccf10b587c9bd07f571bdf4234d86f6c3287.tar.gz
rockbox-5a5cccf10b587c9bd07f571bdf4234d86f6c3287.tar.bz2
rockbox-5a5cccf10b587c9bd07f571bdf4234d86f6c3287.zip
Make some asm() statements volatile
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21313 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/mips/ingenic_jz47xx/onda_vx767')
-rw-r--r--firmware/target/mips/ingenic_jz47xx/onda_vx767/lcd-onda_vx767.c2
1 files changed, 1 insertions, 1 deletions
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 a91e041184..b3cc6980e1 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
@@ -37,7 +37,7 @@ do { \
} while (0)
-#define SLEEP(x) for(i=0; i<x; i++) asm("nop"); asm("nop");
+#define SLEEP(x) for(i=0; i<x; i++) asm volatile("nop\n nop\n");
#define DELAY SLEEP(700000);
static void _display_pin_init(void)
{