1 menu "PowerPC and LayerScape SPL Boot options"
2 depends on (PPC && SUPPORT_SPL && !SPL_FRAMEWORK) || \
3 ((ARCH_LS1021A || ARCH_LS1043A || ARCH_LS1046A) && SUPPORT_SPL)
6 bool "Load SPL from NAND flash"
7 depends on PPC && (SUPPORT_SPL && !SPL_FRAMEWORK)
10 bool "Load SPL from SD Card / eMMC"
11 depends on PPC && (SUPPORT_SPL && !SPL_FRAMEWORK)
14 bool "Load SPL from SPI flash"
15 depends on PPC && (SUPPORT_SPL && !SPL_FRAMEWORK)
18 bool "Create SPL in Freescale PBI format"
19 depends on (PPC || ARCH_LS1021A || ARCH_LS1043A || ARCH_LS1046A) && \
22 Create boot binary having SPL binary in PBI format concatenated with
25 config SPL_SYS_CCSR_DO_NOT_RELOCATE
26 bool "Ensures that CCSR is not relocated"
29 If this is defined, then CFG_SYS_CCSRBAR_PHYS will be forced to a
30 value that ensures that CCSR is not relocated.
32 config TPL_SYS_CCSR_DO_NOT_RELOCATE
34 depends on SPL_SYS_CCSR_DO_NOT_RELOCATE
36 menu "PowerPC SPL / TPL specific options"
37 depends on PPC && (SPL && !SPL_FRAMEWORK)
39 config SPL_INIT_MINIMAL
40 bool "Arch init code will be built for a very small image"
42 config SPL_FLUSH_IMAGE
43 bool "Clean dcache and invalidate icache after loading the image"
45 config SPL_SKIP_RELOCATE
46 bool "Skip relocating SPL"
49 hex "Address to use for global data (gd) in SPL"
50 depends on !SPL_INIT_MINIMAL
52 config SPL_RELOC_TEXT_BASE
53 hex "Address to relocate SPL to"
56 If unspecified, this is equal to CONFIG_SPL_TEXT_BASE (i.e. no
59 config SPL_RELOC_STACK
60 hex "Address of the start of the stack SPL will use after relocation."
62 If unspecified, this is equal to CFG_SPL_SYS_MALLOC_START. Starting
63 address of the malloc pool used in SPL. When this option is set the full
64 malloc is used in SPL and it is set up by spl_init() and before that, the
65 simple malloc() can be used if CONFIG_SYS_MALLOC_F is defined.
67 config SPL_RELOC_MALLOC
68 bool "SPL has malloc pool after relocation"
70 config SPL_RELOC_MALLOC_ADDR
71 hex "Address of malloc pool in SPL"
72 depends on SPL_RELOC_MALLOC
74 config SPL_RELOC_MALLOC_SIZE
75 hex "Size of malloc pool in SPL"
76 depends on SPL_RELOC_MALLOC
79 hex "Address to use for global data (gd) in TPL"
82 config TPL_RELOC_TEXT_BASE
83 hex "Address to relocate TPL to"
87 If unspecified, this is equal to CONFIG_TPL_TEXT_BASE (i.e. no
90 config TPL_RELOC_STACK
91 hex "Address of the start of the stack TPL will use after relocation."
94 If unspecified, this is equal to CONFIG_SYS_TPL_MALLOC_START. Starting
95 address of the malloc pool used in TPL. When this option is set the full
96 malloc is used in TPL and it is set up by spl_init() and before that, the
97 simple malloc() can be used if CONFIG_SYS_MALLOC_F is defined.
99 config TPL_RELOC_MALLOC
100 bool "TPL has malloc pool after relocation"
103 config TPL_RELOC_MALLOC_ADDR
104 hex "Address of malloc pool in TPL"
105 depends on TPL_RELOC_MALLOC
107 config TPL_RELOC_MALLOC_SIZE
108 hex "Size of malloc pool in TPL"
109 depends on TPL_RELOC_MALLOC
112 hex "Offset to which the TPL should be padded before appending the TPL payload"
113 depends on TPL && !TPL_FRAMEWORK
116 Image offset to which the TPL should be padded before appending the
117 TPL payload. By default, this is defined as CONFIG_TPL_MAX_SIZE, or 0 if
118 CONFIG_TPL_MAX_SIZE is undefined. CONFIG_TPL_PAD_TO must be either
119 0, meaning to append the TPL payload without any padding, or >=