1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <device/mmio.h>
6 #define SSPM_SRAM_CON (SPM_BASE + 0xEE4)
7 #define SPM_PRJ_CODE 0xB160001
8 #define SSPM_SRAM_SLEEP_B 0x10
9 #define SSPM_SRAM_ISOINT_B 0x2
11 void sspm_enable_sram(void)
13 write32p(SPM_BASE
, SPM_PRJ_CODE
);
14 write32p(SSPM_SRAM_CON
, SSPM_SRAM_SLEEP_B
| SSPM_SRAM_ISOINT_B
);