common: Move RAM-sizing functions to init.h
authorSimon Glass <sjg@chromium.org>
Sat, 28 Dec 2019 17:45:05 +0000 (10:45 -0700)
committerJagan Teki <jagan@amarulasolutions.com>
Fri, 24 Jan 2020 17:36:49 +0000 (23:06 +0530)
commit91527c9a306fca0f8162a22d8ecc4c7be0dfe332
treed5f2844bc33c47369b5b73e75a58d12127cc37ad
parentf32934916c65d3c26c5436b393d886fce8b9ab9f
common: Move RAM-sizing functions to init.h

These functions relate to memory init so move them into the init
header.

Signed-off-by: Simon Glass <sjg@chromium.org>
103 files changed:
arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c
arch/arm/cpu/arm926ejs/spear/spr_misc.c
arch/arm/cpu/armv8/fsl-layerscape/cpu.c
arch/arm/mach-davinci/misc.c
arch/arm/mach-imx/imx8/cpu.c
arch/arm/mach-imx/mx5/mx53_dram.c
arch/arm/mach-imx/mx6/litesom.c
arch/arm/mach-mediatek/mt7623/init.c
arch/arm/mach-meson/board-axg.c
arch/arm/mach-meson/board-g12a.c
arch/arm/mach-meson/board-gx.c
arch/arm/mach-mvebu/dram.c
arch/arm/mach-omap2/am33xx/board.c
arch/arm/mach-omap2/emif-common.c
arch/arm/mach-omap2/sec-common.c
arch/arm/mach-orion5x/dram.c
arch/arm/mach-sunxi/dram_sun4i.c
arch/arm/mach-tegra/board.c
arch/mips/mach-ath79/dram.c
arch/mips/mach-mtmips/cpu.c
arch/powerpc/cpu/mpc85xx/traps.c
arch/powerpc/cpu/mpc86xx/traps.c
arch/powerpc/lib/bootm.c
arch/x86/cpu/tangier/sdram.c
board/AndesTech/adp-ae3xx/adp-ae3xx.c
board/AndesTech/adp-ag101p/adp-ag101p.c
board/AndesTech/ax25-ae350/ax25-ae350.c
board/CarMediaLab/flea3/flea3.c
board/armltd/integrator/integrator.c
board/armltd/vexpress/vexpress_common.c
board/astro/mcf5373l/mcf5373l.c
board/atmel/at91rm9200ek/at91rm9200ek.c
board/atmel/at91sam9260ek/at91sam9260ek.c
board/atmel/at91sam9261ek/at91sam9261ek.c
board/atmel/at91sam9263ek/at91sam9263ek.c
board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c
board/atmel/at91sam9n12ek/at91sam9n12ek.c
board/atmel/at91sam9rlek/at91sam9rlek.c
board/atmel/sam9x60ek/sam9x60ek.c
board/atmel/sama5d27_wlsom1_ek/sama5d27_wlsom1_ek.c
board/barco/platinum/platinum.c
board/barco/titanium/titanium.c
board/bluewater/snapper9260/snapper9260.c
board/broadcom/bcm23550_w1d/bcm23550_w1d.c
board/broadcom/bcm28155_ap/bcm28155_ap.c
board/broadcom/bcm_ep/board.c
board/broadcom/bcmns2/northstar2.c
board/calao/usb_a9263/usb_a9263.c
board/compulab/cl-som-imx7/spl.c
board/compulab/cm_fx6/spl.c
board/compulab/cm_t335/spl.c
board/compulab/cm_t43/spl.c
board/egnite/ethernut5/ethernut5.c
board/esd/meesc/meesc.c
board/esd/vme8349/vme8349.c
board/freescale/bsc9131rdb/ddr.c
board/freescale/mpc8308rdb/sdram.c
board/freescale/mx53ard/mx53ard.c
board/freescale/mx53smd/mx53smd.c
board/freescale/s32v234evb/s32v234evb.c
board/freescale/vf610twr/vf610twr.c
board/gdsys/mpc8308/sdram.c
board/hisilicon/poplar/poplar.c
board/ids/ids8313/ids8313.c
board/inversepath/usbarmory/usbarmory.c
board/l+g/vinco/vinco.c
board/laird/wb45n/wb45n.c
board/mini-box/picosam9g45/picosam9g45.c
board/mpc8308_p1m/sdram.c
board/phytec/pcl063/pcl063.c
board/phytec/phycore_am335x_r2/board.c
board/ronetix/pm9261/pm9261.c
board/ronetix/pm9263/pm9263.c
board/ronetix/pm9g45/pm9g45.c
board/samsung/arndale/arndale.c
board/samsung/smdkc100/smdkc100.c
board/samsung/smdkv310/smdkv310.c
board/seco/mx6quq7/mx6quq7.c
board/siemens/corvus/board.c
board/siemens/smartweb/smartweb.c
board/siemens/taurus/taurus.c
board/socrates/sdram.c
board/sunxi/board.c
board/sysam/amcore/amcore.c
board/technexion/pico-imx6ul/spl.c
board/technologic/ts4800/ts4800.c
board/ti/ks2_evm/board.c
board/timll/devkit3250/devkit3250.c
board/toradex/colibri_imx7/colibri_imx7.c
board/tqc/tqm834x/tqm834x.c
board/ve8313/ve8313.c
board/woodburn/woodburn.c
cmd/ti/ddr3.c
common/memsize.c
drivers/ddr/altera/sdram_gen5.c
drivers/ddr/altera/sdram_s10.c
drivers/ram/bmips_ram.c
drivers/ram/mpc83xx_sdram.c
drivers/ram/stm32mp1/stm32mp1_ram.c
drivers/ram/stm32mp1/stm32mp1_tests.c
include/common.h
include/init.h
lib/fdtdec.c