Skip to contentSkip to conversation

ARM: OMAP2+: control: add OMAP5 support for dsp boot programming

PATCH In review Suman Anna 2 participants 2 messages Apr 17, 2013 – May 16, 2013

Subsystems (3)
lore
Share & tools
lore

Suman Anna

author
#0 lore raw

PATCH 1/1 ARM: OMAP2+: control: add OMAP5 support for dsp boot programming

Support for OMAP5 is added to the omap_dsp_ctrl_write_boot_addr() to enable the DSP boot.

---
 arch/arm/mach-omap2/control.c | 1 +
 1 file changed, 1 insertion(+)
arch/arm/mach-omap2/control.c +1 -0
index 2adb268..31e0dfe 100644
@@ -249,6 +249,7 @@ void omap_ctrl_write_dsp_boot_addr(u32 bootaddr)
 	u32 offset = cpu_is_omap243x() ? OMAP243X_CONTROL_IVA2_BOOTADDR :
 		     cpu_is_omap34xx() ? OMAP343X_CONTROL_IVA2_BOOTADDR :
 		     cpu_is_omap44xx() ? OMAP4_CTRL_MODULE_CORE_DSP_BOOTADDR :
+		     soc_is_omap54xx() ? OMAP4_CTRL_MODULE_CORE_DSP_BOOTADDR :
 		     0;
 
 	if (!offset) {
Signature · 1 line
1.8.2
maintainer
#1 lore raw
Quoted 4 lines · Suman Anna

Support for OMAP5 is added to the omap_dsp_ctrl_write_boot_addr() to enable the DSP boot.

Thanks applying into omap-for-v3.11/fixes-non-critical.

Regards,

Tony

Quoted 19 lines
---
 arch/arm/mach-omap2/control.c | 1 +
 1 file changed, 1 insertion(+)
arch/arm/mach-omap2/control.c +1 -0
index 2adb268..31e0dfe 100644
@@ -249,6 +249,7 @@ void omap_ctrl_write_dsp_boot_addr(u32 bootaddr)
 	u32 offset = cpu_is_omap243x() ? OMAP243X_CONTROL_IVA2_BOOTADDR :
 		     cpu_is_omap34xx() ? OMAP343X_CONTROL_IVA2_BOOTADDR :
 		     cpu_is_omap44xx() ? OMAP4_CTRL_MODULE_CORE_DSP_BOOTADDR :
+		     soc_is_omap54xx() ? OMAP4_CTRL_MODULE_CORE_DSP_BOOTADDR :
 		     0;
 
 	if (!offset) {
Signature · 1 line
1.8.2