common: Move ARM cache operations out of common.h

These functions are CPU-related and do not use driver model. Move them to
cpu_func.h

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Simon Glass
2019-11-14 12:57:39 -07:00
committed by Tom Rini
parent 3374d28b34
commit 1eb69ae498
135 changed files with 159 additions and 24 deletions

View File

@@ -4,6 +4,7 @@
*/
#include <common.h>
#include <cpu_func.h>
#include <netdev.h>
#include <asm/arch/cpu.h>
#include <asm/arch/clk.h>

View File

@@ -4,6 +4,7 @@
* Texas Instruments, <www.ti.com>
* Aneesh V <aneesh@ti.com>
*/
#include <cpu_func.h>
#include <linux/types.h>
#include <common.h>
#include <asm/armv7.h>

View File

@@ -6,6 +6,7 @@
*/
#include <config.h>
#include <cpu_func.h>
#include <asm/io.h>
#include <asm/psci.h>
#include <asm/arch/immap_ls102xa.h>

View File

@@ -4,6 +4,7 @@
*/
#include <common.h>
#include <cpu_func.h>
#include <errno.h>
#include <linux/kernel.h>
#include <asm/io.h>

View File

@@ -3,6 +3,7 @@
* (C) Copyright 2016 Vasily Khoruzhick <anarsoul@gmail.com>
*/
#include <cpu_func.h>
#include <linux/types.h>
#include <common.h>

View File

@@ -7,6 +7,7 @@
/* for now: just dummy functions to satisfy the linker */
#include <common.h>
#include <cpu_func.h>
#include <malloc.h>
/*

View File

@@ -4,6 +4,7 @@
*/
#include <common.h>
#include <cpu_func.h>
#include <asm/io.h>
#include <asm/arch/base.h>
#include <asm/arch/mbox.h>

View File

@@ -4,6 +4,7 @@
* Copyright 2017 NXP
*/
#include <cpu_func.h>
#include <asm/io.h>
#include <asm/psci.h>
#include <asm/secure.h>

View File

@@ -13,6 +13,7 @@
*/
#include <common.h>
#include <cpu_func.h>
#include <stdarg.h>
#include <asm/arch/sys_proto.h>

View File

@@ -4,6 +4,7 @@
*/
#include <common.h>
#include <cpu_func.h>
#include <asm/io.h>
#include <asm/arch-tegra/ivc.h>