summaryrefslogtreecommitdiff
path: root/src/soc/rockchip/rk3399/saradc.c
diff options
context:
space:
mode:
authorDerek Basehore <dbasehore@chromium.org>2016-06-23 14:24:36 -0700
committerMartin Roth <martinroth@google.com>2016-07-15 00:36:57 +0200
commitd570a5ada0015c9efeec2a1f4914bb5e36e7f3d8 (patch)
tree5c5a911874213a794ccc838c75469a3fbc001e73 /src/soc/rockchip/rk3399/saradc.c
parent3030eaf55ee9acea7814be66346c521babfb7738 (diff)
rockchip/rk3399: add/remove local variables to sdram_init
This adds two local variables for dramtype and ddr_freq to sdram_init since those two values are commonly used in the function. It also removes a variable that is just used once and directly uses the value for a function call instead. BRANCH=none BUG=none TEST=on kevin/gru, run "stressapptest -M 1024 -s 3600" and check that it passes Change-Id: I4e9dbc97803ff3300b52a5e1672e7e060af2cc85 Signed-off-by: Martin Roth <martinroth@chromium.org> Original-Commit-Id: b7d1135c65298a73e6bf2a4a34b7c9b84f249ea8 Original-Change-Id: I4e1a1a4a8848d0eab07475a336c24bda90b2c9f8 Original-Signed-off-by: Derek Basehore <dbasehore@chromium.org> Original-Reviewed-on: https://chromium-review.googlesource.com/355666 Original-Reviewed-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: https://review.coreboot.org/15653 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/soc/rockchip/rk3399/saradc.c')
0 files changed, 0 insertions, 0 deletions