mcuio: add support for wire irq controller
add some test code for mcuio irq controller
HACK atmega gpio: set value to 1 when setting to input (enables pull-up)

This was done to get things to work on the joystick shield, where buttons
don't have an external pullup.
HACK: reduce printf bufsize

This was done to save some ram on atmega
gpio: add preliminary support for gpio events
add generic bit operations (from linux kernel)
mcuio gpio: add events support
tasks-atmega: add gpio task

This task polls gpios on atmega and watches for gpio events. When gpio
status changes, it triggers an event which will be captured by the mcuio
gpio function.
asks/mcuio_gpio_func: fix gpio set/get bug

The gpio api is based on ints, but ints are 16 bits on atmega, do proper
casts to avoid problems with gpios > 15.
scripts/gen_gpio_names: HACK fix data endianness

Fix for little endian.
FIXME: add option for doing this on request only.
Revert "tasks-atmega: add gpio task"

This reverts commit 5efd6960879c105e515249c2eb59fc9f5920728f.
atmega gpios will be managed by directly handling hw timer events
(the periodic scheduler seems to have problems with short period tasks).
atmega: poll gpios when requested
periodic_scheduler: prevent scheduling events in the past
atmega uart: try reducing the number of pipe input ready events
TEMPORARY: save memory by getting rid of the from_host field of the functions' runtime
add joystick shield function
mcuio gpio: keep track of gpio enable bits
atmega, uart: set baud rate to 115200 (125000)
atmega: let the mips command a mode switch

When the mcu is in mips console mode, if a 0xaa is received, switch to
mcuio mode. This helps to get things going automatically on boot (a user
switch command via stdin is not needed anymore).
add gpio map for yun board + lucky shield