sun4i platform support

Should be cleaned. *A lot*

Change-Id: Ic59b5948ad21c08cb24e05fe244b4ff8a0dfb29c