Merge mach-sun[45]i/pm.

v2: rebase, rename a magic constant.

Signed-off-by: Michal Suchanek <hramrach@gmail.com>
Remove superfluous functions from pm.c and reindent.

Signed-off-by: Michal Suchanek <hramrach@gmail.com>
sunxi-sound: Merge sun5i sound support into sun4i code

I did a diff between the 2 soc/sound/sun?i dirs, then renamed differently
named files, and s/sun5i/sun4i/ and run the diff again. After this the
differences were very small. This patch adds the differences to the
sun4i code (with machine_sun4i() / machine_sun5i()) checks and drops the
entire sun5i dir.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
sunxi:dma: unify sun[45] dma

Only unification, all changes related headers, moving mach->plat
Signed-off-by: Alexsey Shestacov <wingrime@gmail.com>
sunxi:nand: Add dma operation timeout

In some cases dma operation can hung and that hung all process try
access to that device. Timeout (20 sec) make possible exit from that
but code still need handle such return
Make avs compile

Signed-off-by: Michal Suchanek <hramrach@gmail.com>
Make OTG the default since it cannot be selected by defconfig.

Signed-off-by: Michal Suchanek <hramrach@gmail.com>
Unify usb peripherial controller choice.

kconfig does not seem to like mixed choices so make all USB peripherial
drivers boolean until sunxi USB grows mudule support.

Signed-off-by: Michal Suchanek <hramrach@gmail.com>
sun4i: add kitchensink to defconfig.

Compile tested.

Contains most stuff you could possibly connect to an A10 - devices
conecting through USB, Ethernet, SPI, I2C.

- remove hihgmem support
- add branch optimization

Not configured/unavalable:
- netconsole over USB - the USB gadget is not capable enough
- serial console over USB serial - needs compiled in USB serial drivers
- numerous filesystems are not included