]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dra7xx_evm: Enable EDMA3 in SPL to support DMA on qspi
authorVignesh R <vigneshr@ti.com>
Mon, 17 Aug 2015 07:59:57 +0000 (13:29 +0530)
committerJagan Teki <jteki@openedev.com>
Mon, 17 Aug 2015 17:59:15 +0000 (23:29 +0530)
Enable TI_EDMA3 and SPL_DMA support, so as to reduce boot time. With
DMA enabled there is almost 3x improvement in read performance. This
helps in reducing boot time in qspiboot mode

Also add EDMA3 base address for DRA7XX and AM57XX.

Signed-off-by: Vignesh R <vigneshr@ti.com>
Reviewed-by: Jagan Teki <jteki@openedev.com>
arch/arm/include/asm/arch-omap5/hardware.h
include/configs/dra7xx_evm.h

index f7011b4e904aaf2f17faf2d88bae173e626e49e3..a5bd600092891515e584ed2301595ff16b0a4037 100644 (file)
@@ -23,4 +23,9 @@
 /* GPMC Base address */
 #define GPMC_BASE                      0x50000000
 
+/* EDMA3 Base address for DRA7XX and AM57XX */
+#if defined(CONFIG_DRA7XX) || defined(CONFIG_AM57XX)
+#define EDMA3_BASE                     0x43300000
+#endif
+
 #endif
index 74994479e60b43cf09f4d6191ef720027f8ecff6..6e32de854619cf07172b5ae908e62942fd73a0b9 100644 (file)
 
 /* SPI SPL */
 #define CONFIG_SPL_SPI_SUPPORT
+#define CONFIG_SPL_DMA_SUPPORT
+#define CONFIG_TI_EDMA3
 #define CONFIG_SPL_SPI_LOAD
 #define CONFIG_SPL_SPI_FLASH_SUPPORT
 #define CONFIG_SYS_SPI_U_BOOT_OFFS     0x40000