diff options
author | Derek Basehore <dbasehore@chromium.org> | 2016-06-23 14:28:12 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-07-15 00:37:16 +0200 |
commit | f3b3ccfe7327232d5e3cc082a0176ae7230e0b6c (patch) | |
tree | 80d52b61cc812189d9b58e9fb25686f8213c7d50 /src/soc/rockchip/rk3399/gpio.c | |
parent | 1dd0bc0f609e689d08decf26ec16298784740381 (diff) |
rockchip/rk3399: Directly access variables in sdram.c
This simplifies some of the code with better variable declaractions
which removes a lot of line continuations. Instead of declaring a
pointer to the container of the needed struct or array, this retrieves
a pointer to the struct or array instead.
BRANCH=none
BUG=none
TEST=check that gru and kevin still build and boot properly followed
by running "stressapptest -M 1024 -s 1000" and making sure it passes
Change-Id: I34a9be0f35981c03a6b0c27a870981a5f69cecc0
Signed-off-by: Martin Roth <martinroth@chromium.org>
Original-Commit-Id: 5c17449fcdfbe83ec75a3a006aaf7393c66006b7
Original-Change-Id: If4e386d4029f17d811fa3ce83e5be89e661a7b11
Original-Signed-off-by: Derek Basehore <dbasehore@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/354162
Original-Reviewed-by: Martin Roth <martinroth@chromium.org>
Original-Reviewed-by: Stefan Reinauer <reinauer@google.com>
Reviewed-on: https://review.coreboot.org/15655
Tested-by: build bot (Jenkins)
Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/soc/rockchip/rk3399/gpio.c')
0 files changed, 0 insertions, 0 deletions