Commit 9d1f18cb authored by Robert Sprowson's avatar Robert Sprowson
Browse files

Build fix

Updated for Sound0HAL-1_80.

Version 0.43. Tagged as 'OMAP4-0_43'
parent 3ba5ff4b
/* (0.42)
/* (0.43)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
*
*/
#define Module_MajorVersion_CMHG 0.42
#define Module_MajorVersion_CMHG 0.43
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 17 Jan 2015
#define Module_Date_CMHG 06 Apr 2015
#define Module_MajorVersion "0.42"
#define Module_Version 42
#define Module_MajorVersion "0.43"
#define Module_Version 43
#define Module_MinorVersion ""
#define Module_Date "17 Jan 2015"
#define Module_Date "06 Apr 2015"
#define Module_ApplicationDate "17-Jan-15"
#define Module_ApplicationDate "06-Apr-15"
#define Module_ComponentName "OMAP4"
#define Module_ComponentPath "castle/RiscOS/Sources/HAL/OMAP4"
#define Module_FullVersion "0.42"
#define Module_HelpVersion "0.42 (17 Jan 2015)"
#define Module_LibraryVersionInfo "0:42"
#define Module_FullVersion "0.43"
#define Module_HelpVersion "0.43 (06 Apr 2015)"
#define Module_LibraryVersionInfo "0:43"
......@@ -398,7 +398,7 @@ $lab DCD $freq*1024 ; frequency value as reported by Sound_S
numrate SETA numrate+1
MEND
ASSERT HALDevice_AudioRateTableSize = 8
ASSERT AudioRateTableSize = 8
; short forms for mode
MODE_1920 * (TWL6040_LPLLENA + 0)
......@@ -458,7 +458,7 @@ AudioTemplate
DCD AudioSetRate ; SetRate function
; extra fields for API 2.0
DCD 0 ; AudioCustomDMAEnable
DCD HALDevice_AudioFlag_StereoReverse ; map R-L to L-R
DCD AudioFlag_StereoReverse ; map R-L to L-R
DCD 0 ; AudioMinBuffSize
DCD 0 ; AudioBuffAlign
ASSERT (. - AudioTemplate) = HALDevice_Audio_Size_2
......@@ -734,7 +734,7 @@ IRQHandle
; if we allow the IRQ to keep firing
STR a2, [a3, #MCPDM_IRQENABLE_CLR]
STR a2, [a3, #MCPDM_IRQSTATUS] ; clear all possible causes
MOV a1, #1
MOV a1, #AudioIRQHandle_RequestReset
MOV pc, lr
|
; restart the PDM channels and go on
......@@ -755,7 +755,7 @@ IRQHandle
LDRB a1, AudioChannels
ORR a2, a2, a1 ; reenable channels
STR a2, [a3, #MCPDM_CTRL]
MOV a1, #0
MOV a1, #AudioIRQHandle_NOP
MOV pc, lr
]
......@@ -768,7 +768,7 @@ AudioSetRate
]
; Reload TWL6040_REG_LPPLLCTL with the required value
ADRL a3, ratetab
ASSERT HALDevice_AudioRateTableSize = 8
ASSERT AudioRateTableSize = 8
ADD a3, a3, a2, LSL #3
LDRB a4, [a3, #6]
LDRB a3, [a3, #5]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment