[U-Boot] [RFC] drivers: dma: ti-edma3: Enable edma3-tpcc

Adam Ford aford173 at gmail.com
Sun Jun 9 13:34:46 UTC 2019


Enable edma3-tpcc controllers for future use with some
Davinci devices.

Signed-off-by: Adam Ford <aford173 at gmail.com>

diff --git a/arch/arm/mach-davinci/cpu.c b/arch/arm/mach-davinci/cpu.c
index f97ad3fc74..e26365cdb1 100644
--- a/arch/arm/mach-davinci/cpu.c
+++ b/arch/arm/mach-davinci/cpu.c
@@ -91,6 +91,15 @@ int set_cpu_clk_info(void)
 	return 0;
 }
 
+void enable_edma3_clocks(void)
+{
+
+}
+
+void disable_edma3_clocks(void)
+{
+
+}
 /*
  * Initializes on-chip ethernet controllers.
  * to override, implement board_eth_init()
diff --git a/drivers/dma/ti-edma3.c b/drivers/dma/ti-edma3.c
index 7e11b13e45..4619eeae55 100644
--- a/drivers/dma/ti-edma3.c
+++ b/drivers/dma/ti-edma3.c
@@ -565,6 +565,7 @@ static const struct dma_ops ti_edma3_ops = {
 
 static const struct udevice_id ti_edma3_ids[] = {
 	{ .compatible = "ti,edma3" },
+	{ .compatible = "ti,edma3-tpcc" },
 	{ }
 };
 
-- 
2.17.1



More information about the U-Boot mailing list