common: Move some cache and MMU functions out of common.h

These functions belong in cpu_func.h. Another option would be cache.h
but that code uses driver model and we have not moved these cache
functions to use driver model. Since they are CPU-related it seems
reasonable to put them here.

Move them over.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Simon Glass
2019-11-14 12:57:37 -07:00
committed by Tom Rini
parent 6cc915b5fb
commit 9edefc2776
94 changed files with 101 additions and 9 deletions

View File

@@ -17,6 +17,7 @@
*/
#include <common.h>
#include <cpu_func.h>
#include <dm.h>
#include <env.h>
#include <netdev.h>

View File

@@ -15,6 +15,7 @@
#include <config.h>
#include <common.h>
#include <cpu_func.h>
#include <netdev.h>
#include <status_led.h>
#include <asm/io.h>

View File

@@ -6,6 +6,7 @@
#include <common.h>
#include <console.h>
#include <cpu_func.h>
#define PHYS_FLASH_1 CONFIG_SYS_FLASH_BASE
#define FLASH_BANK_SIZE 0x200000

View File

@@ -5,6 +5,7 @@
#include <common.h>
#include <ahci.h>
#include <cpu_func.h>
#include <env.h>
#include <netdev.h>
#include <scsi.h>

View File

@@ -5,6 +5,7 @@
*/
#include <common.h>
#include <cpu_func.h>
#include <linux/usb/otg.h>
#include <dwc3-sti-glue.h>
#include <dwc3-uboot.h>

View File

@@ -6,6 +6,7 @@
#include <common.h>
#include <config.h>
#include <cpu_func.h>
#include <env.h>
#include <linux/printk.h>
#include <linux/kernel.h>

View File

@@ -14,6 +14,7 @@
* RedBoot tx25_misc.c Copyright (C) 2009 Red Hat
*/
#include <common.h>
#include <cpu_func.h>
#include <asm/gpio.h>
#include <asm/io.h>
#include <asm/arch/imx-regs.h>

View File

@@ -7,6 +7,7 @@
*/
#include <common.h>
#include <cpu_func.h>
#include <dm.h>
#include <asm/arch/hardware.h>
#include <asm/arch/pxa.h>

View File

@@ -5,6 +5,7 @@
*/
#include <common.h>
#include <cpu_func.h>
#include <env.h>
#include <malloc.h>
#include <zynqmp_firmware.h>