add MIPS support

Change-Id: I5e7bad610fcef17d436d7e0b7f1b818141255ffe