u-boot-brain/arch/microblaze/include/asm
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
..
asm.h microblaze: Fix systems with MSR=0 2011-02-15 15:13:24 +01:00
bitops.h microblaze: Fix compilation warning in ext2_find_next_zero_bit 2012-11-07 17:11:14 +01:00
byteorder.h microblaze: Fix byteorder for microblaze 2012-11-07 17:11:14 +01:00
cache.h microblaze: cache: define ARCH_DMA_MINALIGN for DMA buffer alignment 2011-10-23 20:50:43 +02:00
config.h Replace CONFIG_RELOC_FIXUP_WORKS by CONFIG_NEEDS_MANUAL_RELOC 2010-10-29 21:32:07 +02:00
errno.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
global_data.h microblaze: Use generic global_data 2013-02-04 09:05:45 -05:00
gpio.h gpio: Add support for microblaze xilinx GPIO 2013-05-09 11:20:08 +02:00
io.h microblaze: Fix strict-aliasing rules for in_be32 2011-10-24 07:57:03 +02:00
microblaze_intc.h microblaze: intc: Registering interrupt should return value 2012-09-11 09:24:57 +02:00
microblaze_timer.h microblaze: timer: Prepare for device-tree initialization 2012-09-11 09:24:58 +02:00
posix_types.h microblaze: Remove asm/bitops.h from asm/posix_types.h 2012-11-07 17:11:14 +01:00
processor.h watchdog: Add support for Xilinx Microblaze watchdog 2013-04-30 11:22:43 +02:00
ptrace.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
sections.h Introduce generic link section.h symbol files 2013-03-15 16:13:58 -04:00
string.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
system.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
types.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
u-boot.h microblaze: Change bi_baudrate and global data baudrate to int 2012-10-19 15:25:44 -07:00
unaligned.h microblaze: Fix unaligned.h for endians 2011-10-10 08:54:28 +02:00