]> git.ipfire.org Git - people/ms/u-boot.git/commit - board/sunxi/board.c
sunxi: GPIO pin mux hardware-feature-specific function index defines
authorPaul Kocialkowski <contact@paulk.fr>
Sun, 22 Mar 2015 17:12:22 +0000 (18:12 +0100)
committerHans de Goede <hdegoede@redhat.com>
Wed, 15 Apr 2015 14:17:17 +0000 (16:17 +0200)
commit487b3277d4f70bcb2e4a1930beb6438565f25910
treecc74dd0cd05c1be8af48cd1ca95c4b6f949b8712
parent81f11872f3315a767940820e46d1a15b42d9b60c
sunxi: GPIO pin mux hardware-feature-specific function index defines

Each hardware feature exposed through the GPIO pin mux is usually using the same
function index (for a given port), so there is no need to define one value per
pin: one value per hardware feature per port is sufficient, avoids duplication
and makes everything easier to understand.

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
arch/arm/cpu/armv7/sunxi/board.c
arch/arm/cpu/armv7/sunxi/rsb.c
arch/arm/include/asm/arch-sunxi/gpio.h
board/sunxi/board.c
board/sunxi/gmac.c
drivers/net/sunxi_emac.c
drivers/video/sunxi_display.c