ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
trustzone_init.h
Go to the documentation of this file.
1
14
15#pragma once
16
17#include <stdint.h>
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
40extern volatile uint32_t g_tz_usb_psarb_readback;
42extern volatile uint32_t g_tz_usb_pins_err;
44extern volatile uint32_t g_tz_usb_expander_err;
46extern volatile uint32_t g_tz_jump_ns_err;
48
75void ra8_trustzone_init(void);
76
77#ifdef __cplusplus
78}
79#endif
void ra8_trustzone_init(void)
Programme the SAU + SRAM NS boundary and copy the NS image (no BLXNS).
volatile uint32_t g_tz_usb_pins_err
First non-OK ra8_err_t from the USB pin + PLL setup (0 = OK).
volatile uint32_t g_tz_usb_psarb_readback
Confirmed PSARB read-back after the USBFS NS-attribution write.
volatile uint32_t g_tz_usb_expander_err
Last ra8_err_t from the U15 I/O-expander host-mode write (0 = OK).
volatile uint32_t g_tz_jump_ns_err
Denial verdict from ra8_tz_secure_boot_jump_ns (0 = never denied).