summaryrefslogtreecommitdiff
path: root/soc
diff options
context:
space:
mode:
authorJun Yu <yujun@marvell.com>2015-11-09 12:08:23 -0800
committerMohammed Habibulla <moch@google.com>2015-12-08 11:01:52 -0800
commit8ce9a6c153cf6205a9acb579a6a304351170fee5 (patch)
treec448ab70f24cb989aad7751a863f582c9ac90e73 /soc
parent19a55c0cf21b4a83fcd893f1d3bd7ae55b7ed975 (diff)
downloadmarvell-8ce9a6c153cf6205a9acb579a6a304351170fee5.tar.gz
Upload the Audio HAL Source Code
1) Because andromeda board only support headset output. So default audio path sets as headset and the speaker audio path also routes to headset output. 2) To remove the libxml2 dependency to libexpat BUG=25592980 Change-Id: I18a619a23637f0c1329bc68ff867bed0f8aca1c5
Diffstat (limited to 'soc')
-rw-r--r--soc/iap140/modules/audio_hal_module.mk20
1 files changed, 14 insertions, 6 deletions
diff --git a/soc/iap140/modules/audio_hal_module.mk b/soc/iap140/modules/audio_hal_module.mk
index d88c954..a9c40e3 100644
--- a/soc/iap140/modules/audio_hal_module.mk
+++ b/soc/iap140/modules/audio_hal_module.mk
@@ -14,17 +14,25 @@
# limitations under the License.
#
-# audio modules
-PRODUCT_COPY_FILES += \
- $(TOP)/vendor/bsp/marvell/device/abox_edge/hal/audio/libacm.so:system/lib/libacm.so \
- $(TOP)/vendor/bsp/marvell/device/abox_edge/hal/audio/libxml2.so:system/lib/libxml2.so \
- $(TOP)/vendor/bsp/marvell/device/abox_edge/hal/audio/audio.primary.mrvl.so:system/lib/hw/audio.primary.mrvl.so
+# Audio Component Config
+BOARD_AUDIO_COMPONENT_APU := MAP-LITE
+BOARD_ENABLE_ADVANCED_AUDIO := false
+
+# Audio Config
+BOARD_WITH_STEREO_SPKR := false
+# Route audio speaker to headset output
+BOARD_WITH_HEADSET_OUTPUT_ONLY := true
+
+# Audio modules
PRODUCT_COPY_FILES += \
$(TOP)/hardware/bsp/marvell/peripheral/audio/audio_policy.conf:/system/etc/audio_policy.conf \
$(TOP)/hardware/bsp/marvell/peripheral/audio/platform_audio_config.xml:/system/etc/platform_audio_config.xml
PRODUCT_PACKAGES += \
- libaudioutils
+ libaudioutils
+
+DEVICE_PACKAGES += \
+ audio.primary.mrvl
-include hardware/bsp/marvell/peripheral/audio/audio_xml/iap140.mk