Page MenuHomePhabricator

Add platform-specific HW initialization
Open, Needs TriagePublic

Description

Some platforms, such as PSoC 6, define software variables to contain peripheral status and configurations during peripheral initialization for further use during program running. Those peripheral initialization step should be put after C library init. Otherwise, C library init will clear up the status/configuration variables and platform drivers will receive empty status/configuration values.

It requires to define and implement a generic platform peripheral setup step, in BL2, TF-M and NS demo side, to set the peripheral status and configuration.

Event Timeline