Merge pull request #40 from xiulipan/daiindex

dai index alignment
This commit is contained in:
Liam Girdwood 2018-07-24 10:00:46 +01:00 committed by GitHub
commit d542a6eff6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 4 deletions

View File

@ -132,14 +132,17 @@ define(`DAI_CONFIG',
`'
` ifelse($1, `SSP', $5, `}')'
`ifelse($1, `DMIC', $5, `')'
`SectionVendorTuples."'N_DAI_CONFIG($1$2)`_tuples_str" {'
`SectionVendorTuples."'N_DAI_CONFIG($1$2)`_tuples_common" {'
` tokens "sof_dai_tokens"'
` tuples."string" {'
` SOF_TKN_DAI_TYPE' STR($1)
` }'
` tuples."word" {'
` SOF_TKN_DAI_INDEX' STR($2)
` }'
`}'
`SectionData."'N_DAI_CONFIG($1$2)`_data_str" {'
` tuples "'N_DAI_CONFIG($1$2)`_tuples_str"'
`SectionData."'N_DAI_CONFIG($1$2)`_data_common" {'
` tuples "'N_DAI_CONFIG($1$2)`_tuples_common"'
`}'
`'
`SectionBE."'$4`" {'
@ -152,7 +155,7 @@ define(`DAI_CONFIG',
` ]'
` data ['
` "'N_DAI_CONFIG($1$2)`_data"'
` "'N_DAI_CONFIG($1$2)`_data_str"'
` "'N_DAI_CONFIG($1$2)`_data_common"'
`ifelse($1, `DMIC',` "'N_DAI_CONFIG($1$2)`_pdm_data"', `')'
` ]'
`}')