• Caesar Wang's avatar
    rockchip/rk3399: Fix memory corruptions or illegal memory access · de3c3007
    Caesar Wang authored
    
    
    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: default avatarCaesar Wang <wxt@rock-chips.com>
    de3c3007
pmu.c 45.9 KB