Revert "mali: platform rewrite"