[PATCH 3/9] board_f: Fix types for board_get_usable_ram_top()

Simon Glass sjg at chromium.org
Fri Sep 9 20:21:10 CEST 2022


On Fri, 9 Sept 2022 at 09:34, Pali Rohár <pali at kernel.org> wrote:
>
> 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 at kernel.org>
> ---
>  arch/arm/mach-imx/imx8m/soc.c         | 2 +-
>  arch/arm/mach-mvebu/arm64-common.c    | 2 +-
>  arch/arm/mach-rockchip/sdram.c        | 2 +-
>  arch/arm/mach-stm32mp/dram_init.c     | 2 +-
>  arch/arm/mach-sunxi/board.c           | 2 +-
>  arch/arm/mach-tegra/board2.c          | 2 +-
>  arch/mips/mach-jz47xx/jz4780/jz4780.c | 2 +-
>  arch/mips/mach-octeon/dram.c          | 2 +-
>  arch/riscv/cpu/fu540/dram.c           | 2 +-
>  arch/riscv/cpu/fu740/dram.c           | 2 +-
>  arch/riscv/cpu/generic/dram.c         | 2 +-
>  arch/x86/cpu/broadwell/sdram.c        | 2 +-
>  arch/x86/cpu/coreboot/sdram.c         | 2 +-
>  arch/x86/cpu/efi/payload.c            | 2 +-
>  arch/x86/cpu/efi/sdram.c              | 2 +-
>  arch/x86/cpu/intel_common/mrc.c       | 4 ++--

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list