Newer
Older
barebox / arch / mips / lib / shutdown.c
@Antony Pavlov Antony Pavlov on 9 Mar 2016 229 bytes MIPS: flush cache on shutdown
/**
 * This function is called by shutdown_barebox to get a clean
 * memory/cache state.
 */
#include <init.h>
#include <asm/cache.h>

static void arch_shutdown(void)
{
	flush_cache_all();
}
archshutdown_exitcall(arch_shutdown);