Simplify GPIO configuration
authorPiotr Dymacz <pepe2k@gmail.com>
Sun, 26 Nov 2017 16:46:59 +0000 (17:46 +0100)
committerPiotr Dymacz <pepe2k@gmail.com>
Wed, 29 Nov 2017 21:34:54 +0000 (22:34 +0100)
commitf161d99013a2e894f1cc51b65033673e2e0342b2
tree5d9b86abcf6742006cf8483e2f45525f482f315f
parent9ee05f51f0cb6cb1c7930807b652435467038990
Simplify GPIO configuration

Automatically include:

- reset button in GPIO input mask
- active low/high LEDs masks in GPIO init high/low masks
- GPIO init low/high masks in GPIO output mask

This makes per device GPIO configuration much shorter.
u-boot/common/cmd_qcagpio.c
u-boot/cpu/mips/ar7240/qca_gpio_init.S
u-boot/include/configs/ap121.h
u-boot/include/configs/ap143.h
u-boot/include/configs/db12x.h