[PATCH 4/4] mips: add config options for generic cache setup code