aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/dm646x.c
diff options
context:
space:
mode:
authorRajashekhara, Sudhakar <sudhakar.raj@ti.com>2010-06-29 02:05:15 -0400
committerKevin Hilman <khilman@deeprootsystems.com>2010-08-05 12:58:27 -0400
commitcce3dddb87e4b72b1787527eec6826a43a562e71 (patch)
tree1e9fb67c1d46704eca7424967adc8a091ceb1e71 /arch/arm/mach-davinci/dm646x.c
parenta941c50340c97f1f9c5e4d0de7d1bfdbffbdef24 (diff)
davinci: dm646x EVM: Specify reserved EDMA channel/slots
Not all the channels and slots available on the DM646x EVM are used by the devices on the EVM. These resources can be used by the DSP to speed up codec operations. This patch reserves these channels for the DSP. Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-davinci/dm646x.c')
-rw-r--r--arch/arm/mach-davinci/dm646x.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/arm/mach-davinci/dm646x.c b/arch/arm/mach-davinci/dm646x.c
index bfc887e9f118..e4a3df1872ac 100644
--- a/arch/arm/mach-davinci/dm646x.c
+++ b/arch/arm/mach-davinci/dm646x.c
@@ -879,6 +879,13 @@ void dm646x_setup_vpif(struct vpif_display_config *display_config,
879 platform_device_register(&vpif_capture_dev); 879 platform_device_register(&vpif_capture_dev);
880} 880}
881 881
882int __init dm646x_init_edma(struct edma_rsv_info *rsv)
883{
884 edma_cc0_info.rsv = rsv;
885
886 return platform_device_register(&dm646x_edma_device);
887}
888
882void __init dm646x_init(void) 889void __init dm646x_init(void)
883{ 890{
884 dm646x_board_setup_refclk(&ref_clk); 891 dm646x_board_setup_refclk(&ref_clk);
@@ -890,7 +897,6 @@ static int __init dm646x_init_devices(void)
890 if (!cpu_is_davinci_dm646x()) 897 if (!cpu_is_davinci_dm646x())
891 return 0; 898 return 0;
892 899
893 platform_device_register(&dm646x_edma_device);
894 platform_device_register(&dm646x_emac_device); 900 platform_device_register(&dm646x_emac_device);
895 return 0; 901 return 0;
896} 902}