ast27x0: Fix missing SCU module reset for SSP and TSP initialization

Fix SSP and TSP boot failure caused by missing SCU reset control. This commit adds
SCU modrst1/modrst2 reset logic to ssp_init() and tsp_init(). Without proper reset
release, SSP and TSP CPUs stay in reset and cannot start. Also adds missing SCU
register fields and reset bit definitions for SSP (BIT(30)) and TSP (BIT(9)).

Fixes: 80768e4 ("ast27x0: Initialize and enable SSP/TSP using SCU with reserved-
memory from DTB")
Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
2 files changed
tree: 173b4d4990d1204cfbfbfa701daf19cf1ea11750
  1. ast27x0/
  2. lib/
  3. npcm7xx/
  4. npcm8xx/
  5. .gitignore
  6. CONTRIBUTING.md
  7. LICENSE
  8. README.md
README.md

Virtual Boot ROM for NPCM and ASPEED SoCs

This repository contains simple Boot ROMs for Nuvoton and ASPEED based BMC images that are intended to be used by QEMU when emulating NPCM and ASPEED based machines.

Subdirectories

npcm7xx: This subdir contains Boot ROM for NPCM7XX, a 32-bit ARM image. npcm8xx: This subdir contains Boot ROM for NPCM8XX, a 64-bit ARM image. ast27x0: This subdir contains Boot ROM for AST27X0, a 64-bit ARM image.