sunxi: wemac: wait up to 4.5s for phy to power up

After PHY is powered up, it may take a significant time for the link
negotiation to complete. We need to wait for this information in
order to set the correct duplex mode and other things.

In my case (Mele A2000 connected to a gigabit switch) it takes ~1.5
seconds to negotiate link. Some people prefer to use 4.5 seconds for
the negotiation timeout:

    http://lists.denx.de/pipermail/u-boot/2009-February/048489.html

Signed-off-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>
Signed-off-by: Michal Suchanek <hramrach@gmail.com>
sun7i: Fix pm build.

Signed-off-by: Michal Suchanek <hramrach@gmail.com>
sun7i: fix debug macro build.

Signed-off-by: Michal Suchanek <hramrach@gmail.com>
sun7i: add mach/sys_config.h

Signed-off-by: Michal Suchanek <hramrach@gmail.com>
sun7i: select PLAT_SUNXI

merge irqs.h into plat-sunxi

Signed-off-by: Michal Suchanek <hramrach@gmail.com>
Update defconfig

Signed-off-by: Michal Suchanek <hramrach@gmail.com>
sunxi: build both sunxi core.c and sun7i core.c

fold sun7i memory.h and timex.h into sunxi

Signed-off-by: Michal Suchanek <hramrach@gmail.com>
sun7i: remove files that are identical in plat-sunxi

Signed-off-by: Michal Suchanek <hramrach@gmail.com>
sun7i: remove mach-sun7i/include/plat

Signed-off-by: Michal Suchanek <hramrach@gmail.com>
Import sun7i nand driver - wip