Signed-off-by: Antony Pavlov <antonynpavlov@xxxxxxxxx> --- arch/mips/include/asm/common.h | 2 +- arch/mips/lib/Makefile | 1 + arch/mips/lib/shutdown.c | 10 ++++++++++ 3 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 arch/mips/lib/shutdown.c diff --git a/arch/mips/include/asm/common.h b/arch/mips/include/asm/common.h index 2f5419f..ae0d805 100644 --- a/arch/mips/include/asm/common.h +++ b/arch/mips/include/asm/common.h @@ -20,6 +20,6 @@ #ifndef _ASM_MIPS_COMMON_H_ #define _ASM_MIPS_COMMON_H_ -/* nothing special yet */ +#define ARCH_SHUTDOWN #endif /* _ASM_MIPS_COMMON_H_ */ diff --git a/arch/mips/lib/Makefile b/arch/mips/lib/Makefile index f4aee2e..c4e2214 100644 --- a/arch/mips/lib/Makefile +++ b/arch/mips/lib/Makefile @@ -7,6 +7,7 @@ obj-y += cpu-probe.o obj-y += traps.o obj-y += genex.o obj-y += dma.o +obj-y += shutdown.o obj-$(CONFIG_CPU_MIPS32) += c-r4k.o obj-$(CONFIG_CPU_MIPS64) += c-r4k.o diff --git a/arch/mips/lib/shutdown.c b/arch/mips/lib/shutdown.c new file mode 100644 index 0000000..6feec9b --- /dev/null +++ b/arch/mips/lib/shutdown.c @@ -0,0 +1,10 @@ +/** + * This function is called by shutdown_barebox to get a clean + * memory/cache state. + */ +#include <common.h> + +void arch_shutdown(void) +{ +} +EXPORT_SYMBOL(arch_shutdown); -- 1.9.0 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox