sunxi-usb: Silence debug spew

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
sunxi-emac: Use physical rather then virtual address for rx by dma

After the port to the dma_compat.h code sunxi_dma_enqueue should be
passed a physical buffer address, but this was overseen.

This did not cause any problem in practice because:
1) DMA_CPU_TRRESHOLD is set to 2000, and since ethernet's MTU is 1518
bytes this is never reached, so the dma rx code path is never used
2) Even when the DMA_CPU_TRRESHOLD is lowered, the virt address will work too
since the only difference is bit 31 of the address and that seems to be
ignored by the address decoder

Still this ough to be fixed and that is what this patch does, while at it
also switch to using dma_map_single / dma_unmap_single rather then DIY
cache flushing.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
sunxi-nand: move dma-config to dma_for_nand

This groups all dma related code together.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
sunxi-nand: More dead code removal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
sunxi-nand: Make init a bit more quiet

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
sunxi-nand: Remove __cpuc_flush_dcache_area call

All callers of NAND_Config_Start_DMA call dma_map_single on the buffer
before calling NAND_Config_Start_DMA, which already takes care of cache
flushing, so the extra explicit flush is not necessary.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
sunxi-nand: Add support for sun7i / A20

After thoroughly reviewing a diff between the sun5i and sun7i sources I've
come to the conclusion that the nand controller is identical. So all this patch
does is use dma_compat.h to make the sunxi-nand dma code work with both
sun4i/sun5i and sun7i.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>