u-boot-brain/include
Patrick Delaunay 6d66502bc7 lmb: Add 2 config to define the max number of regions
Add 2 configs CONFIG_LMB_MEMORY_REGIONS and CONFIG_LMB_RESERVED_REGIONS
to change independently the max number of the regions in lmb
library.

When CONFIG_LMB_USE_MAX_REGIONS=y, move the lmb property arrays to
struct lmb and manage the array size with the element 'max' of struct
lmb_region; their are still allocated in stack.

When CONFIG_LMB_USE_MAX_REGIONS=n, keep the current location in
struct lmb_region to allow compiler optimization.

Increase CONFIG_LMB_RESERVED_REGIONS is useful to avoid lmb errors in
bootm when the number of reserved regions (not adjacent) is reached:
+ 1 region for relocated U-Boot
+ 1 region for initrd
+ 1 region for relocated linux device tree
+ reserved memory regions present in Linux device tree.

The current limit of 8 regions is reached with only 5 reserved regions
in DT.

see Linux kernel commit bf23c51f1f49 ("memblock: Move memblock arrays
to static storage in memblock.c and make their size a variable")

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
2021-04-22 14:09:45 -04:00
..
acpi
andestech
asm-generic gpio: Drop dm_gpio_set_dir() 2021-04-12 17:45:40 -04:00
bedbug
broadcom
cavium
configs lmb: move CONFIG_LMB in Kconfig 2021-04-22 14:09:45 -04:00
cramfs
crypto
dm dm: core: Correctly read <ranges> of simple-bus 2021-04-15 14:22:17 +05:30
dt-bindings ARM: dts: imx8mn: Add power domain nodes 2021-04-18 04:29:36 +02:00
environment
faraday
fsl-mc
jffs2
kendryte
keys
linux psci: add features/reset2 support 2021-04-20 07:31:12 -04:00
lzma
mtd
mvebu
net
power power: pmic: remove pmic_max77696.c file 2021-04-12 14:25:30 -04:00
samsung
spmi
synopsys
tee lib: optee: migration optee_copy_fdt_nodes for OF_LIVE support 2021-04-12 14:25:31 -04:00
test test: Allow tests to run on any board 2021-04-06 16:33:19 +12:00
u-boot lib: Add support for ECDSA image signing 2021-04-14 15:06:08 -04:00
usb
xen
zfs
_exports.h
.gitignore
ACEX1K.h
adc.h
addr_map.h
ahci.h
ali512x.h
altera.h
android_ab.h
android_bootloader_message.h
android_image.h
ansi.h
api_public.h
api.h
armcoremodule.h
asm-offsets.h
ata.h Fix IDE commands issued, fix endian issues, fix non MMIO 2021-04-20 07:31:12 -04:00
atf_common.h
atmel_hlcdc.h
atmel_lcd.h
atmel_lcdc.h
atmel_mci.h
atsha204a-i2c.h
audio_codec.h
autoboot.h
avb_verify.h
axi.h
axp_pmic.h
axp152.h
axp209.h
axp221.h
axp305.h
axp809.h
axp818.h
backlight.h
bcb.h
bcd.h
binman_sym.h
binman.h
bios_emul.h
bitfield.h
blk.h
bloblist.h
bmp_layout.h
boot_fit.h
bootcount.h
bootm.h
bootretry.h
bootstage.h
bouncebuf.h
btrfs.h
bus_vcxk.h
button.h
bzlib.h
cache.h
capitalization.h
cbfs.h
charset.h efi_loader: documentation codepage_437[] 2021-04-10 12:00:24 +02:00
circbuf.h
cli_hush.h
cli.h
clk-uclass.h
clk.h
clock_legacy.h
cmd_spl.h
command.h command: Fix operation of !CONFIG_CMDLINE 2021-03-27 15:04:31 +13:00
common_timing_params.h
common.h
compiler.h
config_distro_bootcmd.h
config_fallbacks.h
config_fsl_chain_trust.h
config_phylib_all_drivers.h
config_uncmd_spl.h
console.h
cortina.h
cp437.h
cp1250.h
cpsw.h
cpu_func.h
cpu.h
cros_ec_message.h
cros_ec.h pwm: Add a driver for Chrome OS EC PWM 2021-04-10 16:08:39 +02:00
ctype.h
ddr_spd.h
debug_uart.h
dfu.h
dialog_pmic.h
display_options.h
display.h
div64.h
dm-demo.h
dm.h
dm9000.h
dma-uclass.h
dma.h
dp83848.h
ds1722.h
dsi_host.h
dt_table.h
dt-structs.h
dw_hdmi.h
dwc_ahsata.h
dwc3-omap-uboot.h
dwc3-sti-glue.h
dwc3-uboot.h
dwmmc.h
e500.h
ec_commands.h
edid.h
eeprom_field.h
eeprom_layout.h
eeprom.h
efi_api.h
efi_driver.h
efi_dt_fixup.h
efi_load_initrd.h
efi_loader.h
efi_rng.h
efi_selftest.h efi_loader: improve documentation of enum efi_test_phase 2021-04-10 12:00:24 +02:00
efi_tcg2.h
efi_variable.h
efi.h efi_loader: EFI_UNACCEPTED_MEMORY_TYPE 2021-04-10 12:00:24 +02:00
elf.h
env_attr.h
env_callback.h
env_default.h
env_flags.h
env_internal.h env: add ENV_ERASE_PTR macro 2021-04-16 17:32:34 -04:00
env.h env: increment redund flag on read fail 2021-04-16 11:55:55 -04:00
errno.h
eth_phy.h
ethsw.h
exception.h
exports.h
ext_common.h
ext4fs.h
exynos_lcd.h
fastboot-internal.h
fastboot.h
fat.h
fb_mmc.h
fb_nand.h
fdt_region.h
fdt_simplefb.h
fdt_support.h
fdt.h
fdtdec.h
fis.h
flash.h cfi_flash: Fix detection of 8-bit bus flash devices via address shift 2021-04-06 08:55:53 +02:00
fm_eth.h
fpga.h
fs_internal.h
fs_loader.h
fs.h
fsl_csu.h
fsl_dcu_fb.h
fsl_ddr_dimm_params.h
fsl_ddr_sdram.h
fsl_ddr.h
fsl_ddrc_version.h
fsl_devdis.h
fsl_diu_fb.h
fsl_dspi.h
fsl_dtsec.h
fsl_errata.h
fsl_esdhc_imx.h mmc: fsl_esdhc_imx: use VENDORSPEC_FRC_SDCLK_ON to control card clock output 2021-04-08 23:44:40 +02:00
fsl_esdhc.h mmc: fsl_esdhc: add pulse width detection workaround 2021-04-06 18:36:04 +08:00
fsl_fman.h
fsl_ifc.h
fsl_immap.h
fsl_lpuart.h
fsl_mdio.h
fsl_memac.h
fsl_mmdc.h
fsl_pmic.h
fsl_qbman.h
fsl_qe.h
fsl_sec_mon.h
fsl_sec.h imx8m: Add DEK blob encapsulation for imx8m 2021-04-08 20:29:52 +02:00
fsl_secboot_err.h
fsl_sfp.h
fsl_tgec.h
fsl_usb.h
fsl_validate.h
fsl_wdog.h
fuse.h
g_dnl.h
gdsys_fpga.h ppc: Remove gdsys hrcon boards 2021-04-10 08:04:42 -04:00
generic-phy.h
getopt.h
gt64120.h
gzip.h
handoff.h
hang.h
hash.h
hda_codec.h
hexdump.h
host_arch.h
hw_sha.h hash: Allow for SHA512 hardware implementations 2021-04-12 17:17:11 -04:00
hwconfig.h
hwspinlock.h
i2c_eeprom.h
i2c.h
i2s.h
i8042.h
ide.h
image-android-dt.h
image-sparse.h
image.h lmb: move CONFIG_LMB in Kconfig 2021-04-22 14:09:45 -04:00
imx_lpi2c.h
imx_sip.h
imx_thermal.h
imx8image.h
imximage.h
init.h
initcall.h
input.h
inttypes.h
iomux.h
ioports.h
iotrace.h
ipu_pixfmt.h
irq_func.h
irq.h
k3-avs.h
key_matrix.h
keyboard.h
kgdb.h
lattice.h
lcd_console.h
lcd.h
lcdvideo.h
ld9040.h
led.h
libata.h
libtizen.h
linker_lists.h linker_lists: document ll_entry_ref parameters 2021-04-10 12:00:24 +02:00
linux_logo.h
lmb.h lmb: Add 2 config to define the max number of regions 2021-04-22 14:09:45 -04:00
log.h log: Fix up debug_cond() when LOG is enabled 2021-04-06 16:33:19 +12:00
lxt971a.h
lynxkdi.h
lz4.h
mailbox-uclass.h
mailbox.h
malloc.h
mapmem.h
mc9sdz60.h
mc13783.h
mc13892.h
mc34704.h
MCD_dma.h
MCD_progCheck.h
MCD_tasksInit.h
media_bus_format.h
memalign.h
membuff.h
menu.h
micrel.h
mii_phy.h
miiphy.h
mipi_display.h
mipi_dsi.h
misc.h
mk48t59.h
mm_communication.h
mmc.h
mpc8xx_irq.h
mpc8xx.h
mpc83xx.h
mpc85xx.h
mpc86xx.h
mpc106.h
msc01.h
mtd_node.h
mtd.h
mux-internal.h
mux.h
mv88e6352.h
mvebu_mmc.h mmc: mvebu: convert to driver model 2021-04-08 08:50:52 +02:00
mvmfp.h
mxs_nand.h
nand.h
net.h
netdev.h net: calxedagmac: Convert to DM_ETH 2021-04-20 07:31:12 -04:00
ns16550.h
nuvoton_nct6102d.h
nvme.h
of_live.h
omap3_spi.h
onenand_uboot.h
opensbi.h
os.h sandbox: document parameters of os_realloc() 2021-04-06 16:33:19 +12:00
p2sb.h
palmas.h
panel.h
part_efi.h
part.h cmd: fs: Use part_get_info_by_dev_and_name_or_num to parse partitions 2021-04-22 14:09:45 -04:00
pca953x.h
pca9564.h
pca9698.h
pch.h
pci_ep.h
pci_gt64120.h
pci_ids.h
pci_msc01.h
pci_rom.h
pci_tegra.h
pci.h
pe.h
phy_interface.h
phy-mipi-dphy.h
phy-sun4i-usb.h
phy.h
phys2bus.h
physmem.h
post.h
power-domain-uclass.h
power-domain.h
ppc_asm.tmpl
ppc_defs.h
pvblock.h
pwm.h video: backlight: Support PWMs without a known period_ns 2021-04-10 16:07:12 +02:00
pwrseq.h
pxa_lcd.h
qfw.h x86: qemu: move QFW to its own uclass 2021-04-12 17:44:55 -04:00
radeon.h
ram.h
rand.h
rc4.h
regmap.h
reiserfs.h
relocate.h
remoteproc.h
reset-uclass.h
reset.h
rng.h
rtc_def.h
rtc.h
s_record.h
SA-1100.h
samsung-usb-phy-uboot.h
sandbox-adc.h
sandbox-clk.h
sandboxblockdev.h
sandboxfs.h
sandboxtee.h
sata.h
scf0403_lcd.h
scmi_agent-uclass.h
scmi_agent.h
scmi_protocols.h firmware: scmi: voltage regulator 2021-04-12 17:17:11 -04:00
scp03.h
scsi.h
sdhci.h
sdp.h
search.h
serial.h
sh_pfc.h
signatures.h
sja1000.h
slre.h
smbios.h
smem.h
smsc_lpc47m.h
smsc_sio1007.h
soc.h
sort.h
sound.h
sparse_defs.h
sparse_format.h
spartan2.h
spartan3.h
spd_sdram.h
spd.h
spi_flash.h
spi-mem.h spi: Return -ENOSYS when system call is not available 2021-04-06 16:33:19 +12:00
spi.h
spl_gpio.h
spl.h Revert "spl: Drop bd_info in the data section" 2021-04-19 11:34:01 -04:00
splash.h
squashfs.h
st_logo_data.h
status_led.h
stdint.h
stdio_dev.h
stdio.h
stdlib.h
stm32_rcc.h
stratixII.h
string.h
sunxi_image.h
sy8106a.h
sym53c8xx.h
syscon.h
sysinfo.h sysinfo.h: Add re-inclusion guard 2021-04-20 07:31:12 -04:00
sysreset.h
tables_csum.h
tca642x.h
tee.h
tegra-kbc.h
thermal.h
thor.h
ti-usb-phy-uboot.h
time.h
timer.h
timestamp.h
tlv_eeprom.h tlv_eeprom: Return -ENOSYS when system call is not available 2021-04-06 16:33:19 +12:00
tmu.h
tpm_api.h
tpm-common.h
tpm-v1.h
tpm-v2.h
tps6586x.h
trace.h
tsec.h
tsi148.h
twl4030.h
twl6030.h
ubi_uboot.h
ubifs_uboot.h
ubispl.h
uboot_aes.h
ufs.h
universe.h
usb_cdc_acm.h
usb_defs.h
usb_ether.h
usb_mass_storage.h
usb.h
usbdescriptors.h
usbdevice.h
usbroothubdes.h
uuid.h
vbe.h
versalpl.h
version.h
video_bridge.h
video_console.h
video_easylogo.h
video_fb.h
video_font_4x6.h
video_font_data.h
video_font.h
video_osd.h
video.h
virtex2.h
virtio_ring.h
virtio_types.h
virtio.h
vsc7385.h
vsc9953.h
vsprintf.h
vxworks.h
w1-eeprom.h
w1.h
w83c553f.h
wait_bit.h
watchdog.h
wdt.h
winbond_w83627.h
xen.h
xilinx.h
xyzModem.h
zfs_common.h
zynq_bootimg.h
zynqmp_firmware.h
zynqmp_tap_delay.h
zynqmppl.h
zynqpl.h