core/linux-sun5i refactoring