u-boot/arch/powerpc/lib
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
..
_ashldi3.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
_ashrdi3.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
_lshrdi3.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bat_rw.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
bdinfo.c powerpc: Remove unused MPC8540/60ADS code 2022-03-03 16:51:19 -05:00
bootm.c zynqmp: Run board_get_usable_ram_top() only on main U-Boot 2022-07-26 08:23:54 +02:00
cache.c powerpc: introduce CONFIG_CACHE_FLUSH_WATCHDOG_THRESHOLD 2021-04-27 08:28:07 +02:00
extable.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
interrupts.c allow opting out of WATCHDOG_RESET() from timer interrupt 2021-04-27 08:28:07 +02:00
Kconfig powerpc: introduce CONFIG_CACHE_FLUSH_WATCHDOG_THRESHOLD 2021-04-27 08:28:07 +02:00
kgdb.c common: Drop asm/ptrace.h from common header 2020-05-18 21:19:23 -04:00
Makefile Convert CONFIG_SPL_INIT_MINIMAL et al to Kconfig 2022-06-06 12:09:00 -04:00
ppccache.S WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
ppcstring.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
reloc.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
spl.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
stack.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
ticks.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
time.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
traps.c Revert "powerpc: fix regression in arch_initr_trap()" 2021-06-23 08:45:03 -04:00