diff options
author | Fabio Estevam <festevam@gmail.com> | 2012-02-29 10:28:08 -0300 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-03-02 08:49:37 +0100 |
commit | bb07d7511e0884f913a0610d5f9a2f8a27914042 (patch) | |
tree | 45025b26ae9e27cb15b44ad2a2afe589c1077e1c /arch/arm/mach-imx | |
parent | 3ac804e31199c55440a423c76068d693b37fd50b (diff) | |
download | op-kernel-dev-bb07d7511e0884f913a0610d5f9a2f8a27914042.zip op-kernel-dev-bb07d7511e0884f913a0610d5f9a2f8a27914042.tar.gz |
ARM: mx3: Setup AIPS registers
It was observed on a mx31pdk board that audio playback only worked when the bootloader was Redboot, and
did not work when U-boot was used.
Comparing the sources of these bootloaders showed that the AIPS registers were not setup in U-boot.
Instead of relying on the bootloader to setup the AIPS registers, do it in the kernel so that audio
playback can work independantly of the bootloader being used.
Copied the AIPS settings from Redboot to the kernel.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx')
-rw-r--r-- | arch/arm/mach-imx/mm-imx3.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/mm-imx3.c b/arch/arm/mach-imx/mm-imx3.c index 905aafc..35ce8b5 100644 --- a/arch/arm/mach-imx/mm-imx3.c +++ b/arch/arm/mach-imx/mm-imx3.c @@ -177,6 +177,9 @@ void __init imx31_soc_init(void) } imx_add_imx_sdma("imx31-sdma", MX31_SDMA_BASE_ADDR, MX31_INT_SDMA, &imx31_sdma_pdata); + + imx_set_aips(MX31_IO_ADDRESS(MX31_AIPS1_BASE_ADDR)); + imx_set_aips(MX31_IO_ADDRESS(MX31_AIPS2_BASE_ADDR)); } #endif /* ifdef CONFIG_SOC_IMX31 */ |