ARM: am43xx: Enable QUAD read and EDMA support for ti_qspi
authorVignesh R <vigneshr@ti.com>
Tue, 10 Nov 2015 06:22:11 +0000 (11:52 +0530)
committerJagan Teki <jteki@openedev.com>
Tue, 17 Nov 2015 18:13:29 +0000 (23:43 +0530)
Enable TI_EDMA3 and QUAD read support for ti_qspi on am43xx, this
increases read performance to 4 MB/s.

Signed-off-by: Vignesh R <vigneshr@ti.com>
Reviewed-by: Mugunthan V N <mugunthanvnm@ti.com>
Reviewed-by: Jagan Teki <jteki@openedev.com>
arch/arm/include/asm/arch-am33xx/hardware_am43xx.h
include/configs/am43xx_evm.h

index 479893e..a7da6b5 100644 (file)
@@ -98,4 +98,7 @@
 
 #define NUM_CRYSTAL_FREQ                       0x4
 
+/* EDMA3 Base Address */
+#define EDMA3_BASE                             0x49000000
+
 #endif /* __AM43XX_HARDWARE_AM43XX_H */
index b02abd3..76d4032 100644 (file)
 #define CONFIG_QSPI_SEL_GPIO                   48
 #define CONFIG_SF_DEFAULT_SPEED                48000000
 #define CONFIG_DEFAULT_SPI_MODE                SPI_MODE_3
+#define CONFIG_QSPI_QUAD_SUPPORT
+#define CONFIG_TI_EDMA3
 
 /* Enhance our eMMC support / experience. */
 #define CONFIG_CMD_GPT