Lines Matching +full:space +full:- +full:constraint
1 // SPDX-License-Identifier: GPL-2.0+
3 * Code shared between SPL and U-Boot proper
22 * Allocate reserved space for use as 'globals' from 'top' address and
23 * return 'bottom' address of allocated space
35 * - GD is aligned down on a 16-byte boundary
37 * - the early malloc arena is not aligned, therefore it follows the stack
38 * alignment constraint of the architecture for which we are bulding.
40 * - GD is allocated last, so that the return value of this functions is
49 top -= CONFIG_VAL(SYS_MALLOC_F_LEN); in board_init_f_alloc_reserve()
52 top = rounddown(top-sizeof(struct global_data), 16); in board_init_f_alloc_reserve()
58 * Initialize reserved space (which has been safely allocated on the C
64 * to base+size-1 (where 'size' is the value returned by the allocation
80 * - through gd_ptr if before the call to arch_setup_gd();
82 * - through gd once arch_setup_gd() has been called.
84 * Do not use 'gd->' until arch_setup_gd() has been called!
115 /* next alloc will be higher by one GD plus 16-byte alignment */ in board_init_f_init_reserve()
125 gd->malloc_base = base; in board_init_f_init_reserve()
132 * Board-specific Platform code can reimplement show_boot_progress () if needed