i.MX: HABv4: implement interface for i.MX8MQ
The HAB interface for i.MX8MQ only implements the retrieval of status and events. The SoC status is retrieved using the TF-A SIP API found in the downstream imx TF-A. After calling into the TF-A the passed data structures need to be invalidated, since otherwise the cached zero value is used. Currently the TF-A report event call only supports FAILURE events. Testing the TF-A with other event types resulted in a freeze in the bootrom code, which was not investigated further. We instead walk the memory containing the events and retrieve the events ourselves. They are exposed using the same API. Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> |
---|
|
drivers/hab/hab.c |
---|
drivers/hab/habv4.c |
---|