]> git.sur5r.net Git - u-boot/commit
dm: sunxi: Add pinmux functions which take a bank parameter
authorSimon Glass <sjg@chromium.org>
Fri, 31 Oct 2014 02:25:47 +0000 (20:25 -0600)
committerHans de Goede <hdegoede@redhat.com>
Wed, 5 Nov 2014 12:09:58 +0000 (13:09 +0100)
commitbf38891af26c7a5016bdf5b73e8f61f8063e0138
tree6328c0703a9a44b4c2c13c4da573405049943d5b
parent57f878efe5b2a588a4bbd56412529034978facd0
dm: sunxi: Add pinmux functions which take a bank parameter

With driver model we will have access to a bank pointer, so we want to
use it rather than converting back to a number, and then back to a
bank pointer. Add functions to provide this feature.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
arch/arm/cpu/armv7/sunxi/pinmux.c
arch/arm/include/asm/arch-sunxi/gpio.h