summaryrefslogtreecommitdiff
path: root/include/axp152.h
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2014-10-11 18:42:57 +0200
committerMinkyu Kang <mk7.kang@samsung.com>2015-05-06 17:00:58 +0900
commit13cfd101dda099db55593fd42ddb6e387f2f3065 (patch)
treed7079418f3a1c661955641c52e89343bd7ae7243 /include/axp152.h
parent7b0c0f69a465661f7273c9343d017481dcdf2e39 (diff)
downloadu-boot-imx-13cfd101dda099db55593fd42ddb6e387f2f3065.zip
u-boot-imx-13cfd101dda099db55593fd42ddb6e387f2f3065.tar.gz
u-boot-imx-13cfd101dda099db55593fd42ddb6e387f2f3065.tar.bz2
gpio: s3c: Fix the GPIO driver
The GPIO driver didn't correctly compute the bank offset from the GPIO number and caused random writes into the GPIO block address space. Fix the driver so it actually does the writes correctly. While at it, make use of the clrsetbits_le32() mechanisms. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Kyungmin Park <kyungmin.park@samsung.com> Cc: Lukasz Majewski <l.majewski@samsung.com> Cc: Minkyu Kang <mk7.kang@samsung.com> Cc: Vladimir Zapolskiy <vz@mleia.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'include/axp152.h')
0 files changed, 0 insertions, 0 deletions