12 If you want to build SPL as well as the normal image, say Y.
14 config SPL_SYS_MALLOC_SIMPLE
17 prompt "Only use malloc_simple functions in the SPL"
19 Say Y here to only use the *_simple malloc functions from
20 malloc_simple.c, rather then using the versions from dlmalloc.c;
21 this will make the SPL binary smaller at the cost of more heap
22 usage as the *_simple malloc functions do not re-use free-ed mem.
26 bool "Enable SDRAM location for SPL stack"
28 SPL starts off execution in SRAM and thus typically has only a small
29 stack available. Since SPL sets up DRAM while in its board_init_f()
30 function, it is possible for the stack to move there before
31 board_init_r() is reached. This option enables a special SDRAM
32 location for the SPL stack. U-Boot SPL switches to this after
33 board_init_f() completes, and before board_init_r() starts.
35 config SPL_STACK_R_ADDR
36 depends on SPL_STACK_R
37 hex "SDRAM location for SPL stack"
39 Specify the address in SDRAM for the SPL stack. This will be set up
40 before board_init_r() is called.
42 config SPL_STACK_R_MALLOC_SIMPLE_LEN
43 depends on SPL_STACK_R && SPL_SYS_MALLOC_SIMPLE
44 hex "Size of malloc_simple heap after switching to DRAM SPL stack"
47 Specify the amount of the stack to use as memory pool for
48 malloc_simple after switching the stack to DRAM. This may be set
49 to give board_init_r() a larger heap then the initial heap in
50 SRAM which is limited to SYS_MALLOC_F_LEN bytes.
52 config SPL_SEPARATE_BSS
54 bool "BSS section is in a different memory region from text"
56 Some platforms need a large BSS region in SPL and can provide this
57 because RAM is already set up. In this case BSS can be moved to RAM.
58 This option should then be enabled so that the correct device tree
59 location is used. Normally we put the device tree at the end of BSS
60 but with this option enabled, it goes at _image_binary_end.
64 depends on SPL && SUPPORT_TPL
67 If you want to build TPL as well as the normal image and SPL, say Y.