rockchip/rk3399: Fix memory corruptions or illegal memory access
Coverity scan done for the coreboot project found the issue:
Coverity (*** CID 1385418: Memory - illegal accesses (OVERRUN))
Coverity (*** CID 1385419: Memory - corruptions  (OVERRUN))

Fix the Converity error issue with store_cru[] loop needs to be one
element bigger.

Fixes: ARM-software/tf-issues#544

Change-Id: I420f0a660b24baaa5fc5e78fca242cf750c9bbc7
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
1 parent e47541a commit de3c30073e2e781f4b579ee94fa8d00667042b97
@Caesar Wang Caesar Wang authored on 29 Jan 2018
Showing 1 changed file
View
plat/rockchip/rk3399/drivers/pmu/pmu.c