]> git.dujemihanovic.xyz Git - u-boot.git/commit
common: Move board_get_usable_ram_top() out of common.h
authorSimon Glass <sjg@chromium.org>
Thu, 14 Nov 2019 19:57:45 +0000 (12:57 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 2 Dec 2019 23:25:04 +0000 (18:25 -0500)
commit67c4e9f815eb75ba5c1f86213eded93c4e06e64b
treeb09bb6915a2eff5045b3becb4ae595d0bf3534c9
parent428a6a18fe5ad5c007fd79a905429ee3ef3af1ea
common: Move board_get_usable_ram_top() out of common.h

Move this function into init.h which seems to be designed for this sort
of thing. Also update the header to declare struct global_data so that it
can be included without global_data.h being needed.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
28 files changed:
arch/arm/mach-mvebu/arm64-common.c
arch/arm/mach-rockchip/sdram.c
arch/arm/mach-tegra/board2.c
arch/mips/mach-jz47xx/jz4780/jz4780.c
arch/riscv/cpu/generic/dram.c
arch/x86/cpu/broadwell/sdram.c
arch/x86/cpu/coreboot/sdram.c
arch/x86/cpu/efi/payload.c
arch/x86/cpu/efi/sdram.c
arch/x86/cpu/intel_common/mrc.c
arch/x86/cpu/ivybridge/sdram.c
arch/x86/cpu/qemu/dram.c
arch/x86/cpu/quark/dram.c
arch/x86/cpu/slimbootloader/sdram.c
arch/x86/lib/fsp/fsp_dram.c
arch/x86/lib/init_helpers.c
board/armadeus/apf27/apf27.c
board/imgtec/boston/ddr.c
board/menlo/m53menlo/m53menlo.c
board/raspberrypi/rpi/rpi.c
board/ti/am65x/evm.c
board/ti/j721e/evm.c
common/board_f.c
drivers/video/fsl_dcu_fb.c
drivers/video/sunxi/sunxi_display.c
include/common.h
include/init.h
lib/efi_loader/efi_memory.c