summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/arc/include/asm/init_helpers.h12
-rw-r--r--arch/x86/include/asm/init_helpers.h13
-rw-r--r--arch/x86/lib/spl.c2
3 files changed, 1 insertions, 26 deletions
diff --git a/arch/arc/include/asm/init_helpers.h b/arch/arc/include/asm/init_helpers.h
deleted file mode 100644
index 7607e195618..00000000000
--- a/arch/arc/include/asm/init_helpers.h
+++ /dev/null
@@ -1,12 +0,0 @@
-/*
- * Copyright (C) 2013-2015 Synopsys, Inc. All rights reserved.
- *
- * SPDX-License-Identifier: GPL-2.0+
- */
-
-#ifndef _ASM_ARC_INIT_HELPERS_H
-#define _ASM_ARC_INIT_HELPERS_H
-
-int init_cache_f_r(void);
-
-#endif /* _ASM_ARC_INIT_HELPERS_H */
diff --git a/arch/x86/include/asm/init_helpers.h b/arch/x86/include/asm/init_helpers.h
deleted file mode 100644
index ef05ac47813..00000000000
--- a/arch/x86/include/asm/init_helpers.h
+++ /dev/null
@@ -1,13 +0,0 @@
-/*
- * (C) Copyright 2011
- * Graeme Russ, <graeme.russ@gmail.com>
- *
- * SPDX-License-Identifier: GPL-2.0+
- */
-
-#ifndef _INIT_HELPERS_H_
-#define _INIT_HELPERS_H_
-
-int init_cache_f_r(void);
-
-#endif /* !_INIT_HELPERS_H_ */
diff --git a/arch/x86/lib/spl.c b/arch/x86/lib/spl.c
index ed2d40b5523..2b1b450737b 100644
--- a/arch/x86/lib/spl.c
+++ b/arch/x86/lib/spl.c
@@ -6,9 +6,9 @@
#include <common.h>
#include <debug_uart.h>
+#include <init_helpers.h>
#include <spl.h>
#include <asm/cpu.h>
-#include <asm/init_helpers.h>
#include <asm/mtrr.h>
#include <asm/processor.h>
#include <asm-generic/sections.h>