[processor-sdk/performance-audio-sr.git] / pasdk / test_dsp / application / itopo / evmk2g / atboot.c
diff --git a/pasdk/test_dsp/application/itopo/evmk2g/atboot.c b/pasdk/test_dsp/application/itopo/evmk2g/atboot.c
index 21d86adab8f2b13f26bf3ac689c5d1517fdbe96c..b20d170c3cccef8db5b2d9b88b604d3b72ce46b5 100644 (file)
/*
-Copyright (c) 2016, Texas Instruments Incorporated - http://www.ti.com/
+Copyright (c) 2017, Texas Instruments Incorporated - http://www.ti.com/
All rights reserved.
* Redistribution and use in source and binary forms, with or without
#include "dbgBenchmark.h" // PCM high-sampling rate + SRC + CAR benchmarking
+#ifdef DTS_BUILD
+#define DTS_ATBOOT_CFG 1
+#endif
+
+#ifdef DTS_ATBOOT_CFG
+//DTS_ATBOOT_CFG
+#define CUS_ATBOOT_S \
+ writeDECChannelMapTo16(PAF_LEFT,PAF_RGHT,8,9,2,12,10,11,-3,-3,-3,-3,-3,-3,-3,-3), \
+ writeENCChannelMapFrom16(PAF_LEFT,PAF_RGHT,8,9,2,12,10,11,-3,-3,-3,-3,-3,-3,-3,-3), \
+ writeVOLControlMasterN(0), \
+ writeVOLOffsetMasterN(0x7fff), \
+ writeSYSRecreationModeDirect, \
+ writeSYSChannelConfigurationRequestSurround4_1, \
+ execPAIOutAnalog, \
+ execPAIInHDMIStereo
+#else
+//Not DTS_ATBOOT_CFG
+
#ifndef DDP_ATBOOT_CFG
//
// NOT DDP at-boot configuration
execPAIInHDMIStereo
#endif // DDP_ATBOOT_CFG
+#endif // NOT DTS_ATBOOT_CFG
#pragma DATA_SECTION(cus_atboot_s0_patch, ".none")
const ACP_Unit cus_atboot_s0_patch[] = {