common: Move some cache and MMU functions out of common.h
authorSimon Glass <sjg@chromium.org>
Thu, 14 Nov 2019 19:57:37 +0000 (12:57 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 2 Dec 2019 23:23:55 +0000 (18:23 -0500)
commit9edefc27760b00309d482d94fdc23bf5d2ea2c42
tree5fd0d2b4811b377e8a453b2460d86ccff8f5b14b
parent6cc915b5fb2e3467b20735b112a7463cc77ec3c3
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>
94 files changed:
arch/arc/lib/cache.c
arch/arm/cpu/arm11/cpu.c
arch/arm/cpu/arm920t/cpu.c
arch/arm/cpu/arm926ejs/armada100/cpu.c
arch/arm/cpu/arm926ejs/cache.c
arch/arm/cpu/arm926ejs/cpu.c
arch/arm/cpu/arm926ejs/spear/spr_misc.c
arch/arm/cpu/arm946es/cpu.c
arch/arm/cpu/armv7/cpu.c
arch/arm/cpu/armv7/exception_level.c
arch/arm/cpu/armv7/iproc-common/hwinit-common.c
arch/arm/cpu/armv7/kona-common/hwinit-common.c
arch/arm/cpu/armv7/mpu_v7r.c
arch/arm/cpu/armv7/vf610/generic.c
arch/arm/cpu/armv7m/cache.c
arch/arm/cpu/armv7m/cpu.c
arch/arm/cpu/armv8/cache_v8.c
arch/arm/cpu/armv8/cpu.c
arch/arm/cpu/armv8/exception_level.c
arch/arm/cpu/armv8/fsl-layerscape/spl.c
arch/arm/cpu/pxa/pxa2xx.c
arch/arm/cpu/sa1100/cpu.c
arch/arm/lib/cache-cp15.c
arch/arm/mach-at91/armv7/cpu.c
arch/arm/mach-bcm283x/init.c
arch/arm/mach-exynos/soc.c
arch/arm/mach-imx/cache.c
arch/arm/mach-imx/imx8/cpu.c
arch/arm/mach-imx/imx8m/soc.c
arch/arm/mach-imx/mx5/soc.c
arch/arm/mach-keystone/init.c
arch/arm/mach-mediatek/cpu.c
arch/arm/mach-mvebu/armada8k/cpu.c
arch/arm/mach-mvebu/cpu.c
arch/arm/mach-omap2/omap-cache.c
arch/arm/mach-orion5x/cpu.c
arch/arm/mach-rmobile/cpu_info.c
arch/arm/mach-rmobile/memmap-gen3.c
arch/arm/mach-rockchip/board.c
arch/arm/mach-s5pc1xx/cache.c
arch/arm/mach-socfpga/misc.c
arch/arm/mach-socfpga/spl_a10.c
arch/arm/mach-stm32mp/cpu.c
arch/arm/mach-sunxi/board.c
arch/arm/mach-tegra/board.c
arch/arm/mach-uniphier/arm32/cache-uniphier.c
arch/arm/mach-zynq/cpu.c
arch/m68k/cpu/mcf5227x/cpu_init.c
arch/m68k/cpu/mcf523x/cpu_init.c
arch/m68k/cpu/mcf52x2/cpu_init.c
arch/m68k/cpu/mcf530x/cpu_init.c
arch/m68k/cpu/mcf532x/cpu_init.c
arch/m68k/cpu/mcf5445x/cpu_init.c
arch/m68k/cpu/mcf547x_8x/cpu_init.c
arch/m68k/lib/cache.c
arch/microblaze/cpu/cache.c
arch/mips/lib/cache.c
arch/nds32/cpu/n1213/ae3xx/cpu.c
arch/nds32/cpu/n1213/ag101/cpu.c
arch/nds32/lib/cache.c
arch/nios2/lib/cache.c
arch/powerpc/cpu/mpc83xx/spd_sdram.c
arch/powerpc/cpu/mpc8xx/cache.c
arch/riscv/cpu/ax25/cache.c
arch/riscv/cpu/ax25/cpu.c
arch/riscv/lib/cache.c
arch/sh/cpu/sh4/cache.c
arch/x86/cpu/cpu.c
arch/x86/cpu/i386/cpu.c
arch/x86/cpu/mtrr.c
arch/x86/lib/spl.c
arch/xtensa/lib/cache.c
board/armltd/integrator/integrator.c
board/cirrus/edb93xx/edb93xx.c
board/cobra5272/flash.c
board/highbank/highbank.c
board/st/stih410-b2260/board.c
board/synopsys/hsdk/hsdk.c
board/syteco/zmx25/zmx25.c
board/toradex/colibri_pxa270/colibri_pxa270.c
board/xilinx/zynqmp/cmds.c
cmd/cache.c
cmd/ti/ddr3.c
common/bootm_os.c
common/kgdb_stubs.c
common/spl/spl_atf.c
drivers/ddr/altera/sdram_arria10.c
drivers/ddr/altera/sdram_s10.c
drivers/fpga/zynqpl.c
drivers/video/cfb_console.c
include/common.h
include/cpu_func.h
post/cpu/mpc83xx/ecc.c
post/lib_powerpc/cpu.c