u-boot/include/asm-generic
Simon Glass 3d6531803e bloblist: Support initing from multiple places
Typically the bloblist is set up after the devicetree is present. This
makes sense because bloblist may use malloc() to allocate the space it
needs.

However sometimes the devicetree itself may be present in the bloblist.
In that case it is at a known location in memory so we can init the
bloblist very early, before devicetree.

Add a flag to indicate whether the bloblist has been inited. Add a
function to init it only if needed. Use that in the init sequence.

Signed-off-by: Simon Glass <sjg@chromium.org>
2023-10-06 14:38:13 -04:00
..
bitops arm: Use builtins for ffs/fls 2023-08-17 16:39:20 -04:00
atomic-long.h atomic-long: Fix warnings on arm64 2018-01-28 09:39:05 -05:00
atomic.h Add include/asm-generic/atomic.h 2018-09-25 21:49:18 -04:00
bitsperlong.h linux/bitops.h: GENMASK copy from linux 2015-10-21 09:14:07 -04:00
global_data.h bloblist: Support initing from multiple places 2023-10-06 14:38:13 -04:00
gpio.h gpio: Use separate bitfield array to indicate GPIO is claimed 2023-08-14 17:55:53 -04:00
int-ll64.h arch: types.h: factor out fixed width typedefs to int-ll64.h 2018-09-10 20:48:16 -04:00
io.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ioctl.h x86: Fix support for booting bzImage 2010-05-06 00:17:01 +02:00
pe.h efi_loader: defines for PE-COFF section flags 2023-01-04 13:17:42 +01:00
sections.h treewide: rework linker symbol declarations in sections header 2023-08-09 09:21:42 -04:00
signal.h
u-boot.h common/board_r.c: drop legacy and unused bi_enetaddr 2022-06-06 18:01:21 -04:00
unaligned.h asm-generic: simplify unaligned.h 2023-05-31 14:05:34 -04:00