u-boot/arch/microblaze
Michal Simek 4e779ad2e5 gpio: Add support for microblaze xilinx GPIO
Microblaze uses gpio which is connected to the system reset.
Currently gpio subsystem wasn't used for it.

Add gpio driver and change Microblaze reset logic to be done
via gpio subsystem.

There are various configurations which Microblaze can have
that's why gpio_alloc/gpio_alloc_dual(for dual channel)
function has been introduced and gpio can be allocated
dynamically.

Adding several gpios IP is also possible and supported.

For listing gpio configuration please use "gpio status" command

This patch also remove one compilation warning:
microblaze-generic.c: In function 'do_reset':
microblaze-generic.c:38:47: warning: operation on '*1073741824u'
 may be undefined [-Wsequence-point]

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
2013-05-09 11:20:08 +02:00
..
cpu Refactor linker-generated arrays 2013-03-12 23:28:40 +01:00
include/asm gpio: Add support for microblaze xilinx GPIO 2013-05-09 11:20:08 +02:00
lib microblaze: bootm: Add support for loading initrd 2013-05-09 11:13:44 +02:00
config.mk microblaze: Add support for device tree driven board configuration 2012-09-11 09:24:56 +02:00