microblaze: Move cache function to cache.c