summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2009-07-29 12:57:42 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2009-07-29 12:57:42 +0000
commit38b08060afdf06e4e057c8b089acdb63624294fd (patch)
tree236736635b547523919030cb5853900f17574582 /firmware
parentad1660074fd42c893f74d4fe4587ca68b1cc5479 (diff)
downloadrockbox-38b08060afdf06e4e057c8b089acdb63624294fd.tar.gz
rockbox-38b08060afdf06e4e057c8b089acdb63624294fd.tar.bz2
rockbox-38b08060afdf06e4e057c8b089acdb63624294fd.zip
Onda VX7x7: fix error when compiling with USB_BOOT defined
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22080 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/export/r61509.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/export/r61509.h b/firmware/export/r61509.h
index f61b620084..5d45c4ebcd 100644
--- a/firmware/export/r61509.h
+++ b/firmware/export/r61509.h
@@ -121,6 +121,11 @@
#define DISP_CTRL1_DTE (1 << 4)
#define DISP_CTRL1_D(n) (n & 3)
+#define EXT_DISP_CTRL1_ENC(n) ((n & 7) << 12)
+#define EXT_DISP_CTRL1_RM(n) ((n & 1) << 8)
+#define EXT_DISP_CTRL1_DM(n) ((n & 3) << 4)
+#define EXT_DISP_CTRL1_RIM(n) (n & 3)
+
#define PWR_CTRL1_SAP(n) ((n & 3) << 13)
#define PWR_CTRL1_SAPE (1 << 12)
#define PWR_CTRL1_BT(n) ((n & 7) << 8)