Go to the source code of this file.
◆ SUNXI_A27L_START_ADD_REG
◆ SUNXI_A27L_STATUS
| #define SUNXI_A27L_STATUS (0x1 << 12) |
◆ SUNXI_A27L_WAKUP_EN
| #define SUNXI_A27L_WAKUP_EN (0x1 << 8) |
◆ SUNXI_A27L_WFI_MODE_REG
◆ SUNXI_E907_LPMD_MODE_LILGHTSLP
| #define SUNXI_E907_LPMD_MODE_LILGHTSLP "0x4" |
◆ SUNXI_E907_LPMD_MODE_MASK
| #define SUNXI_E907_LPMD_MODE_MASK "0xC" |
◆ SUNXI_LP_STATUS_REG
◆ SUNXI_WAKUP_CTRL_REG
◆ sunxi_ansc_boot()
Boot the A27L2 processor.
This function configures clocks, reset controls, and cache settings to boot the A27L processor. It performs a series of hardware register operations to ensure the processor is in the correct state during boot-up.
- Parameters
-
| addr | The address to start the A27L processor. This is typically the entry point of a program or firmware. |
- Note
- This function disables interrupts on entry and performs necessary clock and reset settings before booting the A27L2 processor.
- Ensure that relevant registers and addresses are properly initialized before calling this function.
- The function uses assembly instructions to directly manipulate hardware registers, thus requiring the compiler to understand the embedded assembly code.
- Warning
- Make sure the relevant hardware state is ready before invoking this function to avoid undefined behavior.