GitLab has been upgraded to 13.11.3 If you encounter any issues mail code@riscosopen.org

Commit 045a679d authored by Jeffrey Lee's avatar Jeffrey Lee Committed by ROOL
Browse files

Fix debugging via UART0

HAL_QueryPlatform was attempting debug output before the debug
UART had been initialised. Since both the PL011 & MiniUART
configuration depends on getting/setting firmware values, fix it
by just removing the debug prints from HAL_QueryPlatform.
parent 9f19d29e
...@@ -101,11 +101,6 @@ HAL_SendHostMessage ROUT ...@@ -101,11 +101,6 @@ HAL_SendHostMessage ROUT
; ;
HAL_QueryPlatform ROUT HAL_QueryPlatform ROUT
STMFD R13!, {r0-r6, lr} STMFD R13!, {r0-r6, lr}
[ HALDebug
BL HAL_DebugTXStrInline
DCB "QueryPlatform",10,0
ALIGN
]
CPUDetect r4 CPUDetect r4
MOVCC r4, #GPU_L2CnonAl ; Pi 1 has L2 cache enabled MOVCC r4, #GPU_L2CnonAl ; Pi 1 has L2 cache enabled
MOVCS r4, #GPU_UnCached ; Pi 2 has L2 cache disabled MOVCS r4, #GPU_UnCached ; Pi 2 has L2 cache disabled
...@@ -229,11 +224,6 @@ gbit ; ...@@ -229,11 +224,6 @@ gbit ;
MOVNE a1, #-1 MOVNE a1, #-1
STR a1, SafetyCatch STR a1, SafetyCatch
10 10
[ HALDebug
BL HAL_DebugTXStrInline
DCB "QueryPlatform done",10,0
ALIGN
]
LDMFD R13!, {r0-r6, pc} LDMFD R13!, {r0-r6, pc}
; In: ; In:
......
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