Commit afb6e747 authored by Robert Sprowson's avatar Robert Sprowson
Browse files

Turn off debug

Anyone using the serial port for other peripheral uses might get confused if some HAL debug comes out on it.
Move the IMPORTs into a header so we don't end up with lots of unresolved symbols with Debug {FALSE}.
Built, but not tested.

Version 0.44. Tagged as 'OMAP4-0_44'
parent 9d1f18cb
/* (0.43)
/* (0.44)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
*
*/
#define Module_MajorVersion_CMHG 0.43
#define Module_MajorVersion_CMHG 0.44
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 06 Apr 2015
#define Module_Date_CMHG 08 Apr 2015
#define Module_MajorVersion "0.43"
#define Module_Version 43
#define Module_MajorVersion "0.44"
#define Module_Version 44
#define Module_MinorVersion ""
#define Module_Date "06 Apr 2015"
#define Module_Date "08 Apr 2015"
#define Module_ApplicationDate "06-Apr-15"
#define Module_ApplicationDate "08-Apr-15"
#define Module_ComponentName "OMAP4"
#define Module_ComponentPath "castle/RiscOS/Sources/HAL/OMAP4"
#define Module_FullVersion "0.43"
#define Module_HelpVersion "0.43 (06 Apr 2015)"
#define Module_LibraryVersionInfo "0:43"
#define Module_FullVersion "0.44"
#define Module_HelpVersion "0.44 (08 Apr 2015)"
#define Module_LibraryVersionInfo "0:44"
......@@ -18,7 +18,7 @@
; Debugging in the serial port (UART 3)
GBLL Debug
Debug SETL {TRUE}
Debug SETL {FALSE}
; Boot timings using the 32KHz timer
GBLL DebugTiming
......@@ -253,11 +253,17 @@ HAWKEYE_OMAP4460_ES10 * &B94E ; OMAP4460 ES1.0 and ES1.1
REVISION_OMAP4460_ES10 * 0 ; x
REVISION_OMAP4460_ES11 * 2 ; x
[ Debug
IMPORT DebugHALPrint
IMPORT DebugHALPrintReg
IMPORT DebugHALPrintByte
IMPORT DebugCallstack
IMPORT DebugMemDump
]
MACRO
DebugChar $temp1,$temp2,$char
[ Debug :LAND: {FALSE}
; [ Debug
LDR $temp1,[sb, #BoardConfig_DebugUART]
MOV $temp2,#$char
STRB $temp2,[$temp1]
......
......@@ -40,8 +40,6 @@
IMPORT TPSWrite
IMPORT memcpy
IMPORT DebugHALPrint
IMPORT DebugHALPrintReg
IMPORT HAL_IRQClear
IMPORT HAL_CounterDelay
IMPORT GPIOx_SetAsOutput
......
......@@ -55,11 +55,7 @@ UseSR44x SETL {TRUE}
EXPORT rom_checkedout_ok
IMPORT HAL_Base
IMPORT DebugHALPrint
IMPORT DebugHALPrintReg
IMPORT DebugHALPrintByte
IMPORT RTC_Init
IMPORT DebugCallstack
IMPORT SR44x_Init
IMPORT SR44x_Exit
IMPORT PowerCtrl_Init
......
......@@ -35,8 +35,6 @@
EXPORT GPIOx_SetOutput
EXPORT GPIOx_SetAndEnableIRQ
EXPORT GPIO_InitDevice
IMPORT DebugHALPrint
IMPORT DebugHALPrintReg
IMPORT memcpy
GPIO_Init
......
......@@ -74,14 +74,6 @@ I2CDebugError SETL {FALSE} :LAND: Debug
GBLL I2C_USE_FIFO
I2C_USE_FIFO SETL {FALSE}
[ I2CDebug :LOR: I2CDebugError
IMPORT DebugHALPrint
IMPORT DebugHALPrintReg
IMPORT DebugMemDump
IMPORT DebugHALPrintByte
]
I2C_Init
Push "v1-v3,lr"
[ I2CDebug
......
......@@ -42,12 +42,6 @@
EXPORT HAL_FIQStatus
EXPORT HAL_IRQMax
[ DebugInterrupts
IMPORT DebugHALPrint
IMPORT DebugHALPrintReg
IMPORT DebugHALPrintByte
]
; Debug flag to cause the DebugInterrupts noncleared IRQ detection code to disable the source
; of the noncleared interrupt. This can be useful in debugging issues that cause the
; nonclearance of the IRQ, e.g. if an IRQ handler aborts before it's able to call IRQClear.
......
......@@ -46,12 +46,6 @@
GBLL KbdDebug
KbdDebug SETL {FALSE} :LAND: Debug
[ KbdDebug
IMPORT DebugHALPrint
IMPORT DebugHALPrintReg
IMPORT DebugMemDump
IMPORT DebugHALPrintByte
]
; These constants are used by the USB libraries
USBHAL_WorkspaceOffset * :INDEX:USBHAL_WS
USBHAL_OSentriesOffset * :INDEX:OSentries
......
......@@ -35,8 +35,6 @@
EXPORT SDMA_Init
IMPORT memcpy
IMPORT DebugHALPrint
IMPORT DebugHALPrintReg
IMPORT HAL_IRQClear
IMPORT HAL_FIQClear
IMPORT HAL_CounterDelay
......
......@@ -128,9 +128,6 @@ NoIRQforPLL SETL {FALSE}
[ DebugSR44x
IMPORT DebugHALPrint
IMPORT DebugHALPrintReg
MACRO
DumpReg $base, $reg
DebugTX "$reg"
......
......@@ -37,8 +37,6 @@
IMPORT rom_checkedout_ok
EXPORT HAL_Base
IMPORT HAL_DebugTX
IMPORT DebugHALPrint
IMPORT DebugHALPrintReg
; Using the DMA controller to relocate the ROM image is much faster than doing it with the CPU
GBLL Use_DMA_Copy
......
......@@ -38,7 +38,6 @@
EXPORT HAL_USBControllerInfo
IMPORT HAL_CounterDelay
IMPORT DebugHALPrintReg
IMPORT GPIOx_SetAsOutput
IMPORT GPIOx_SetOutput
......
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