diff options
author | davidcunado-arm <david.cunado@arm.com> | 2018-02-01 23:29:34 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-01 23:29:34 +0000 |
commit | 956defc7207150ecde2b1ecefffc61ea40a0fef3 (patch) | |
tree | 2c81cbd09823f116ebe38e01d08bdcd1302fa647 | |
parent | 693e278e308441d716f7f5116c43aa150955da31 (diff) | |
parent | de3c30073e2e781f4b579ee94fa8d00667042b97 (diff) |
Merge pull request #1247 from rockchip-linux/rk3399/fixes-memory-corruptions
rockchip/rk3399: Fix memory corruptions or illegal memory access
-rw-r--r-- | plat/rockchip/rk3399/drivers/pmu/pmu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plat/rockchip/rk3399/drivers/pmu/pmu.c b/plat/rockchip/rk3399/drivers/pmu/pmu.c index 51101a4e..f4893efe 100644 --- a/plat/rockchip/rk3399/drivers/pmu/pmu.c +++ b/plat/rockchip/rk3399/drivers/pmu/pmu.c @@ -33,7 +33,7 @@ DEFINE_BAKERY_LOCK(rockchip_pd_lock); static uint32_t cpu_warm_boot_addr; static char store_sram[SRAM_BIN_LIMIT + SRAM_TEXT_LIMIT + SRAM_DATA_LIMIT]; -static uint32_t store_cru[CRU_SDIO0_CON1 / 4]; +static uint32_t store_cru[CRU_SDIO0_CON1 / 4 + 1]; static uint32_t store_usbphy0[7]; static uint32_t store_usbphy1[7]; static uint32_t store_grf_io_vsel; |