summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/imx233/dma-imx233.h
diff options
context:
space:
mode:
authorAmaury Pouly <pamaury@rockbox.org>2011-07-23 11:45:22 +0000
committerAmaury Pouly <pamaury@rockbox.org>2011-07-23 11:45:22 +0000
commiteb90d956935019f577311ebc7aec3a7898d76019 (patch)
treec4ac810faaf390b9020c46dc2197008679099034 /firmware/target/arm/imx233/dma-imx233.h
parent06c94740e510d0ce04e069f34631a0539e9e6742 (diff)
downloadrockbox-eb90d956935019f577311ebc7aec3a7898d76019.tar.gz
rockbox-eb90d956935019f577311ebc7aec3a7898d76019.tar.bz2
rockbox-eb90d956935019f577311ebc7aec3a7898d76019.zip
imx233/fuze+: huge rework
- enable MMU -rework lcd frame buffer - add rtc/adc/power stubs (or not) - fix a few MMC related defines (hopefully) - implement cache handling for DMA - more SD work - add keymap (based on clip) - add virtual buttons - update linker scripts - big step toward apps actually compiling git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30200 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/imx233/dma-imx233.h')
-rw-r--r--firmware/target/arm/imx233/dma-imx233.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/firmware/target/arm/imx233/dma-imx233.h b/firmware/target/arm/imx233/dma-imx233.h
index fcf1a2c5c2..bb88a746d0 100644
--- a/firmware/target/arm/imx233/dma-imx233.h
+++ b/firmware/target/arm/imx233/dma-imx233.h
@@ -138,11 +138,16 @@ struct apb_dma_command_t
#define HW_APBH_CHx_CMD__NANDWAIT4READY (1 << 5)
#define HW_APB_CHx_CMD__SEMAPHORE (1 << 6)
#define HW_APB_CHx_CMD__WAIT4ENDCMD (1 << 7)
-#define HW_APB_CHx_CMD__HALTONTERMINATE (1 << 8)
-#define HW_APB_CHx_CMD__CMDWORDS_BM 0xf000
-#define HW_APB_CHx_CMD__CMDWORDS_BP 12
-#define HW_APB_CHx_CMD__XFER_COUNT_BM 0xffff0000
-#define HW_APB_CHx_CMD__XFER_COUNT_BP 16
+/* An errata advise not to use it */
+//#define HW_APB_CHx_CMD__HALTONTERMINATE (1 << 8)
+#define HW_APB_CHx_CMD__CMDWORDS_BM 0xf000
+#define HW_APB_CHx_CMD__CMDWORDS_BP 12
+#define HW_APB_CHx_CMD__XFER_COUNT_BM 0xffff0000
+#define HW_APB_CHx_CMD__XFER_COUNT_BP 16
+/* For software use */
+#define HW_APB_CHx_CMD__UNUSED_BP 8
+#define HW_APB_CHx_CMD__UNUSED_BM (0xf << 8)
+#define HW_APB_CHx_CMD__UNUSED_MAGIC (0xa << 8)
#define HW_APB_CHx_SEMA__PHORE_BM 0xff0000
#define HW_APB_CHx_SEMA__PHORE_BP 16