RZ/G2 ARM Trusted Firmware
← RZ-G
Hardware setup code
Since arm-trusted-firmware is the first software to run after RESET, a minimal set of peripherals need to be configured and used.
Some required configurations are as follows:
- PFC: For pin control setting to change from default GPIO pins to peripheral pins
- DBSC4, AXI: For memory DDR setting, and QoS setting
- GPIO, I2C: For controlling PMIC
- SCIF: For output message to debug serial
- WDT: If timeout detection is being used
- CPG: For enabling above modules
- SPI: If the bootloader images are stored in SPI flash
- SDHI, MMC: If the bootloader images are stored in SD card or eMMC.