summaryrefslogtreecommitdiff
path: root/common/board_r.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-03-31 14:40:37 (GMT)
committerTom Rini <trini@konsulko.com>2017-04-05 20:36:56 (GMT)
commit96d4b75c0d7f1bbbbde19e6225b09b1f7e7b60fe (patch)
tree0860497862d4c5e0fd308eb703111c1421ca5230 /common/board_r.c
parente5fb573f6431d7585ef43eb02b67ac1a07f40094 (diff)
downloadu-boot-fsl-qoriq-96d4b75c0d7f1bbbbde19e6225b09b1f7e7b60fe.tar.xz
board_f: Make init_helpers generic
This header file is used by two archs. It could be used by all of them since it allows the cache to be on during relocation. Move it into a generic file. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/board_r.c')
-rw-r--r--common/board_r.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/common/board_r.c b/common/board_r.c
index c8eeb9c..d69a33c 100644
--- a/common/board_r.c
+++ b/common/board_r.c
@@ -27,6 +27,7 @@
#include <ide.h>
#endif
#include <initcall.h>
+#include <init_helpers.h>
#ifdef CONFIG_PS2KBD
#include <keyboard.h>
#endif
@@ -53,9 +54,6 @@
#include <asm/mmu.h>
#endif
#include <asm/sections.h>
-#ifdef CONFIG_X86
-#include <asm/init_helpers.h>
-#endif
#include <dm/root.h>
#include <linux/compiler.h>
#include <linux/err.h>