u-boot/boot
Ashok Reddy Soma 65168910ad zynqmp: Run board_get_usable_ram_top() only on main U-Boot
With commit ce39ee28ec ("zynqmp: Do not place u-boot to reserved memory
location"), the function board_get_usable_ram_top() is allocating
MMU_SECTION_SIZE of about 2MB using lmb_alloc(). But we dont have this
much memory in case of mini U-Boot.

Keep these functions which use lmb under CONFIG_LMB so that they are
compiled and used only when LMB is enabled.

Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>

Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/75e52def75f573e554a6b177a78504c128cb0c4a.1657183534.git.michal.simek@amd.com
2022-07-26 08:23:54 +02:00
..
android_ab.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
boot_fit.c Create a new boot/ directory 2021-11-11 19:01:56 -05:00
bootdev-uclass.c bootstd: Add support for bootflows 2022-04-25 10:00:04 -04:00
bootflow.c bootstd: Add support for bootflows 2022-04-25 10:00:04 -04:00
bootm.c Convert CONFIG_SYS_BOOTM_LEN to Kconfig 2022-07-07 14:01:09 -04:00
bootm_os.c bootm: Tidy up use of autostart env var 2021-11-16 14:35:09 -05:00
bootmeth-uclass.c bootstd: Add the bootmeth uclass and helpers 2022-04-25 10:00:04 -04:00
bootmeth_distro.c bootstd: Add an implementation of distro boot 2022-04-25 10:00:04 -04:00
bootmeth_efi.c bootstd: Add an implementation of EFI boot 2022-04-25 10:00:04 -04:00
bootmeth_efi_mgr.c bootstd: Add an implementation of EFI bootmgr 2022-04-25 10:00:04 -04:00
bootmeth_pxe.c bootstd: Add an implementation of distro PXE boot 2022-04-25 10:00:04 -04:00
bootmeth_sandbox.c bootstd: Add a sandbox bootmeth driver 2022-04-25 10:00:04 -04:00
bootmeth_script.c bootstd: Add an implementation of script boot 2022-04-25 10:00:04 -04:00
bootretry.c Convert CONFIG_BOOT_RETRY_TIME et al to Kconfig 2022-03-18 12:48:17 -04:00
bootstd-uclass.c bootstd: Add a system bootdev for strange boot methods 2022-04-25 10:00:04 -04:00
common_fit.c Create a new boot/ directory 2021-11-11 19:01:56 -05:00
fdt_region.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
image-android-dt.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
image-android.c Create a new boot/ directory 2021-11-11 19:01:56 -05:00
image-board.c zynqmp: Run board_get_usable_ram_top() only on main U-Boot 2022-07-26 08:23:54 +02:00
image-cipher.c Create a new boot/ directory 2021-11-11 19:01:56 -05:00
image-fdt.c image: fdt: Fix DT relocation handling with multiple DRAM banks with gap 2022-04-20 11:14:39 -04:00
image-fit-sig.c tools: Pass the key blob around 2022-01-26 08:50:44 -07:00
image-fit.c image: fit: Use stack allocation macro 2022-07-01 16:01:25 -04:00
image-host.c Create a new boot/ directory 2021-11-11 19:01:56 -05:00
image-pre-load.c boot: image-pre-load: drop unused CONFIG_SYS_BOOTM_LEN 2022-06-06 17:47:16 -04:00
image-sig.c Create a new boot/ directory 2021-11-11 19:01:56 -05:00
image.c tools: mkimage: Add Allwinner TOC0 support 2022-04-04 23:24:17 +01:00
Kconfig Convert CONFIG_SYS_BOOT_RAMDISK_HIGH to Kconfig 2022-07-07 14:01:09 -04:00
Makefile bootstd: Add an implementation of script boot 2022-04-25 10:00:04 -04:00
pxe_utils.c pxe: simplify label_boot() 2022-07-18 17:21:49 +02:00
system_bootdev.c bootstd: Add a system bootdev for strange boot methods 2022-04-25 10:00:04 -04:00