]> git.dujemihanovic.xyz Git - u-boot.git/commit
board_f: Fix types for board_get_usable_ram_top()
authorPali Rohár <pali@kernel.org>
Fri, 9 Sep 2022 15:32:40 +0000 (17:32 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 23 Sep 2022 19:12:42 +0000 (15:12 -0400)
commit049704f808d5e643668a33a76e55f925d4c1b36a
tree8c0b37e909cd7d94bb0f9e0b6d6588cc63652948
parent777aaaa706bcfe08c284aed06886db7d482af3f8
board_f: Fix types for board_get_usable_ram_top()

Commit 37dc958947ed ("global_data.h: Change ram_top type to phys_addr_t")
changed type of ram_top member from ulong to phys_addr_t but did not
changed types in board_get_usable_ram_top() function which returns value
for ram_top.

So change ulong to phys_addr_t type also in board_get_usable_ram_top()
signature and implementations.

Fixes: 37dc958947ed ("global_data.h: Change ram_top type to phys_addr_t")
Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
35 files changed:
arch/arm/mach-imx/imx8m/soc.c
arch/arm/mach-mvebu/arm64-common.c
arch/arm/mach-rockchip/sdram.c
arch/arm/mach-stm32mp/dram_init.c
arch/arm/mach-sunxi/board.c
arch/arm/mach-tegra/board2.c
arch/mips/mach-jz47xx/jz4780/jz4780.c
arch/mips/mach-octeon/dram.c
arch/riscv/cpu/fu540/dram.c
arch/riscv/cpu/fu740/dram.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/cpu/tangier/sdram.c
arch/x86/include/asm/mrc_common.h
arch/x86/include/asm/u-boot-x86.h
arch/x86/lib/fsp1/fsp_dram.c
arch/x86/lib/fsp2/fsp_dram.c
board/broadcom/bcmns3/ns3.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
board/ti/j721s2/evm.c
board/xilinx/common/board.c
common/board_f.c
include/init.h