Add atoll target for audio hal.
Add atoll target for audio hal.
Change-Id: Iccc9568403daed4acef94724bee655fe8d5d2aa9
diff --git a/hal/msm8974/platform.c b/hal/msm8974/platform.c
index 3d89032..44b453c 100644
--- a/hal/msm8974/platform.c
+++ b/hal/msm8974/platform.c
@@ -89,7 +89,9 @@
defined (PLATFORM_QCS605) || defined (PLATFORM_MSMNILE) || \
defined (PLATFORM_KONA) || defined (PLATFORM_MSMSTEPPE) || \
defined (PLATFORM_QCS405) || defined (PLATFORM_TRINKET) || \
- defined (PLATFORM_LITO) || defined (PLATFORM_MSMFALCON)
+ defined (PLATFORM_LITO) || defined (PLATFORM_MSMFALCON) || \
+ defined (PLATFORM_ATOLL)
+
#include <sound/devdep_params.h>
#endif
@@ -10613,7 +10615,8 @@
defined (PLATFORM_QCS605) || defined (PLATFORM_MSMNILE) || \
defined (PLATFORM_KONA) || defined (PLATFORM_MSMSTEPPE) || \
defined (PLATFORM_QCS405) || defined (PLATFORM_TRINKET) || \
- defined (PLATFORM_LITO) || defined (PLATFORM_MSMFALCON)
+ defined (PLATFORM_LITO) || defined (PLATFORM_MSMFALCON) || \
+ defined (PLATFORM_ATOLL)
int platform_get_mmap_data_fd(void *platform, int fe_dev, int dir, int *fd,
uint32_t *size)
{
diff --git a/hal/msm8974/platform.h b/hal/msm8974/platform.h
index 1d56a7e..13f85e6 100644
--- a/hal/msm8974/platform.h
+++ b/hal/msm8974/platform.h
@@ -480,7 +480,8 @@
defined (PLATFORM_QCS605) ||defined (PLATFORM_SDX24) || \
defined (PLATFORM_MSMNILE) || defined (PLATFORM_KONA) || \
defined (PLATFORM_MSMSTEPPE) || defined (PLATFORM_QCS405) || \
- defined (PLATFORM_TRINKET) || defined (PLATFORM_LITO)
+ defined (PLATFORM_TRINKET) || defined (PLATFORM_LITO) || \
+ defined (PLATFORM_ATOLL)
#define PLAYBACK_OFFLOAD_DEVICE2 17
#elif defined (PLATFORM_MSMFALCON) || defined (PLATFORM_MSM8937)
#define PLAYBACK_OFFLOAD_DEVICE2 24
@@ -493,7 +494,7 @@
defined (PLATFORM_KONA) || defined (PLATFORM_MSMSTEPPE) || \
defined (PLATFORM_QCS405) || defined (PLATFORM_TRINKET) || \
defined (PLATFORM_LITO) || defined (PLATFORM_MSMFALCON) || \
- defined (PLATFORM_MSM8937)
+ defined (PLATFORM_MSM8937) || defined (PLATFORM_ATOLL)
#define PLAYBACK_OFFLOAD_DEVICE3 18
#define PLAYBACK_OFFLOAD_DEVICE4 34
#define PLAYBACK_OFFLOAD_DEVICE5 35