u-boot/arch/sandbox/cpu
Simon Glass fc37a73e66 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 <sjg@chromium.org>
Reviewed-by: Matthias Brugger <mbrugger@suse.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
[trini: Update total_compute]
Signed-off-by: Tom Rini <trini@konsulko.com>
2024-12-18 15:18:59 -06:00
..
cache.c sandbox: efi_loader: Correct use of addresses as pointers 2024-12-02 16:34:30 -06:00
cpu.c fdt: Swap the signature for board_fdt_blob_setup() 2024-12-18 15:18:59 -06:00
eth-raw-os.c sandbox: missing return value checks in eth-raw-os 2024-04-12 08:53:31 -06:00
Makefile arch: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD 2024-10-11 11:44:47 -06:00
os.c sandbox: Return error code from read/write/seek 2024-08-09 16:03:19 -06:00
sdl.c sandbox: Audit config.h and common.h usage 2023-12-21 08:54:37 -05:00
spl.c sandbox_spl: Restrict use of UPL when not enabled 2024-10-18 14:10:22 -06:00
start.c sandbox: Add a -N flag to control on-host behaviour 2024-11-09 10:00:15 +01:00
state.c sandbox: Change the range used for memory-mapping tags 2024-09-18 13:01:00 -06:00
u-boot-spl.lds test: spl: Add functions to create images 2023-10-17 20:50:52 -04:00
u-boot.lds sandbox: cleanup linker scripts and sections 2024-07-03 07:36:33 +01:00