u-boot/arch
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
..
arm lib: consolidate hang() 2013-05-01 16:41:08 -04:00
avr32 lib: consolidate hang() 2013-05-01 16:41:08 -04:00
blackfin lib: consolidate hang() 2013-05-01 16:41:08 -04:00
m68k lib: consolidate hang() 2013-05-01 16:41:08 -04:00
microblaze gpio: Add support for microblaze xilinx GPIO 2013-05-09 11:20:08 +02:00
mips lib: consolidate hang() 2013-05-01 16:41:08 -04:00
nds32 nds32: Use sections header to obtain link symbols 2013-05-08 12:38:10 +08:00
nios2 lib: consolidate hang() 2013-05-01 16:41:08 -04:00
openrisc lib: consolidate hang() 2013-05-01 16:41:08 -04:00
powerpc Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx 2013-05-02 19:54:32 -04:00
sandbox sandbox: Allow -c argument to provide a command list 2013-05-01 11:17:21 -04:00
sh lib: consolidate hang() 2013-05-01 16:41:08 -04:00
sparc lib: consolidate hang() 2013-05-01 16:41:08 -04:00
x86 lib: consolidate hang() 2013-05-01 16:41:08 -04:00
.gitignore update include/asm/ gitignore after move 2010-05-07 00:17:30 +02:00