rockchip: gpio: Correct rk3399 pmu gpio pull setting
commit7c5eb073e784a334d295bc533c07df827e47839e
authorLin Huang <hl@rock-chips.com>
Thu, 3 Aug 2017 06:51:41 +0000 (3 14:51 +0800)
committerMartin Roth <martinroth@google.com>
Sun, 6 Aug 2017 23:21:02 +0000 (6 23:21 +0000)
treed5fc9c29745edcd16d3eb144251f5aa8d65f339f
parent589474fec768f7dcc95222c5791839f16c1d7e6e
rockchip: gpio: Correct rk3399 pmu gpio pull setting

Starting with RK3399, PMUGPIO pull registers use the same write mask
format as normal GRF registers, so they need to use RK_CLRSETBITS()
rather than clrsetbits_le32().

BRANCH=None
BUG=None
TEST=boot from scarlet

Change-Id: Ibe391273d58ab35df993e149187d67497fcf2acc
Signed-off-by: Lin Huang <hl@rock-chips.com>
Reviewed-on: https://review.coreboot.org/20871
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Julius Werner <jwerner@chromium.org>
src/soc/rockchip/common/gpio.c