diff mbox

[U-Boot,U-Boot,v2,10/10] ARM: dra7xx_evm: Enable EDMA3 in SPL to support DMA on qspi

Message ID 1438234483-3738-11-git-send-email-vigneshr@ti.com
State Superseded
Delegated to: Jagannadha Sutradharudu Teki
Headers show

Commit Message

Raghavendra, Vignesh July 30, 2015, 5:34 a.m. UTC
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>
---
 arch/arm/include/asm/arch-omap5/hardware.h | 5 +++++
 include/configs/dra7xx_evm.h               | 2 ++
 2 files changed, 7 insertions(+)

Comments

Jagan Teki Aug. 13, 2015, 6:04 p.m. UTC | #1
On 30 July 2015 at 11:04, Vignesh R <vigneshr@ti.com> wrote:
> 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 | 5 +++++
>  include/configs/dra7xx_evm.h               | 2 ++
>  2 files changed, 7 insertions(+)
>
> diff --git a/arch/arm/include/asm/arch-omap5/hardware.h b/arch/arm/include/asm/arch-omap5/hardware.h
> index f7011b4e904a..a5bd60009289 100644
> --- a/arch/arm/include/asm/arch-omap5/hardware.h
> +++ b/arch/arm/include/asm/arch-omap5/hardware.h
> @@ -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
> diff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx_evm.h
> index 74994479e60b..6e32de854619 100644
> --- a/include/configs/dra7xx_evm.h
> +++ b/include/configs/dra7xx_evm.h
> @@ -166,6 +166,8 @@
>
>  /* 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
> --
> 2.5.0
>
> _______________________________________________
> U-Boot mailing list
> U-Boot@lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot

thanks!
diff mbox

Patch

diff --git a/arch/arm/include/asm/arch-omap5/hardware.h b/arch/arm/include/asm/arch-omap5/hardware.h
index f7011b4e904a..a5bd60009289 100644
--- a/arch/arm/include/asm/arch-omap5/hardware.h
+++ b/arch/arm/include/asm/arch-omap5/hardware.h
@@ -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
diff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx_evm.h
index 74994479e60b..6e32de854619 100644
--- a/include/configs/dra7xx_evm.h
+++ b/include/configs/dra7xx_evm.h
@@ -166,6 +166,8 @@ 
 
 /* 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