Commit a634aca4 authored by Jeffrey Lee's avatar Jeffrey Lee Committed by Ben Avison
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 8d1e74f8
...@@ -4,18 +4,18 @@ ...@@ -4,18 +4,18 @@
* *
*/ */
#define Module_MajorVersion_CMHG 0.82 #define Module_MajorVersion_CMHG 0.82
#define Module_MinorVersion_CMHG Pi4.9 #define Module_MinorVersion_CMHG Pi4.10
#define Module_Date_CMHG 18 Feb 2020 #define Module_Date_CMHG 18 Feb 2020
#define Module_MajorVersion "0.82" #define Module_MajorVersion "0.82"
#define Module_Version 82 #define Module_Version 82
#define Module_MinorVersion "Pi4.9" #define Module_MinorVersion "Pi4.10"
#define Module_Date "18 Feb 2020" #define Module_Date "18 Feb 2020"
#define Module_ApplicationDate "18-Feb-20" #define Module_ApplicationDate "18-Feb-20"
#define Module_ComponentName "HAL_BCM2835" #define Module_ComponentName "HAL_BCM2835"
#define Module_FullVersion "0.82 (Pi4.9)" #define Module_FullVersion "0.82 (Pi4.10)"
#define Module_HelpVersion "0.82 (18 Feb 2020) Pi4.9" #define Module_HelpVersion "0.82 (18 Feb 2020) Pi4.10"
#define Module_LibraryVersionInfo "0:82" #define Module_LibraryVersionInfo "0:82"
...@@ -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