F-9259: T2080 handoff sets TCR to 0

wolfBoot clears TCR to 0 (matching CW U-Boot pre-bootm); the
comment described the old 0x04000000 value.
pull/892/head
Daniele Lacamera 2026-09-16 12:14:13 +02:00
parent 96cd60d28d
commit d170977f50
1 changed files with 2 additions and 2 deletions

View File

@ -1703,8 +1703,8 @@ void hal_prepare_boot(void)
* profile when chasing VxWorks 7 64-bit silent boot:
* - DUART1 MCR = 3 (DTR+RTS asserted; U-Boot sets this, our driver
* leaves it at the post-reset 0)
* - TCR = 0x04000000 (matches U-Boot's leftover; wolfBoot was clearing
* it; VxWorks 7 BSP early code may inherit) */
* - TCR = 0 (matches CW U-Boot's pre-bootm value; a nonzero WRC would let
* the watchdog fire silently after VxWorks starts) */
void RAMFUNCTION hal_flash_cache_disable_pre_os(void)
{
hal_flash_cache_disable();