Rockchip: Add some debug assertions in the PMU driver
This patch adds some debug assertions ensuring that array indices
are within the bounds of the array.

Change-Id: I96ee81d14834c1e92cdfb7e60b49995cdacfd93a
1 parent 8fc8357 commit 80fb66b3e62f48c9ea55b14796bf7fcc3f3a869d
@Sandrine Bailleux Sandrine Bailleux authored on 5 May 2016
Showing 2 changed files
View
plat/rockchip/rk3368/drivers/pmu/pmu.c
View
plat/rockchip/rk3399/drivers/pmu/pmu.c