mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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>
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
#include <fs.h>
|
||||
#include <i2c.h>
|
||||
#include <initcall.h>
|
||||
#include <init_helpers.h>
|
||||
#include <logbuff.h>
|
||||
#include <malloc.h>
|
||||
#include <mapmem.h>
|
||||
@@ -46,9 +47,6 @@
|
||||
#include <watchdog.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/sections.h>
|
||||
#if defined(CONFIG_X86) || defined(CONFIG_ARC)
|
||||
#include <asm/init_helpers.h>
|
||||
#endif
|
||||
#if defined(CONFIG_X86) || defined(CONFIG_ARC) || defined(CONFIG_XTENSA)
|
||||
#include <asm/relocate.h>
|
||||
#endif
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user