]> Git Repo - J-u-boot.git/commit
fdt: Swap the signature for board_fdt_blob_setup()
authorSimon Glass <[email protected]>
Sat, 2 Nov 2024 17:49:42 +0000 (11:49 -0600)
committerTom Rini <[email protected]>
Wed, 18 Dec 2024 21:18:59 +0000 (15:18 -0600)
commitfc37a73e667916e15e01e0f9d189da792df2b351
treedfbf6aa2fd3a9af4d7900f929d06ea753b009670
parent447f18d00de80384df334acdbe5972762d3d1e1e
fdt: Swap the signature for board_fdt_blob_setup()

This returns a devicetree and updates a parameter with an error code.
Swap it, since this fits better with the way U-Boot normally works. It
also (more easily) allows leaving the existing pointer unchanged.

No yaks were harmed in this change, but there is a very small code-size
reduction.

For sifive, the OF_BOARD option must be set for the function to be
called, so there is no point in checking it again. Also OF_SEPARATE is
defined always.

Signed-off-by: Simon Glass <[email protected]>
Reviewed-by: Matthias Brugger <[email protected]>
Reviewed-by: Patrice Chotard <[email protected]>
[trini: Update total_compute]
Signed-off-by: Tom Rini <[email protected]>
23 files changed:
arch/arm/mach-apple/board.c
arch/arm/mach-snapdragon/board.c
arch/arm/mach-stm32mp/boot_params.c
arch/sandbox/cpu/cpu.c
board/Marvell/octeontx/board-fdt.c
board/Marvell/octeontx2/board-fdt.c
board/Marvell/octeontx2/board.c
board/andestech/ae350/ae350.c
board/armltd/total_compute/total_compute.c
board/armltd/vexpress64/vexpress64.c
board/broadcom/bcmstb/bcmstb.c
board/emulation/qemu-arm/qemu-arm.c
board/emulation/qemu-ppce500/qemu-ppce500.c
board/emulation/qemu-riscv/qemu-riscv.c
board/highbank/highbank.c
board/raspberrypi/rpi/rpi.c
board/sifive/unleashed/unleashed.c
board/sifive/unmatched/unmatched.c
board/starfive/visionfive2/starfive_visionfive2.c
board/xen/xenguest_arm64/xenguest_arm64.c
board/xilinx/common/board.c
include/fdtdec.h
lib/fdtdec.c
This page took 0.033188 seconds and 4 git commands to generate.