]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
common: move init_helpers.h prototypes in init.h
authorPatrick Delaunay <patrick.delaunay@st.com>
Tue, 13 Mar 2018 12:57:04 +0000 (13:57 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 16 Mar 2018 18:56:59 +0000 (14:56 -0400)
Merge init_helpers.h in the new file init.h
with only prototypes for init_cache_f_r
used in common/board_f.c

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
arch/x86/lib/spl.c
common/board_f.c
common/board_r.c
include/init.h
include/init_helpers.h [deleted file]

index 832a5d7c0ea3b997820898061438b692689af914..7c32245a09cae155a72bd702bdec8bcfff54980a 100644 (file)
@@ -6,7 +6,6 @@
 
 #include <common.h>
 #include <debug_uart.h>
-#include <init_helpers.h>
 #include <spl.h>
 #include <asm/cpu.h>
 #include <asm/mtrr.h>
index 4df52f1eb5759a0279853b229170eeabea928313..62588c5bad326f857f128b99f084082352c8528a 100644 (file)
@@ -18,7 +18,6 @@
 #include <fs.h>
 #include <i2c.h>
 #include <initcall.h>
-#include <init_helpers.h>
 #include <malloc.h>
 #include <mapmem.h>
 #include <os.h>
index 482f506661676c655a88a635fe53800d8aa9fdc6..89f2e16b71a39263442e37df5ef7bfde5b4a8dfd 100644 (file)
@@ -23,7 +23,6 @@
 #include <fdtdec.h>
 #include <ide.h>
 #include <initcall.h>
-#include <init_helpers.h>
 #ifdef CONFIG_PS2KBD
 #include <keyboard.h>
 #endif
index d54d519a69c2a69cd80a68f23b002c30d0746cde..147ae6bb8e75133702c8b70436de963de03aeaae 100644 (file)
@@ -101,6 +101,13 @@ int dram_init_banksize(void);
  */
 int arch_reserve_stacks(void);
 
+/**
+ * init_cache_f_r() - Turn on the cache in preparation for relocation
+ *
+ * @return 0 if OK, -ve on error
+ */
+int init_cache_f_r(void);
+
 int print_cpuinfo(void);
 int timer_init(void);
 int reserve_mmu(void);
diff --git a/include/init_helpers.h b/include/init_helpers.h
deleted file mode 100644 (file)
index 3efcfdd..0000000
+++ /dev/null
@@ -1,18 +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_
-
-/**
- * init_cache_f_r() - Turn on the cache in preparation for relocation
- *
- * @return 0 if OK, -ve on error
- */
-int init_cache_f_r(void);
-
-#endif /* _INIT_HELPERS_H_ */