diff options
author | Simon Glass <sjg@chromium.org> | 2019-11-14 12:57:37 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-12-02 18:23:55 -0500 |
commit | 9edefc27760b00309d482d94fdc23bf5d2ea2c42 (patch) | |
tree | 5fd0d2b4811b377e8a453b2460d86ccff8f5b14b /board | |
parent | 6cc915b5fb2e3467b20735b112a7463cc77ec3c3 (diff) |
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>
Diffstat (limited to 'board')
-rw-r--r-- | board/armltd/integrator/integrator.c | 1 | ||||
-rw-r--r-- | board/cirrus/edb93xx/edb93xx.c | 1 | ||||
-rw-r--r-- | board/cobra5272/flash.c | 1 | ||||
-rw-r--r-- | board/highbank/highbank.c | 1 | ||||
-rw-r--r-- | board/st/stih410-b2260/board.c | 1 | ||||
-rw-r--r-- | board/synopsys/hsdk/hsdk.c | 1 | ||||
-rw-r--r-- | board/syteco/zmx25/zmx25.c | 1 | ||||
-rw-r--r-- | board/toradex/colibri_pxa270/colibri_pxa270.c | 1 | ||||
-rw-r--r-- | board/xilinx/zynqmp/cmds.c | 1 |
9 files changed, 9 insertions, 0 deletions
diff --git a/board/armltd/integrator/integrator.c b/board/armltd/integrator/integrator.c index f0fbe2b417..5cdf7905a9 100644 --- a/board/armltd/integrator/integrator.c +++ b/board/armltd/integrator/integrator.c @@ -17,6 +17,7 @@ */ #include <common.h> +#include <cpu_func.h> #include <dm.h> #include <env.h> #include <netdev.h> diff --git a/board/cirrus/edb93xx/edb93xx.c b/board/cirrus/edb93xx/edb93xx.c index 88fac76ea5..0966e37e7a 100644 --- a/board/cirrus/edb93xx/edb93xx.c +++ b/board/cirrus/edb93xx/edb93xx.c @@ -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> diff --git a/board/cobra5272/flash.c b/board/cobra5272/flash.c index 9bf824889a..ea3ed73515 100644 --- a/board/cobra5272/flash.c +++ b/board/cobra5272/flash.c @@ -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 diff --git a/board/highbank/highbank.c b/board/highbank/highbank.c index 9563763dfa..3e0edd48f5 100644 --- a/board/highbank/highbank.c +++ b/board/highbank/highbank.c @@ -5,6 +5,7 @@ #include <common.h> #include <ahci.h> +#include <cpu_func.h> #include <env.h> #include <netdev.h> #include <scsi.h> diff --git a/board/st/stih410-b2260/board.c b/board/st/stih410-b2260/board.c index 111e64b995..5d9fdf27b2 100644 --- a/board/st/stih410-b2260/board.c +++ b/board/st/stih410-b2260/board.c @@ -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> diff --git a/board/synopsys/hsdk/hsdk.c b/board/synopsys/hsdk/hsdk.c index 8a7642a0aa..470d09e528 100644 --- a/board/synopsys/hsdk/hsdk.c +++ b/board/synopsys/hsdk/hsdk.c @@ -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> diff --git a/board/syteco/zmx25/zmx25.c b/board/syteco/zmx25/zmx25.c index d2318457b4..a2e7b8baaa 100644 --- a/board/syteco/zmx25/zmx25.c +++ b/board/syteco/zmx25/zmx25.c @@ -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> diff --git a/board/toradex/colibri_pxa270/colibri_pxa270.c b/board/toradex/colibri_pxa270/colibri_pxa270.c index e9e17508a5..c4db516b07 100644 --- a/board/toradex/colibri_pxa270/colibri_pxa270.c +++ b/board/toradex/colibri_pxa270/colibri_pxa270.c @@ -7,6 +7,7 @@ */ #include <common.h> +#include <cpu_func.h> #include <dm.h> #include <asm/arch/hardware.h> #include <asm/arch/pxa.h> diff --git a/board/xilinx/zynqmp/cmds.c b/board/xilinx/zynqmp/cmds.c index d3bb57a2e9..893616b6a1 100644 --- a/board/xilinx/zynqmp/cmds.c +++ b/board/xilinx/zynqmp/cmds.c @@ -5,6 +5,7 @@ */ #include <common.h> +#include <cpu_func.h> #include <env.h> #include <malloc.h> #include <zynqmp_firmware.h> |