diff options
Diffstat (limited to 'plat/rockchip/rk3399/drivers/soc/soc.h')
-rw-r--r-- | plat/rockchip/rk3399/drivers/soc/soc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plat/rockchip/rk3399/drivers/soc/soc.h b/plat/rockchip/rk3399/drivers/soc/soc.h index 37188946..03da025b 100644 --- a/plat/rockchip/rk3399/drivers/soc/soc.h +++ b/plat/rockchip/rk3399/drivers/soc/soc.h @@ -273,9 +273,13 @@ struct deepsleep_data_s { #define SGRF_PMU_SLV_CON1_CFG (SGRF_SLV_S_WMSK | \ SGRF_PMUSRAM_S) /* ddr region */ +#define SGRF_DDR_RGN_0_16_WMSK 0x0fff /* DDR RGN 0~16 size mask */ + #define SGRF_DDR_RGN_DPLL_CLK BIT_WITH_WMSK(15) /* DDR PLL output clock */ #define SGRF_DDR_RGN_RTC_CLK BIT_WITH_WMSK(14) /* 32K clock for DDR PLL */ #define SGRF_DDR_RGN_BYPS BIT_WITH_WMSK(9) /* All of ddr rgn is ns */ +/* All security of the DDR RGNs are not bypass */ +#define SGRF_DDR_RGN_NO_BYPS WMSK_BIT(9) /* The MST access the ddr rgn n with secure attribution */ #define SGRF_L_MST_S_DDR_RGN(n) BIT_WITH_WMSK((n)) |