rk3399: clean up sdram controller initialization code

Hardware / Coreboot - Vadim Bendebury [chromium.org] - 24 June 2016 13:53 UTC

This is a purely cosmetic change replacing some of the more prominent copy and paste sections of the code with compressed versions of the same.

BRANCH=none BUG=none TEST=with the rest of the patches applied stressapptest still runs for an hour on both Kevin and Gru.

Change-Id: I492e1898e312473d07d9e5eceb3e3e10b48ee35f

ad6960c rk3399: clean up sdram controller initialization code
src/soc/rockchip/rk3399/sdram.c | 233 +++++++++++++++------------------------
1 file changed, 87 insertions(+), 146 deletions(-)

Upstream: review.coreboot.org


  • Share