diff options
author | Omar Ramirez Luna <omar.luna@linaro.org> | 2012-06-19 00:18:10 +0200 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2012-06-19 00:18:10 +0200 |
commit | 3d3635c4d77a97c61a539dff86f9a4b67134b4cb (patch) | |
tree | 33c7f06b7738c5a47c214085b3c2144e32ad4bb0 /arch/arm/mach-omap2/dsp.c | |
parent | ARM: OMAP2+: control: new APIs to configure boot address and mode (diff) | |
download | linux-3d3635c4d77a97c61a539dff86f9a4b67134b4cb.tar.xz linux-3d3635c4d77a97c61a539dff86f9a4b67134b4cb.zip |
ARM: OMAP: dsp: interface to control module functions
Provide an interface for a driver to call SCM functions to
set a boot address and boot mode.
Signed-off-by: Omar Ramirez Luna <omar.luna@linaro.org>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/mach-omap2/dsp.c')
-rw-r--r-- | arch/arm/mach-omap2/dsp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/dsp.c b/arch/arm/mach-omap2/dsp.c index 845309f146fe..8b251a995abf 100644 --- a/arch/arm/mach-omap2/dsp.c +++ b/arch/arm/mach-omap2/dsp.c @@ -20,6 +20,7 @@ #include <linux/module.h> #include <linux/platform_device.h> +#include "control.h" #include "cm2xxx_3xxx.h" #include "prm2xxx_3xxx.h" #ifdef CONFIG_BRIDGE_DVFS @@ -43,6 +44,9 @@ static struct omap_dsp_platform_data omap_dsp_pdata __initdata = { .dsp_cm_read = omap2_cm_read_mod_reg, .dsp_cm_write = omap2_cm_write_mod_reg, .dsp_cm_rmw_bits = omap2_cm_rmw_mod_reg_bits, + + .set_bootaddr = omap_ctrl_write_dsp_boot_addr, + .set_bootmode = omap_ctrl_write_dsp_boot_mode, }; static phys_addr_t omap_dsp_phys_mempool_base; |