Commit 6ebf8a4a9d9f77694d3e80a63040a274d16ee098

Authored by Michal Simek
1 parent 3d4eb334ec

ARM: zynq: Move CONFIG_SYS_TEXT_BASE to Kconfig

Enable CONFIG_SYS_TEXT_BASE via Kconfig.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>

Showing 14 changed files with 14 additions and 4 deletions Inline Diff

1 # 1 #
2 # For a description of the syntax of this configuration file, 2 # For a description of the syntax of this configuration file,
3 # see the file Documentation/kbuild/kconfig-language.txt in the 3 # see the file Documentation/kbuild/kconfig-language.txt in the
4 # Linux kernel source tree. 4 # Linux kernel source tree.
5 # 5 #
6 mainmenu "U-Boot $UBOOTVERSION Configuration" 6 mainmenu "U-Boot $UBOOTVERSION Configuration"
7 7
8 config UBOOTVERSION 8 config UBOOTVERSION
9 string 9 string
10 option env="UBOOTVERSION" 10 option env="UBOOTVERSION"
11 11
12 # Allow defaults in arch-specific code to override any given here 12 # Allow defaults in arch-specific code to override any given here
13 source "arch/Kconfig" 13 source "arch/Kconfig"
14 14
15 menu "General setup" 15 menu "General setup"
16 16
17 config LOCALVERSION 17 config LOCALVERSION
18 string "Local version - append to U-Boot release" 18 string "Local version - append to U-Boot release"
19 help 19 help
20 Append an extra string to the end of your U-Boot version. 20 Append an extra string to the end of your U-Boot version.
21 This will show up in your boot log, for example. 21 This will show up in your boot log, for example.
22 The string you set here will be appended after the contents of 22 The string you set here will be appended after the contents of
23 any files with a filename matching localversion* in your 23 any files with a filename matching localversion* in your
24 object and source tree, in that order. Your total string can 24 object and source tree, in that order. Your total string can
25 be a maximum of 64 characters. 25 be a maximum of 64 characters.
26 26
27 config LOCALVERSION_AUTO 27 config LOCALVERSION_AUTO
28 bool "Automatically append version information to the version string" 28 bool "Automatically append version information to the version string"
29 default y 29 default y
30 help 30 help
31 This will try to automatically determine if the current tree is a 31 This will try to automatically determine if the current tree is a
32 release tree by looking for Git tags that belong to the current 32 release tree by looking for Git tags that belong to the current
33 top of tree revision. 33 top of tree revision.
34 34
35 A string of the format -gxxxxxxxx will be added to the localversion 35 A string of the format -gxxxxxxxx will be added to the localversion
36 if a Git-based tree is found. The string generated by this will be 36 if a Git-based tree is found. The string generated by this will be
37 appended after any matching localversion* files, and after the value 37 appended after any matching localversion* files, and after the value
38 set in CONFIG_LOCALVERSION. 38 set in CONFIG_LOCALVERSION.
39 39
40 (The actual string used here is the first eight characters produced 40 (The actual string used here is the first eight characters produced
41 by running the command: 41 by running the command:
42 42
43 $ git rev-parse --verify HEAD 43 $ git rev-parse --verify HEAD
44 44
45 which is done within the script "scripts/setlocalversion".) 45 which is done within the script "scripts/setlocalversion".)
46 46
47 config CC_OPTIMIZE_FOR_SIZE 47 config CC_OPTIMIZE_FOR_SIZE
48 bool "Optimize for size" 48 bool "Optimize for size"
49 default y 49 default y
50 help 50 help
51 Enabling this option will pass "-Os" instead of "-O2" to gcc 51 Enabling this option will pass "-Os" instead of "-O2" to gcc
52 resulting in a smaller U-Boot image. 52 resulting in a smaller U-Boot image.
53 53
54 This option is enabled by default for U-Boot. 54 This option is enabled by default for U-Boot.
55 55
56 config DISTRO_DEFAULTS 56 config DISTRO_DEFAULTS
57 bool "Select defaults suitable for booting general purpose Linux distributions" 57 bool "Select defaults suitable for booting general purpose Linux distributions"
58 default y if ARCH_SUNXI || TEGRA 58 default y if ARCH_SUNXI || TEGRA
59 default y if ARCH_LS2080A 59 default y if ARCH_LS2080A
60 default n 60 default n
61 select CMD_BOOTZ if ARM && !ARM64 61 select CMD_BOOTZ if ARM && !ARM64
62 select CMD_BOOTI if ARM64 62 select CMD_BOOTI if ARM64
63 select CMD_DHCP 63 select CMD_DHCP
64 select CMD_PXE 64 select CMD_PXE
65 select CMD_EXT2 65 select CMD_EXT2
66 select CMD_EXT4 66 select CMD_EXT4
67 select CMD_FAT 67 select CMD_FAT
68 select CMD_FS_GENERIC 68 select CMD_FS_GENERIC
69 select CMD_MII 69 select CMD_MII
70 select CMD_PING 70 select CMD_PING
71 select HUSH_PARSER 71 select HUSH_PARSER
72 help 72 help
73 Select this to enable various options and commands which are suitable 73 Select this to enable various options and commands which are suitable
74 for building u-boot for booting general purpose Linux distributions. 74 for building u-boot for booting general purpose Linux distributions.
75 75
76 config SYS_MALLOC_F 76 config SYS_MALLOC_F
77 bool "Enable malloc() pool before relocation" 77 bool "Enable malloc() pool before relocation"
78 default y if DM 78 default y if DM
79 help 79 help
80 Before relocation, memory is very limited on many platforms. Still, 80 Before relocation, memory is very limited on many platforms. Still,
81 we can provide a small malloc() pool if needed. Driver model in 81 we can provide a small malloc() pool if needed. Driver model in
82 particular needs this to operate, so that it can allocate the 82 particular needs this to operate, so that it can allocate the
83 initial serial device and any others that are needed. 83 initial serial device and any others that are needed.
84 84
85 config SYS_MALLOC_F_LEN 85 config SYS_MALLOC_F_LEN
86 hex "Size of malloc() pool before relocation" 86 hex "Size of malloc() pool before relocation"
87 depends on SYS_MALLOC_F 87 depends on SYS_MALLOC_F
88 default 0x400 88 default 0x400
89 help 89 help
90 Before relocation, memory is very limited on many platforms. Still, 90 Before relocation, memory is very limited on many platforms. Still,
91 we can provide a small malloc() pool if needed. Driver model in 91 we can provide a small malloc() pool if needed. Driver model in
92 particular needs this to operate, so that it can allocate the 92 particular needs this to operate, so that it can allocate the
93 initial serial device and any others that are needed. 93 initial serial device and any others that are needed.
94 94
95 menuconfig EXPERT 95 menuconfig EXPERT
96 bool "Configure standard U-Boot features (expert users)" 96 bool "Configure standard U-Boot features (expert users)"
97 default y 97 default y
98 help 98 help
99 This option allows certain base U-Boot options and settings 99 This option allows certain base U-Boot options and settings
100 to be disabled or tweaked. This is for specialized 100 to be disabled or tweaked. This is for specialized
101 environments which can tolerate a "non-standard" U-Boot. 101 environments which can tolerate a "non-standard" U-Boot.
102 Use this only if you really know what you are doing. 102 Use this only if you really know what you are doing.
103 103
104 if EXPERT 104 if EXPERT
105 config SYS_MALLOC_CLEAR_ON_INIT 105 config SYS_MALLOC_CLEAR_ON_INIT
106 bool "Init with zeros the memory reserved for malloc (slow)" 106 bool "Init with zeros the memory reserved for malloc (slow)"
107 default y 107 default y
108 help 108 help
109 This setting is enabled by default. The reserved malloc 109 This setting is enabled by default. The reserved malloc
110 memory is initialized with zeros, so first malloc calls 110 memory is initialized with zeros, so first malloc calls
111 will return the pointer to the zeroed memory. But this 111 will return the pointer to the zeroed memory. But this
112 slows the boot time. 112 slows the boot time.
113 113
114 It is recommended to disable it, when CONFIG_SYS_MALLOC_LEN 114 It is recommended to disable it, when CONFIG_SYS_MALLOC_LEN
115 value, has more than few MiB, e.g. when uses bzip2 or bmp logo. 115 value, has more than few MiB, e.g. when uses bzip2 or bmp logo.
116 Then the boot time can be significantly reduced. 116 Then the boot time can be significantly reduced.
117 Warning: 117 Warning:
118 When disabling this, please check if malloc calls, maybe 118 When disabling this, please check if malloc calls, maybe
119 should be replaced by calloc - if one expects zeroed memory. 119 should be replaced by calloc - if one expects zeroed memory.
120 120
121 config TOOLS_DEBUG 121 config TOOLS_DEBUG
122 bool "Enable debug information for tools" 122 bool "Enable debug information for tools"
123 help 123 help
124 Enable generation of debug information for tools such as mkimage. 124 Enable generation of debug information for tools such as mkimage.
125 This can be used for debugging purposes. With debug information 125 This can be used for debugging purposes. With debug information
126 it is possible to set breakpoints on particular lines, single-step 126 it is possible to set breakpoints on particular lines, single-step
127 debug through the source code, etc. 127 debug through the source code, etc.
128 128
129 endif 129 endif
130 130
131 config PHYS_64BIT 131 config PHYS_64BIT
132 bool "64bit physical address support" 132 bool "64bit physical address support"
133 help 133 help
134 Say Y here to support 64bit physical memory address. 134 Say Y here to support 64bit physical memory address.
135 This can be used not only for 64bit SoCs, but also for 135 This can be used not only for 64bit SoCs, but also for
136 large physical address extention on 32bit SoCs. 136 large physical address extention on 32bit SoCs.
137 137
138 endmenu # General setup 138 endmenu # General setup
139 139
140 menu "Boot images" 140 menu "Boot images"
141 141
142 config FIT 142 config FIT
143 bool "Support Flattened Image Tree" 143 bool "Support Flattened Image Tree"
144 help 144 help
145 This option allows to boot the new uImage structrure, 145 This option allows to boot the new uImage structrure,
146 Flattened Image Tree. FIT is formally a FDT, which can include 146 Flattened Image Tree. FIT is formally a FDT, which can include
147 images of various types (kernel, FDT blob, ramdisk, etc.) 147 images of various types (kernel, FDT blob, ramdisk, etc.)
148 in a single blob. To boot this new uImage structure, 148 in a single blob. To boot this new uImage structure,
149 pass the address of the blob to the "bootm" command. 149 pass the address of the blob to the "bootm" command.
150 FIT is very flexible, supporting compression, multiple images, 150 FIT is very flexible, supporting compression, multiple images,
151 multiple configurations, verification through hashing and also 151 multiple configurations, verification through hashing and also
152 verified boot (secure boot using RSA). This option enables that 152 verified boot (secure boot using RSA). This option enables that
153 feature. 153 feature.
154 154
155 config SPL_FIT 155 config SPL_FIT
156 bool "Support Flattened Image Tree within SPL" 156 bool "Support Flattened Image Tree within SPL"
157 depends on FIT 157 depends on FIT
158 depends on SPL 158 depends on SPL
159 159
160 config FIT_VERBOSE 160 config FIT_VERBOSE
161 bool "Display verbose messages on FIT boot" 161 bool "Display verbose messages on FIT boot"
162 depends on FIT 162 depends on FIT
163 163
164 config FIT_SIGNATURE 164 config FIT_SIGNATURE
165 bool "Enable signature verification of FIT uImages" 165 bool "Enable signature verification of FIT uImages"
166 depends on FIT 166 depends on FIT
167 depends on DM 167 depends on DM
168 select RSA 168 select RSA
169 help 169 help
170 This option enables signature verification of FIT uImages, 170 This option enables signature verification of FIT uImages,
171 using a hash signed and verified using RSA. If 171 using a hash signed and verified using RSA. If
172 CONFIG_SHA_PROG_HW_ACCEL is defined, i.e support for progressive 172 CONFIG_SHA_PROG_HW_ACCEL is defined, i.e support for progressive
173 hashing is available using hardware, then then RSA library will use 173 hashing is available using hardware, then then RSA library will use
174 it. See doc/uImage.FIT/signature.txt for more details. 174 it. See doc/uImage.FIT/signature.txt for more details.
175 175
176 WARNING: When relying on signed FIT images with a required signature 176 WARNING: When relying on signed FIT images with a required signature
177 check the legacy image format is disabled by default, so that 177 check the legacy image format is disabled by default, so that
178 unsigned images cannot be loaded. If a board needs the legacy image 178 unsigned images cannot be loaded. If a board needs the legacy image
179 format support in this case, enable it using 179 format support in this case, enable it using
180 CONFIG_IMAGE_FORMAT_LEGACY. 180 CONFIG_IMAGE_FORMAT_LEGACY.
181 181
182 config SPL_FIT_SIGNATURE 182 config SPL_FIT_SIGNATURE
183 bool "Enable signature verification of FIT firmware within SPL" 183 bool "Enable signature verification of FIT firmware within SPL"
184 depends on SPL_FIT 184 depends on SPL_FIT
185 depends on SPL_DM 185 depends on SPL_DM
186 select SPL_RSA 186 select SPL_RSA
187 187
188 config FIT_BEST_MATCH 188 config FIT_BEST_MATCH
189 bool "Select the best match for the kernel device tree" 189 bool "Select the best match for the kernel device tree"
190 depends on FIT 190 depends on FIT
191 help 191 help
192 When no configuration is explicitly selected, default to the 192 When no configuration is explicitly selected, default to the
193 one whose fdt's compatibility field best matches that of 193 one whose fdt's compatibility field best matches that of
194 U-Boot itself. A match is considered "best" if it matches the 194 U-Boot itself. A match is considered "best" if it matches the
195 most specific compatibility entry of U-Boot's fdt's root node. 195 most specific compatibility entry of U-Boot's fdt's root node.
196 The order of entries in the configuration's fdt is ignored. 196 The order of entries in the configuration's fdt is ignored.
197 197
198 config FIT_VERBOSE 198 config FIT_VERBOSE
199 bool "Show verbose messages when FIT images fails" 199 bool "Show verbose messages when FIT images fails"
200 depends on FIT 200 depends on FIT
201 help 201 help
202 Generally a system will have valid FIT images so debug messages 202 Generally a system will have valid FIT images so debug messages
203 are a waste of code space. If you are debugging your images then 203 are a waste of code space. If you are debugging your images then
204 you can enable this option to get more verbose information about 204 you can enable this option to get more verbose information about
205 failures. 205 failures.
206 206
207 config OF_BOARD_SETUP 207 config OF_BOARD_SETUP
208 bool "Set up board-specific details in device tree before boot" 208 bool "Set up board-specific details in device tree before boot"
209 depends on OF_LIBFDT 209 depends on OF_LIBFDT
210 help 210 help
211 This causes U-Boot to call ft_board_setup() before booting into 211 This causes U-Boot to call ft_board_setup() before booting into
212 the Operating System. This function can set up various 212 the Operating System. This function can set up various
213 board-specific information in the device tree for use by the OS. 213 board-specific information in the device tree for use by the OS.
214 The device tree is then passed to the OS. 214 The device tree is then passed to the OS.
215 215
216 config OF_SYSTEM_SETUP 216 config OF_SYSTEM_SETUP
217 bool "Set up system-specific details in device tree before boot" 217 bool "Set up system-specific details in device tree before boot"
218 depends on OF_LIBFDT 218 depends on OF_LIBFDT
219 help 219 help
220 This causes U-Boot to call ft_system_setup() before booting into 220 This causes U-Boot to call ft_system_setup() before booting into
221 the Operating System. This function can set up various 221 the Operating System. This function can set up various
222 system-specific information in the device tree for use by the OS. 222 system-specific information in the device tree for use by the OS.
223 The device tree is then passed to the OS. 223 The device tree is then passed to the OS.
224 224
225 config OF_STDOUT_VIA_ALIAS 225 config OF_STDOUT_VIA_ALIAS
226 bool "Update the device-tree stdout alias from U-Boot" 226 bool "Update the device-tree stdout alias from U-Boot"
227 depends on OF_LIBFDT 227 depends on OF_LIBFDT
228 help 228 help
229 This uses U-Boot's serial alias from the aliases node to update 229 This uses U-Boot's serial alias from the aliases node to update
230 the device tree passed to the OS. The "linux,stdout-path" property 230 the device tree passed to the OS. The "linux,stdout-path" property
231 in the chosen node is set to point to the correct serial node. 231 in the chosen node is set to point to the correct serial node.
232 This option currently references CONFIG_CONS_INDEX, which is 232 This option currently references CONFIG_CONS_INDEX, which is
233 incorrect when used with device tree as this option does not 233 incorrect when used with device tree as this option does not
234 exist / should not be used. 234 exist / should not be used.
235 235
236 config SYS_EXTRA_OPTIONS 236 config SYS_EXTRA_OPTIONS
237 string "Extra Options (DEPRECATED)" 237 string "Extra Options (DEPRECATED)"
238 help 238 help
239 The old configuration infrastructure (= mkconfig + boards.cfg) 239 The old configuration infrastructure (= mkconfig + boards.cfg)
240 provided the extra options field. If you have something like 240 provided the extra options field. If you have something like
241 "HAS_BAR,BAZ=64", the optional options 241 "HAS_BAR,BAZ=64", the optional options
242 #define CONFIG_HAS 242 #define CONFIG_HAS
243 #define CONFIG_BAZ 64 243 #define CONFIG_BAZ 64
244 will be defined in include/config.h. 244 will be defined in include/config.h.
245 This option was prepared for the smooth migration from the old 245 This option was prepared for the smooth migration from the old
246 configuration to Kconfig. Since this option will be removed sometime, 246 configuration to Kconfig. Since this option will be removed sometime,
247 new boards should not use this option. 247 new boards should not use this option.
248 248
249 config SYS_TEXT_BASE 249 config SYS_TEXT_BASE
250 depends on SPARC || ARC || X86 || ARCH_UNIPHIER || ARCH_ZYNQMP || \ 250 depends on SPARC || ARC || X86 || ARCH_UNIPHIER || ARCH_ZYNQMP || \
251 (M68K && !TARGET_ASTRO_MCF5373L) || MICROBLAZE || MIPS 251 (M68K && !TARGET_ASTRO_MCF5373L) || MICROBLAZE || MIPS || \
252 ARCH_ZYNQ
252 depends on !EFI_APP 253 depends on !EFI_APP
253 hex "Text Base" 254 hex "Text Base"
254 help 255 help
255 TODO: Move CONFIG_SYS_TEXT_BASE for all the architecture 256 TODO: Move CONFIG_SYS_TEXT_BASE for all the architecture
256 257
257 config SPL_LOAD_FIT 258 config SPL_LOAD_FIT
258 bool "Enable SPL loading U-Boot as a FIT" 259 bool "Enable SPL loading U-Boot as a FIT"
259 depends on FIT 260 depends on FIT
260 help 261 help
261 Normally with the SPL framework a legacy image is generated as part 262 Normally with the SPL framework a legacy image is generated as part
262 of the build. This contains U-Boot along with information as to 263 of the build. This contains U-Boot along with information as to
263 where it should be loaded. This option instead enables generation 264 where it should be loaded. This option instead enables generation
264 of a FIT (Flat Image Tree) which provides more flexibility. In 265 of a FIT (Flat Image Tree) which provides more flexibility. In
265 particular it can handle selecting from multiple device tree 266 particular it can handle selecting from multiple device tree
266 and passing the correct one to U-Boot. 267 and passing the correct one to U-Boot.
267 268
268 config SPL_FIT_IMAGE_POST_PROCESS 269 config SPL_FIT_IMAGE_POST_PROCESS
269 bool "Enable post-processing of FIT artifacts after loading by the SPL" 270 bool "Enable post-processing of FIT artifacts after loading by the SPL"
270 depends on SPL_LOAD_FIT && TI_SECURE_DEVICE 271 depends on SPL_LOAD_FIT && TI_SECURE_DEVICE
271 help 272 help
272 Allows doing any sort of manipulation to blobs after they got extracted 273 Allows doing any sort of manipulation to blobs after they got extracted
273 from the U-Boot FIT image like stripping off headers or modifying the 274 from the U-Boot FIT image like stripping off headers or modifying the
274 size of the blob, verification, authentication, decryption etc. in a 275 size of the blob, verification, authentication, decryption etc. in a
275 platform or board specific way. In order to use this feature a platform 276 platform or board specific way. In order to use this feature a platform
276 or board-specific implementation of board_fit_image_post_process() must 277 or board-specific implementation of board_fit_image_post_process() must
277 be provided. Also, anything done during this post-processing step would 278 be provided. Also, anything done during this post-processing step would
278 need to be comprehended in how the images were prepared before being 279 need to be comprehended in how the images were prepared before being
279 injected into the FIT creation (i.e. the blobs would have been pre- 280 injected into the FIT creation (i.e. the blobs would have been pre-
280 processed before being added to the FIT image). 281 processed before being added to the FIT image).
281 282
282 config FIT_IMAGE_POST_PROCESS 283 config FIT_IMAGE_POST_PROCESS
283 bool "Enable post-processing of FIT artifacts after loading by U-Boot" 284 bool "Enable post-processing of FIT artifacts after loading by U-Boot"
284 depends on FIT && TI_SECURE_DEVICE 285 depends on FIT && TI_SECURE_DEVICE
285 help 286 help
286 Allows doing any sort of manipulation to blobs after they got extracted 287 Allows doing any sort of manipulation to blobs after they got extracted
287 from FIT images like stripping off headers or modifying the size of the 288 from FIT images like stripping off headers or modifying the size of the
288 blob, verification, authentication, decryption etc. in a platform or 289 blob, verification, authentication, decryption etc. in a platform or
289 board specific way. In order to use this feature a platform or board- 290 board specific way. In order to use this feature a platform or board-
290 specific implementation of board_fit_image_post_process() must be 291 specific implementation of board_fit_image_post_process() must be
291 provided. Also, anything done during this post-processing step would 292 provided. Also, anything done during this post-processing step would
292 need to be comprehended in how the images were prepared before being 293 need to be comprehended in how the images were prepared before being
293 injected into the FIT creation (i.e. the blobs would have been pre- 294 injected into the FIT creation (i.e. the blobs would have been pre-
294 processed before being added to the FIT image). 295 processed before being added to the FIT image).
295 296
296 config SYS_CLK_FREQ 297 config SYS_CLK_FREQ
297 depends on ARC || ARCH_SUNXI 298 depends on ARC || ARCH_SUNXI
298 int "CPU clock frequency" 299 int "CPU clock frequency"
299 help 300 help
300 TODO: Move CONFIG_SYS_CLK_FREQ for all the architecture 301 TODO: Move CONFIG_SYS_CLK_FREQ for all the architecture
301 302
302 config ARCH_FIXUP_FDT_MEMORY 303 config ARCH_FIXUP_FDT_MEMORY
303 bool "Enable arch_fixup_memory_banks() call" 304 bool "Enable arch_fixup_memory_banks() call"
304 default y 305 default y
305 help 306 help
306 Enable FDT memory map syncup before OS boot. This feature can be 307 Enable FDT memory map syncup before OS boot. This feature can be
307 used for booting OS with different memory setup where the part of 308 used for booting OS with different memory setup where the part of
308 the memory location should be used for different purpose. 309 the memory location should be used for different purpose.
309 310
310 endmenu # Boot images 311 endmenu # Boot images
311 312
312 source "common/Kconfig" 313 source "common/Kconfig"
313 314
314 source "cmd/Kconfig" 315 source "cmd/Kconfig"
315 316
316 source "dts/Kconfig" 317 source "dts/Kconfig"
317 318
318 source "net/Kconfig" 319 source "net/Kconfig"
319 320
320 source "drivers/Kconfig" 321 source "drivers/Kconfig"
321 322
322 source "fs/Kconfig" 323 source "fs/Kconfig"
323 324
324 source "lib/Kconfig" 325 source "lib/Kconfig"
325 326
326 source "test/Kconfig" 327 source "test/Kconfig"
327 328
configs/topic_miami_defconfig
1 CONFIG_ARM=y 1 CONFIG_ARM=y
2 CONFIG_SYS_VENDOR="topic" 2 CONFIG_SYS_VENDOR="topic"
3 CONFIG_SYS_CONFIG_NAME="topic_miami" 3 CONFIG_SYS_CONFIG_NAME="topic_miami"
4 CONFIG_ARCH_ZYNQ=y 4 CONFIG_ARCH_ZYNQ=y
5 CONFIG_BOOT_INIT_FILE="board/topic/zynq/zynq-topic-miami/ps7_regs.txt" 5 CONFIG_BOOT_INIT_FILE="board/topic/zynq/zynq-topic-miami/ps7_regs.txt"
6 CONFIG_SYS_TEXT_BASE=0x4000000
6 CONFIG_DEFAULT_DEVICE_TREE="zynq-topic-miami" 7 CONFIG_DEFAULT_DEVICE_TREE="zynq-topic-miami"
7 CONFIG_BOOTDELAY=0 8 CONFIG_BOOTDELAY=0
8 CONFIG_SYS_NO_FLASH=y 9 CONFIG_SYS_NO_FLASH=y
9 # CONFIG_DISPLAY_CPUINFO is not set 10 # CONFIG_DISPLAY_CPUINFO is not set
10 CONFIG_SPL=y 11 CONFIG_SPL=y
11 CONFIG_HUSH_PARSER=y 12 CONFIG_HUSH_PARSER=y
12 CONFIG_SYS_PROMPT="zynq-uboot> " 13 CONFIG_SYS_PROMPT="zynq-uboot> "
13 # CONFIG_CMD_IMLS is not set 14 # CONFIG_CMD_IMLS is not set
14 # CONFIG_CMD_FLASH is not set 15 # CONFIG_CMD_FLASH is not set
15 CONFIG_CMD_MMC=y 16 CONFIG_CMD_MMC=y
16 CONFIG_CMD_SF=y 17 CONFIG_CMD_SF=y
17 CONFIG_CMD_I2C=y 18 CONFIG_CMD_I2C=y
18 CONFIG_CMD_USB=y 19 CONFIG_CMD_USB=y
19 CONFIG_CMD_DFU=y 20 CONFIG_CMD_DFU=y
20 CONFIG_CMD_GPIO=y 21 CONFIG_CMD_GPIO=y
21 # CONFIG_CMD_SETEXPR is not set 22 # CONFIG_CMD_SETEXPR is not set
22 CONFIG_CMD_CACHE=y 23 CONFIG_CMD_CACHE=y
23 CONFIG_CMD_EXT4=y 24 CONFIG_CMD_EXT4=y
24 CONFIG_CMD_FAT=y 25 CONFIG_CMD_FAT=y
25 CONFIG_CMD_FS_GENERIC=y 26 CONFIG_CMD_FS_GENERIC=y
26 CONFIG_OF_EMBED=y 27 CONFIG_OF_EMBED=y
27 CONFIG_SPL_DM_SEQ_ALIAS=y 28 CONFIG_SPL_DM_SEQ_ALIAS=y
28 CONFIG_ZYNQ_SDHCI=y 29 CONFIG_ZYNQ_SDHCI=y
29 CONFIG_MMC_SDHCI=y 30 CONFIG_MMC_SDHCI=y
30 CONFIG_SPI_FLASH=y 31 CONFIG_SPI_FLASH=y
31 CONFIG_SPI_FLASH_BAR=y 32 CONFIG_SPI_FLASH_BAR=y
32 CONFIG_SPI_FLASH_STMICRO=y 33 CONFIG_SPI_FLASH_STMICRO=y
33 # CONFIG_SPI_FLASH_USE_4K_SECTORS is not set 34 # CONFIG_SPI_FLASH_USE_4K_SECTORS is not set
34 # CONFIG_NETDEVICES is not set 35 # CONFIG_NETDEVICES is not set
35 CONFIG_DEBUG_UART=y 36 CONFIG_DEBUG_UART=y
36 CONFIG_DEBUG_UART_ZYNQ=y 37 CONFIG_DEBUG_UART_ZYNQ=y
37 CONFIG_DEBUG_UART_BASE=0xe0000000 38 CONFIG_DEBUG_UART_BASE=0xe0000000
38 CONFIG_DEBUG_UART_CLOCK=100000000 39 CONFIG_DEBUG_UART_CLOCK=100000000
39 CONFIG_ZYNQ_QSPI=y 40 CONFIG_ZYNQ_QSPI=y
40 CONFIG_USB=y 41 CONFIG_USB=y
41 CONFIG_USB_EHCI_HCD=y 42 CONFIG_USB_EHCI_HCD=y
42 CONFIG_USB_ULPI_VIEWPORT=y 43 CONFIG_USB_ULPI_VIEWPORT=y
43 CONFIG_USB_ULPI=y 44 CONFIG_USB_ULPI=y
44 CONFIG_USB_STORAGE=y 45 CONFIG_USB_STORAGE=y
45 CONFIG_USB_GADGET=y 46 CONFIG_USB_GADGET=y
46 CONFIG_CI_UDC=y 47 CONFIG_CI_UDC=y
47 CONFIG_USB_GADGET_DOWNLOAD=y 48 CONFIG_USB_GADGET_DOWNLOAD=y
48 CONFIG_G_DNL_MANUFACTURER="Xilinx" 49 CONFIG_G_DNL_MANUFACTURER="Xilinx"
49 CONFIG_G_DNL_VENDOR_NUM=0x03fd 50 CONFIG_G_DNL_VENDOR_NUM=0x03fd
50 CONFIG_G_DNL_PRODUCT_NUM=0x0300 51 CONFIG_G_DNL_PRODUCT_NUM=0x0300
51 52
configs/topic_miamiplus_defconfig
1 CONFIG_ARM=y 1 CONFIG_ARM=y
2 CONFIG_SYS_VENDOR="topic" 2 CONFIG_SYS_VENDOR="topic"
3 CONFIG_SYS_CONFIG_NAME="topic_miamiplus" 3 CONFIG_SYS_CONFIG_NAME="topic_miamiplus"
4 CONFIG_ARCH_ZYNQ=y 4 CONFIG_ARCH_ZYNQ=y
5 CONFIG_BOOT_INIT_FILE="board/topic/zynq/zynq-topic-miamiplus/ps7_regs.txt" 5 CONFIG_BOOT_INIT_FILE="board/topic/zynq/zynq-topic-miamiplus/ps7_regs.txt"
6 CONFIG_SYS_TEXT_BASE=0x4000000
6 CONFIG_DEFAULT_DEVICE_TREE="zynq-topic-miamiplus" 7 CONFIG_DEFAULT_DEVICE_TREE="zynq-topic-miamiplus"
7 CONFIG_BOOTDELAY=0 8 CONFIG_BOOTDELAY=0
8 CONFIG_SYS_NO_FLASH=y 9 CONFIG_SYS_NO_FLASH=y
9 # CONFIG_DISPLAY_CPUINFO is not set 10 # CONFIG_DISPLAY_CPUINFO is not set
10 CONFIG_SPL=y 11 CONFIG_SPL=y
11 CONFIG_HUSH_PARSER=y 12 CONFIG_HUSH_PARSER=y
12 CONFIG_SYS_PROMPT="zynq-uboot> " 13 CONFIG_SYS_PROMPT="zynq-uboot> "
13 # CONFIG_CMD_IMLS is not set 14 # CONFIG_CMD_IMLS is not set
14 # CONFIG_CMD_FLASH is not set 15 # CONFIG_CMD_FLASH is not set
15 CONFIG_CMD_MMC=y 16 CONFIG_CMD_MMC=y
16 CONFIG_CMD_SF=y 17 CONFIG_CMD_SF=y
17 CONFIG_CMD_I2C=y 18 CONFIG_CMD_I2C=y
18 CONFIG_CMD_USB=y 19 CONFIG_CMD_USB=y
19 CONFIG_CMD_DFU=y 20 CONFIG_CMD_DFU=y
20 CONFIG_CMD_GPIO=y 21 CONFIG_CMD_GPIO=y
21 # CONFIG_CMD_SETEXPR is not set 22 # CONFIG_CMD_SETEXPR is not set
22 CONFIG_CMD_CACHE=y 23 CONFIG_CMD_CACHE=y
23 CONFIG_CMD_EXT4=y 24 CONFIG_CMD_EXT4=y
24 CONFIG_CMD_FAT=y 25 CONFIG_CMD_FAT=y
25 CONFIG_CMD_FS_GENERIC=y 26 CONFIG_CMD_FS_GENERIC=y
26 CONFIG_OF_EMBED=y 27 CONFIG_OF_EMBED=y
27 CONFIG_SPL_DM_SEQ_ALIAS=y 28 CONFIG_SPL_DM_SEQ_ALIAS=y
28 CONFIG_ZYNQ_SDHCI=y 29 CONFIG_ZYNQ_SDHCI=y
29 CONFIG_MMC_SDHCI=y 30 CONFIG_MMC_SDHCI=y
30 CONFIG_SPI_FLASH=y 31 CONFIG_SPI_FLASH=y
31 CONFIG_SPI_FLASH_BAR=y 32 CONFIG_SPI_FLASH_BAR=y
32 CONFIG_SPI_FLASH_STMICRO=y 33 CONFIG_SPI_FLASH_STMICRO=y
33 # CONFIG_SPI_FLASH_USE_4K_SECTORS is not set 34 # CONFIG_SPI_FLASH_USE_4K_SECTORS is not set
34 # CONFIG_NETDEVICES is not set 35 # CONFIG_NETDEVICES is not set
35 CONFIG_DEBUG_UART=y 36 CONFIG_DEBUG_UART=y
36 CONFIG_DEBUG_UART_ZYNQ=y 37 CONFIG_DEBUG_UART_ZYNQ=y
37 CONFIG_DEBUG_UART_BASE=0xe0000000 38 CONFIG_DEBUG_UART_BASE=0xe0000000
38 CONFIG_DEBUG_UART_CLOCK=100000000 39 CONFIG_DEBUG_UART_CLOCK=100000000
39 CONFIG_ZYNQ_QSPI=y 40 CONFIG_ZYNQ_QSPI=y
40 CONFIG_USB=y 41 CONFIG_USB=y
41 CONFIG_USB_EHCI_HCD=y 42 CONFIG_USB_EHCI_HCD=y
42 CONFIG_USB_ULPI_VIEWPORT=y 43 CONFIG_USB_ULPI_VIEWPORT=y
43 CONFIG_USB_ULPI=y 44 CONFIG_USB_ULPI=y
44 CONFIG_USB_STORAGE=y 45 CONFIG_USB_STORAGE=y
45 CONFIG_USB_GADGET=y 46 CONFIG_USB_GADGET=y
46 CONFIG_CI_UDC=y 47 CONFIG_CI_UDC=y
47 CONFIG_USB_GADGET_DOWNLOAD=y 48 CONFIG_USB_GADGET_DOWNLOAD=y
48 CONFIG_G_DNL_MANUFACTURER="Xilinx" 49 CONFIG_G_DNL_MANUFACTURER="Xilinx"
49 CONFIG_G_DNL_VENDOR_NUM=0x03fd 50 CONFIG_G_DNL_VENDOR_NUM=0x03fd
50 CONFIG_G_DNL_PRODUCT_NUM=0x0300 51 CONFIG_G_DNL_PRODUCT_NUM=0x0300
51 52
configs/zynq_microzed_defconfig
1 CONFIG_ARM=y 1 CONFIG_ARM=y
2 CONFIG_ARCH_ZYNQ=y 2 CONFIG_ARCH_ZYNQ=y
3 CONFIG_SYS_TEXT_BASE=0x4000000
3 CONFIG_DEFAULT_DEVICE_TREE="zynq-microzed" 4 CONFIG_DEFAULT_DEVICE_TREE="zynq-microzed"
4 CONFIG_FIT=y 5 CONFIG_FIT=y
5 CONFIG_FIT_VERBOSE=y 6 CONFIG_FIT_VERBOSE=y
6 CONFIG_FIT_SIGNATURE=y 7 CONFIG_FIT_SIGNATURE=y
7 CONFIG_SYS_NO_FLASH=y 8 CONFIG_SYS_NO_FLASH=y
8 # CONFIG_DISPLAY_CPUINFO is not set 9 # CONFIG_DISPLAY_CPUINFO is not set
9 CONFIG_SPL=y 10 CONFIG_SPL=y
10 CONFIG_SPL_OS_BOOT=y 11 CONFIG_SPL_OS_BOOT=y
11 CONFIG_HUSH_PARSER=y 12 CONFIG_HUSH_PARSER=y
12 CONFIG_SYS_PROMPT="Zynq> " 13 CONFIG_SYS_PROMPT="Zynq> "
13 # CONFIG_CMD_IMLS is not set 14 # CONFIG_CMD_IMLS is not set
14 # CONFIG_CMD_FLASH is not set 15 # CONFIG_CMD_FLASH is not set
15 CONFIG_CMD_MMC=y 16 CONFIG_CMD_MMC=y
16 CONFIG_CMD_SF=y 17 CONFIG_CMD_SF=y
17 CONFIG_CMD_USB=y 18 CONFIG_CMD_USB=y
18 CONFIG_CMD_DFU=y 19 CONFIG_CMD_DFU=y
19 CONFIG_CMD_GPIO=y 20 CONFIG_CMD_GPIO=y
20 # CONFIG_CMD_SETEXPR is not set 21 # CONFIG_CMD_SETEXPR is not set
21 CONFIG_CMD_TFTPPUT=y 22 CONFIG_CMD_TFTPPUT=y
22 CONFIG_CMD_DHCP=y 23 CONFIG_CMD_DHCP=y
23 CONFIG_CMD_MII=y 24 CONFIG_CMD_MII=y
24 CONFIG_CMD_PING=y 25 CONFIG_CMD_PING=y
25 CONFIG_CMD_CACHE=y 26 CONFIG_CMD_CACHE=y
26 CONFIG_CMD_EXT2=y 27 CONFIG_CMD_EXT2=y
27 CONFIG_CMD_EXT4=y 28 CONFIG_CMD_EXT4=y
28 CONFIG_CMD_EXT4_WRITE=y 29 CONFIG_CMD_EXT4_WRITE=y
29 CONFIG_CMD_FAT=y 30 CONFIG_CMD_FAT=y
30 CONFIG_CMD_FS_GENERIC=y 31 CONFIG_CMD_FS_GENERIC=y
31 CONFIG_NET_RANDOM_ETHADDR=y 32 CONFIG_NET_RANDOM_ETHADDR=y
32 CONFIG_SPL_DM_SEQ_ALIAS=y 33 CONFIG_SPL_DM_SEQ_ALIAS=y
33 CONFIG_DFU_MMC=y 34 CONFIG_DFU_MMC=y
34 CONFIG_DFU_RAM=y 35 CONFIG_DFU_RAM=y
35 CONFIG_ZYNQ_SDHCI=y 36 CONFIG_ZYNQ_SDHCI=y
36 CONFIG_MMC_SDHCI=y 37 CONFIG_MMC_SDHCI=y
37 CONFIG_SPI_FLASH=y 38 CONFIG_SPI_FLASH=y
38 CONFIG_SPI_FLASH_BAR=y 39 CONFIG_SPI_FLASH_BAR=y
39 CONFIG_SPI_FLASH_SPANSION=y 40 CONFIG_SPI_FLASH_SPANSION=y
40 CONFIG_SPI_FLASH_STMICRO=y 41 CONFIG_SPI_FLASH_STMICRO=y
41 CONFIG_SPI_FLASH_WINBOND=y 42 CONFIG_SPI_FLASH_WINBOND=y
42 CONFIG_ZYNQ_GEM=y 43 CONFIG_ZYNQ_GEM=y
43 CONFIG_ZYNQ_QSPI=y 44 CONFIG_ZYNQ_QSPI=y
44 CONFIG_USB=y 45 CONFIG_USB=y
45 CONFIG_USB_EHCI_HCD=y 46 CONFIG_USB_EHCI_HCD=y
46 CONFIG_USB_ULPI_VIEWPORT=y 47 CONFIG_USB_ULPI_VIEWPORT=y
47 CONFIG_USB_ULPI=y 48 CONFIG_USB_ULPI=y
48 CONFIG_USB_STORAGE=y 49 CONFIG_USB_STORAGE=y
49 CONFIG_USB_GADGET=y 50 CONFIG_USB_GADGET=y
50 CONFIG_CI_UDC=y 51 CONFIG_CI_UDC=y
51 CONFIG_USB_GADGET_DOWNLOAD=y 52 CONFIG_USB_GADGET_DOWNLOAD=y
52 CONFIG_G_DNL_MANUFACTURER="Xilinx" 53 CONFIG_G_DNL_MANUFACTURER="Xilinx"
53 CONFIG_G_DNL_VENDOR_NUM=0x03FD 54 CONFIG_G_DNL_VENDOR_NUM=0x03FD
54 CONFIG_G_DNL_PRODUCT_NUM=0x0300 55 CONFIG_G_DNL_PRODUCT_NUM=0x0300
55 56
configs/zynq_picozed_defconfig
1 CONFIG_ARM=y 1 CONFIG_ARM=y
2 CONFIG_ARCH_ZYNQ=y 2 CONFIG_ARCH_ZYNQ=y
3 CONFIG_SYS_TEXT_BASE=0x4000000
3 CONFIG_DEFAULT_DEVICE_TREE="zynq-picozed" 4 CONFIG_DEFAULT_DEVICE_TREE="zynq-picozed"
4 CONFIG_SYS_NO_FLASH=y 5 CONFIG_SYS_NO_FLASH=y
5 # CONFIG_DISPLAY_CPUINFO is not set 6 # CONFIG_DISPLAY_CPUINFO is not set
6 CONFIG_SPL=y 7 CONFIG_SPL=y
7 CONFIG_SPL_OS_BOOT=y 8 CONFIG_SPL_OS_BOOT=y
8 CONFIG_HUSH_PARSER=y 9 CONFIG_HUSH_PARSER=y
9 CONFIG_SYS_PROMPT="Zynq> " 10 CONFIG_SYS_PROMPT="Zynq> "
10 # CONFIG_CMD_IMLS is not set 11 # CONFIG_CMD_IMLS is not set
11 # CONFIG_CMD_FLASH is not set 12 # CONFIG_CMD_FLASH is not set
12 CONFIG_CMD_MMC=y 13 CONFIG_CMD_MMC=y
13 CONFIG_CMD_USB=y 14 CONFIG_CMD_USB=y
14 CONFIG_CMD_DFU=y 15 CONFIG_CMD_DFU=y
15 CONFIG_CMD_GPIO=y 16 CONFIG_CMD_GPIO=y
16 # CONFIG_CMD_SETEXPR is not set 17 # CONFIG_CMD_SETEXPR is not set
17 CONFIG_CMD_TFTPPUT=y 18 CONFIG_CMD_TFTPPUT=y
18 CONFIG_CMD_DHCP=y 19 CONFIG_CMD_DHCP=y
19 CONFIG_CMD_MII=y 20 CONFIG_CMD_MII=y
20 CONFIG_CMD_PING=y 21 CONFIG_CMD_PING=y
21 CONFIG_CMD_CACHE=y 22 CONFIG_CMD_CACHE=y
22 CONFIG_CMD_EXT2=y 23 CONFIG_CMD_EXT2=y
23 CONFIG_CMD_EXT4=y 24 CONFIG_CMD_EXT4=y
24 CONFIG_CMD_EXT4_WRITE=y 25 CONFIG_CMD_EXT4_WRITE=y
25 CONFIG_CMD_FAT=y 26 CONFIG_CMD_FAT=y
26 CONFIG_CMD_FS_GENERIC=y 27 CONFIG_CMD_FS_GENERIC=y
27 CONFIG_NET_RANDOM_ETHADDR=y 28 CONFIG_NET_RANDOM_ETHADDR=y
28 CONFIG_SPL_DM_SEQ_ALIAS=y 29 CONFIG_SPL_DM_SEQ_ALIAS=y
29 CONFIG_DFU_MMC=y 30 CONFIG_DFU_MMC=y
30 CONFIG_DFU_RAM=y 31 CONFIG_DFU_RAM=y
31 CONFIG_ZYNQ_SDHCI=y 32 CONFIG_ZYNQ_SDHCI=y
32 CONFIG_MMC_SDHCI=y 33 CONFIG_MMC_SDHCI=y
33 CONFIG_ZYNQ_GEM=y 34 CONFIG_ZYNQ_GEM=y
34 CONFIG_USB=y 35 CONFIG_USB=y
35 CONFIG_USB_EHCI_HCD=y 36 CONFIG_USB_EHCI_HCD=y
36 CONFIG_USB_ULPI_VIEWPORT=y 37 CONFIG_USB_ULPI_VIEWPORT=y
37 CONFIG_USB_ULPI=y 38 CONFIG_USB_ULPI=y
38 CONFIG_USB_STORAGE=y 39 CONFIG_USB_STORAGE=y
39 CONFIG_USB_GADGET=y 40 CONFIG_USB_GADGET=y
40 CONFIG_CI_UDC=y 41 CONFIG_CI_UDC=y
41 CONFIG_USB_GADGET_DOWNLOAD=y 42 CONFIG_USB_GADGET_DOWNLOAD=y
42 CONFIG_G_DNL_MANUFACTURER="Xilinx" 43 CONFIG_G_DNL_MANUFACTURER="Xilinx"
43 CONFIG_G_DNL_VENDOR_NUM=0x03fd 44 CONFIG_G_DNL_VENDOR_NUM=0x03fd
44 CONFIG_G_DNL_PRODUCT_NUM=0x0300 45 CONFIG_G_DNL_PRODUCT_NUM=0x0300
45 46
configs/zynq_zc702_defconfig
1 CONFIG_ARM=y 1 CONFIG_ARM=y
2 CONFIG_SYS_CONFIG_NAME="zynq_zc70x" 2 CONFIG_SYS_CONFIG_NAME="zynq_zc70x"
3 CONFIG_ARCH_ZYNQ=y 3 CONFIG_ARCH_ZYNQ=y
4 CONFIG_SYS_TEXT_BASE=0x4000000
4 CONFIG_DEFAULT_DEVICE_TREE="zynq-zc702" 5 CONFIG_DEFAULT_DEVICE_TREE="zynq-zc702"
5 CONFIG_FIT=y 6 CONFIG_FIT=y
6 CONFIG_FIT_VERBOSE=y 7 CONFIG_FIT_VERBOSE=y
7 CONFIG_FIT_SIGNATURE=y 8 CONFIG_FIT_SIGNATURE=y
8 CONFIG_SYS_NO_FLASH=y 9 CONFIG_SYS_NO_FLASH=y
9 # CONFIG_DISPLAY_CPUINFO is not set 10 # CONFIG_DISPLAY_CPUINFO is not set
10 CONFIG_SPL=y 11 CONFIG_SPL=y
11 CONFIG_SPL_OS_BOOT=y 12 CONFIG_SPL_OS_BOOT=y
12 CONFIG_HUSH_PARSER=y 13 CONFIG_HUSH_PARSER=y
13 CONFIG_SYS_PROMPT="Zynq> " 14 CONFIG_SYS_PROMPT="Zynq> "
14 # CONFIG_CMD_IMLS is not set 15 # CONFIG_CMD_IMLS is not set
15 # CONFIG_CMD_FLASH is not set 16 # CONFIG_CMD_FLASH is not set
16 CONFIG_CMD_MMC=y 17 CONFIG_CMD_MMC=y
17 CONFIG_CMD_SF=y 18 CONFIG_CMD_SF=y
18 CONFIG_CMD_I2C=y 19 CONFIG_CMD_I2C=y
19 CONFIG_CMD_USB=y 20 CONFIG_CMD_USB=y
20 CONFIG_CMD_DFU=y 21 CONFIG_CMD_DFU=y
21 CONFIG_CMD_GPIO=y 22 CONFIG_CMD_GPIO=y
22 # CONFIG_CMD_SETEXPR is not set 23 # CONFIG_CMD_SETEXPR is not set
23 CONFIG_CMD_TFTPPUT=y 24 CONFIG_CMD_TFTPPUT=y
24 CONFIG_CMD_DHCP=y 25 CONFIG_CMD_DHCP=y
25 CONFIG_CMD_MII=y 26 CONFIG_CMD_MII=y
26 CONFIG_CMD_PING=y 27 CONFIG_CMD_PING=y
27 CONFIG_CMD_CACHE=y 28 CONFIG_CMD_CACHE=y
28 CONFIG_CMD_EXT2=y 29 CONFIG_CMD_EXT2=y
29 CONFIG_CMD_EXT4=y 30 CONFIG_CMD_EXT4=y
30 CONFIG_CMD_EXT4_WRITE=y 31 CONFIG_CMD_EXT4_WRITE=y
31 CONFIG_CMD_FAT=y 32 CONFIG_CMD_FAT=y
32 CONFIG_CMD_FS_GENERIC=y 33 CONFIG_CMD_FS_GENERIC=y
33 CONFIG_NET_RANDOM_ETHADDR=y 34 CONFIG_NET_RANDOM_ETHADDR=y
34 CONFIG_SPL_DM_SEQ_ALIAS=y 35 CONFIG_SPL_DM_SEQ_ALIAS=y
35 CONFIG_DFU_MMC=y 36 CONFIG_DFU_MMC=y
36 CONFIG_DFU_RAM=y 37 CONFIG_DFU_RAM=y
37 CONFIG_ZYNQ_SDHCI=y 38 CONFIG_ZYNQ_SDHCI=y
38 CONFIG_MMC_SDHCI=y 39 CONFIG_MMC_SDHCI=y
39 CONFIG_SPI_FLASH=y 40 CONFIG_SPI_FLASH=y
40 CONFIG_SPI_FLASH_BAR=y 41 CONFIG_SPI_FLASH_BAR=y
41 CONFIG_SPI_FLASH_SPANSION=y 42 CONFIG_SPI_FLASH_SPANSION=y
42 CONFIG_SPI_FLASH_STMICRO=y 43 CONFIG_SPI_FLASH_STMICRO=y
43 CONFIG_SPI_FLASH_WINBOND=y 44 CONFIG_SPI_FLASH_WINBOND=y
44 CONFIG_ZYNQ_GEM=y 45 CONFIG_ZYNQ_GEM=y
45 CONFIG_DEBUG_UART=y 46 CONFIG_DEBUG_UART=y
46 CONFIG_DEBUG_UART_ZYNQ=y 47 CONFIG_DEBUG_UART_ZYNQ=y
47 CONFIG_DEBUG_UART_BASE=0xe0001000 48 CONFIG_DEBUG_UART_BASE=0xe0001000
48 CONFIG_DEBUG_UART_CLOCK=50000000 49 CONFIG_DEBUG_UART_CLOCK=50000000
49 CONFIG_ZYNQ_QSPI=y 50 CONFIG_ZYNQ_QSPI=y
50 CONFIG_USB=y 51 CONFIG_USB=y
51 CONFIG_USB_EHCI_HCD=y 52 CONFIG_USB_EHCI_HCD=y
52 CONFIG_USB_ULPI_VIEWPORT=y 53 CONFIG_USB_ULPI_VIEWPORT=y
53 CONFIG_USB_ULPI=y 54 CONFIG_USB_ULPI=y
54 CONFIG_USB_STORAGE=y 55 CONFIG_USB_STORAGE=y
55 CONFIG_USB_GADGET=y 56 CONFIG_USB_GADGET=y
56 CONFIG_CI_UDC=y 57 CONFIG_CI_UDC=y
57 CONFIG_USB_GADGET_DOWNLOAD=y 58 CONFIG_USB_GADGET_DOWNLOAD=y
58 CONFIG_G_DNL_MANUFACTURER="Xilinx" 59 CONFIG_G_DNL_MANUFACTURER="Xilinx"
59 CONFIG_G_DNL_VENDOR_NUM=0x03fd 60 CONFIG_G_DNL_VENDOR_NUM=0x03fd
60 CONFIG_G_DNL_PRODUCT_NUM=0x0300 61 CONFIG_G_DNL_PRODUCT_NUM=0x0300
61 62
configs/zynq_zc706_defconfig
1 CONFIG_ARM=y 1 CONFIG_ARM=y
2 CONFIG_SYS_CONFIG_NAME="zynq_zc70x" 2 CONFIG_SYS_CONFIG_NAME="zynq_zc70x"
3 CONFIG_ARCH_ZYNQ=y 3 CONFIG_ARCH_ZYNQ=y
4 CONFIG_SYS_TEXT_BASE=0x4000000
4 CONFIG_DEFAULT_DEVICE_TREE="zynq-zc706" 5 CONFIG_DEFAULT_DEVICE_TREE="zynq-zc706"
5 CONFIG_FIT=y 6 CONFIG_FIT=y
6 CONFIG_FIT_VERBOSE=y 7 CONFIG_FIT_VERBOSE=y
7 CONFIG_FIT_SIGNATURE=y 8 CONFIG_FIT_SIGNATURE=y
8 CONFIG_SYS_NO_FLASH=y 9 CONFIG_SYS_NO_FLASH=y
9 # CONFIG_DISPLAY_CPUINFO is not set 10 # CONFIG_DISPLAY_CPUINFO is not set
10 CONFIG_SPL=y 11 CONFIG_SPL=y
11 CONFIG_SPL_OS_BOOT=y 12 CONFIG_SPL_OS_BOOT=y
12 CONFIG_HUSH_PARSER=y 13 CONFIG_HUSH_PARSER=y
13 CONFIG_SYS_PROMPT="Zynq> " 14 CONFIG_SYS_PROMPT="Zynq> "
14 # CONFIG_CMD_IMLS is not set 15 # CONFIG_CMD_IMLS is not set
15 # CONFIG_CMD_FLASH is not set 16 # CONFIG_CMD_FLASH is not set
16 CONFIG_CMD_MMC=y 17 CONFIG_CMD_MMC=y
17 CONFIG_CMD_SF=y 18 CONFIG_CMD_SF=y
18 CONFIG_CMD_I2C=y 19 CONFIG_CMD_I2C=y
19 CONFIG_CMD_USB=y 20 CONFIG_CMD_USB=y
20 CONFIG_CMD_DFU=y 21 CONFIG_CMD_DFU=y
21 CONFIG_CMD_GPIO=y 22 CONFIG_CMD_GPIO=y
22 # CONFIG_CMD_SETEXPR is not set 23 # CONFIG_CMD_SETEXPR is not set
23 CONFIG_CMD_TFTPPUT=y 24 CONFIG_CMD_TFTPPUT=y
24 CONFIG_CMD_DHCP=y 25 CONFIG_CMD_DHCP=y
25 CONFIG_CMD_MII=y 26 CONFIG_CMD_MII=y
26 CONFIG_CMD_PING=y 27 CONFIG_CMD_PING=y
27 CONFIG_CMD_CACHE=y 28 CONFIG_CMD_CACHE=y
28 CONFIG_CMD_EXT2=y 29 CONFIG_CMD_EXT2=y
29 CONFIG_CMD_EXT4=y 30 CONFIG_CMD_EXT4=y
30 CONFIG_CMD_EXT4_WRITE=y 31 CONFIG_CMD_EXT4_WRITE=y
31 CONFIG_CMD_FAT=y 32 CONFIG_CMD_FAT=y
32 CONFIG_CMD_FS_GENERIC=y 33 CONFIG_CMD_FS_GENERIC=y
33 CONFIG_NET_RANDOM_ETHADDR=y 34 CONFIG_NET_RANDOM_ETHADDR=y
34 CONFIG_SPL_DM_SEQ_ALIAS=y 35 CONFIG_SPL_DM_SEQ_ALIAS=y
35 CONFIG_DFU_MMC=y 36 CONFIG_DFU_MMC=y
36 CONFIG_DFU_RAM=y 37 CONFIG_DFU_RAM=y
37 CONFIG_ZYNQ_SDHCI=y 38 CONFIG_ZYNQ_SDHCI=y
38 CONFIG_MMC_SDHCI=y 39 CONFIG_MMC_SDHCI=y
39 CONFIG_SPI_FLASH=y 40 CONFIG_SPI_FLASH=y
40 CONFIG_SPI_FLASH_BAR=y 41 CONFIG_SPI_FLASH_BAR=y
41 CONFIG_SPI_FLASH_SPANSION=y 42 CONFIG_SPI_FLASH_SPANSION=y
42 CONFIG_SPI_FLASH_STMICRO=y 43 CONFIG_SPI_FLASH_STMICRO=y
43 CONFIG_SPI_FLASH_WINBOND=y 44 CONFIG_SPI_FLASH_WINBOND=y
44 CONFIG_ZYNQ_GEM=y 45 CONFIG_ZYNQ_GEM=y
45 CONFIG_ZYNQ_QSPI=y 46 CONFIG_ZYNQ_QSPI=y
46 CONFIG_USB=y 47 CONFIG_USB=y
47 CONFIG_USB_EHCI_HCD=y 48 CONFIG_USB_EHCI_HCD=y
48 CONFIG_USB_ULPI_VIEWPORT=y 49 CONFIG_USB_ULPI_VIEWPORT=y
49 CONFIG_USB_ULPI=y 50 CONFIG_USB_ULPI=y
50 CONFIG_USB_STORAGE=y 51 CONFIG_USB_STORAGE=y
51 CONFIG_USB_GADGET=y 52 CONFIG_USB_GADGET=y
52 CONFIG_CI_UDC=y 53 CONFIG_CI_UDC=y
53 CONFIG_USB_GADGET_DOWNLOAD=y 54 CONFIG_USB_GADGET_DOWNLOAD=y
54 CONFIG_G_DNL_MANUFACTURER="Xilinx" 55 CONFIG_G_DNL_MANUFACTURER="Xilinx"
55 CONFIG_G_DNL_VENDOR_NUM=0x03fd 56 CONFIG_G_DNL_VENDOR_NUM=0x03fd
56 CONFIG_G_DNL_PRODUCT_NUM=0x0300 57 CONFIG_G_DNL_PRODUCT_NUM=0x0300
57 58
configs/zynq_zc770_xm010_defconfig
1 CONFIG_ARM=y 1 CONFIG_ARM=y
2 CONFIG_ARCH_ZYNQ=y 2 CONFIG_ARCH_ZYNQ=y
3 CONFIG_SYS_TEXT_BASE=0x4000000
3 CONFIG_DEFAULT_DEVICE_TREE="zynq-zc770-xm010" 4 CONFIG_DEFAULT_DEVICE_TREE="zynq-zc770-xm010"
4 CONFIG_FIT=y 5 CONFIG_FIT=y
5 CONFIG_FIT_VERBOSE=y 6 CONFIG_FIT_VERBOSE=y
6 CONFIG_FIT_SIGNATURE=y 7 CONFIG_FIT_SIGNATURE=y
7 CONFIG_SYS_EXTRA_OPTIONS="ZC770_XM010" 8 CONFIG_SYS_EXTRA_OPTIONS="ZC770_XM010"
8 CONFIG_SYS_NO_FLASH=y 9 CONFIG_SYS_NO_FLASH=y
9 # CONFIG_DISPLAY_CPUINFO is not set 10 # CONFIG_DISPLAY_CPUINFO is not set
10 CONFIG_SPL=y 11 CONFIG_SPL=y
11 CONFIG_SPL_OS_BOOT=y 12 CONFIG_SPL_OS_BOOT=y
12 CONFIG_HUSH_PARSER=y 13 CONFIG_HUSH_PARSER=y
13 CONFIG_SYS_PROMPT="Zynq> " 14 CONFIG_SYS_PROMPT="Zynq> "
14 # CONFIG_CMD_IMLS is not set 15 # CONFIG_CMD_IMLS is not set
15 # CONFIG_CMD_FLASH is not set 16 # CONFIG_CMD_FLASH is not set
16 CONFIG_CMD_MMC=y 17 CONFIG_CMD_MMC=y
17 CONFIG_CMD_SF=y 18 CONFIG_CMD_SF=y
18 CONFIG_CMD_GPIO=y 19 CONFIG_CMD_GPIO=y
19 # CONFIG_CMD_SETEXPR is not set 20 # CONFIG_CMD_SETEXPR is not set
20 CONFIG_CMD_TFTPPUT=y 21 CONFIG_CMD_TFTPPUT=y
21 CONFIG_CMD_DHCP=y 22 CONFIG_CMD_DHCP=y
22 CONFIG_CMD_MII=y 23 CONFIG_CMD_MII=y
23 CONFIG_CMD_PING=y 24 CONFIG_CMD_PING=y
24 CONFIG_CMD_CACHE=y 25 CONFIG_CMD_CACHE=y
25 CONFIG_CMD_EXT2=y 26 CONFIG_CMD_EXT2=y
26 CONFIG_CMD_EXT4=y 27 CONFIG_CMD_EXT4=y
27 CONFIG_CMD_EXT4_WRITE=y 28 CONFIG_CMD_EXT4_WRITE=y
28 CONFIG_CMD_FAT=y 29 CONFIG_CMD_FAT=y
29 CONFIG_CMD_FS_GENERIC=y 30 CONFIG_CMD_FS_GENERIC=y
30 CONFIG_NET_RANDOM_ETHADDR=y 31 CONFIG_NET_RANDOM_ETHADDR=y
31 CONFIG_SPL_DM_SEQ_ALIAS=y 32 CONFIG_SPL_DM_SEQ_ALIAS=y
32 CONFIG_ZYNQ_SDHCI=y 33 CONFIG_ZYNQ_SDHCI=y
33 CONFIG_MMC_SDHCI=y 34 CONFIG_MMC_SDHCI=y
34 CONFIG_SPI_FLASH=y 35 CONFIG_SPI_FLASH=y
35 CONFIG_SPI_FLASH_BAR=y 36 CONFIG_SPI_FLASH_BAR=y
36 CONFIG_SPI_FLASH_SPANSION=y 37 CONFIG_SPI_FLASH_SPANSION=y
37 CONFIG_SPI_FLASH_STMICRO=y 38 CONFIG_SPI_FLASH_STMICRO=y
38 CONFIG_SPI_FLASH_SST=y 39 CONFIG_SPI_FLASH_SST=y
39 CONFIG_SPI_FLASH_WINBOND=y 40 CONFIG_SPI_FLASH_WINBOND=y
40 CONFIG_ZYNQ_GEM=y 41 CONFIG_ZYNQ_GEM=y
41 CONFIG_ZYNQ_SPI=y 42 CONFIG_ZYNQ_SPI=y
42 CONFIG_ZYNQ_QSPI=y 43 CONFIG_ZYNQ_QSPI=y
43 44
configs/zynq_zc770_xm011_defconfig
1 CONFIG_ARM=y 1 CONFIG_ARM=y
2 CONFIG_ARCH_ZYNQ=y 2 CONFIG_ARCH_ZYNQ=y
3 # CONFIG_MMC is not set 3 # CONFIG_MMC is not set
4 CONFIG_SYS_TEXT_BASE=0x4000000
4 CONFIG_DEFAULT_DEVICE_TREE="zynq-zc770-xm011" 5 CONFIG_DEFAULT_DEVICE_TREE="zynq-zc770-xm011"
5 CONFIG_FIT=y 6 CONFIG_FIT=y
6 CONFIG_FIT_VERBOSE=y 7 CONFIG_FIT_VERBOSE=y
7 CONFIG_FIT_SIGNATURE=y 8 CONFIG_FIT_SIGNATURE=y
8 CONFIG_SYS_EXTRA_OPTIONS="ZC770_XM011" 9 CONFIG_SYS_EXTRA_OPTIONS="ZC770_XM011"
9 CONFIG_SYS_NO_FLASH=y 10 CONFIG_SYS_NO_FLASH=y
10 # CONFIG_DISPLAY_CPUINFO is not set 11 # CONFIG_DISPLAY_CPUINFO is not set
11 CONFIG_SPL=y 12 CONFIG_SPL=y
12 CONFIG_SPL_OS_BOOT=y 13 CONFIG_SPL_OS_BOOT=y
13 CONFIG_HUSH_PARSER=y 14 CONFIG_HUSH_PARSER=y
14 CONFIG_SYS_PROMPT="Zynq> " 15 CONFIG_SYS_PROMPT="Zynq> "
15 # CONFIG_CMD_IMLS is not set 16 # CONFIG_CMD_IMLS is not set
16 # CONFIG_CMD_FLASH is not set 17 # CONFIG_CMD_FLASH is not set
17 CONFIG_CMD_NAND=y 18 CONFIG_CMD_NAND=y
18 CONFIG_CMD_GPIO=y 19 CONFIG_CMD_GPIO=y
19 # CONFIG_CMD_SETEXPR is not set 20 # CONFIG_CMD_SETEXPR is not set
20 CONFIG_CMD_TFTPPUT=y 21 CONFIG_CMD_TFTPPUT=y
21 CONFIG_CMD_DHCP=y 22 CONFIG_CMD_DHCP=y
22 CONFIG_CMD_MII=y 23 CONFIG_CMD_MII=y
23 CONFIG_CMD_PING=y 24 CONFIG_CMD_PING=y
24 CONFIG_CMD_CACHE=y 25 CONFIG_CMD_CACHE=y
25 CONFIG_NET_RANDOM_ETHADDR=y 26 CONFIG_NET_RANDOM_ETHADDR=y
26 CONFIG_SPL_DM_SEQ_ALIAS=y 27 CONFIG_SPL_DM_SEQ_ALIAS=y
27 CONFIG_NAND_ZYNQ=y 28 CONFIG_NAND_ZYNQ=y
28 CONFIG_ZYNQ_GEM=y 29 CONFIG_ZYNQ_GEM=y
29 30
configs/zynq_zc770_xm012_defconfig
1 CONFIG_ARM=y 1 CONFIG_ARM=y
2 CONFIG_ARCH_ZYNQ=y 2 CONFIG_ARCH_ZYNQ=y
3 # CONFIG_MMC is not set 3 # CONFIG_MMC is not set
4 CONFIG_SYS_TEXT_BASE=0x4000000
4 CONFIG_DEFAULT_DEVICE_TREE="zynq-zc770-xm012" 5 CONFIG_DEFAULT_DEVICE_TREE="zynq-zc770-xm012"
5 CONFIG_FIT=y 6 CONFIG_FIT=y
6 CONFIG_FIT_VERBOSE=y 7 CONFIG_FIT_VERBOSE=y
7 CONFIG_FIT_SIGNATURE=y 8 CONFIG_FIT_SIGNATURE=y
8 CONFIG_SYS_EXTRA_OPTIONS="ZC770_XM012" 9 CONFIG_SYS_EXTRA_OPTIONS="ZC770_XM012"
9 # CONFIG_DISPLAY_CPUINFO is not set 10 # CONFIG_DISPLAY_CPUINFO is not set
10 CONFIG_SPL=y 11 CONFIG_SPL=y
11 CONFIG_SPL_OS_BOOT=y 12 CONFIG_SPL_OS_BOOT=y
12 CONFIG_HUSH_PARSER=y 13 CONFIG_HUSH_PARSER=y
13 CONFIG_SYS_PROMPT="Zynq> " 14 CONFIG_SYS_PROMPT="Zynq> "
14 CONFIG_CMD_GPIO=y 15 CONFIG_CMD_GPIO=y
15 # CONFIG_CMD_SETEXPR is not set 16 # CONFIG_CMD_SETEXPR is not set
16 CONFIG_CMD_TFTPPUT=y 17 CONFIG_CMD_TFTPPUT=y
17 CONFIG_CMD_DHCP=y 18 CONFIG_CMD_DHCP=y
18 CONFIG_CMD_MII=y 19 CONFIG_CMD_MII=y
19 CONFIG_CMD_PING=y 20 CONFIG_CMD_PING=y
20 CONFIG_CMD_CACHE=y 21 CONFIG_CMD_CACHE=y
21 CONFIG_NET_RANDOM_ETHADDR=y 22 CONFIG_NET_RANDOM_ETHADDR=y
22 CONFIG_SPL_DM_SEQ_ALIAS=y 23 CONFIG_SPL_DM_SEQ_ALIAS=y
23 CONFIG_ZYNQ_GEM=y 24 CONFIG_ZYNQ_GEM=y
24 25
configs/zynq_zc770_xm013_defconfig
1 CONFIG_ARM=y 1 CONFIG_ARM=y
2 CONFIG_ARCH_ZYNQ=y 2 CONFIG_ARCH_ZYNQ=y
3 # CONFIG_MMC is not set 3 # CONFIG_MMC is not set
4 CONFIG_SYS_TEXT_BASE=0x4000000
4 CONFIG_DEFAULT_DEVICE_TREE="zynq-zc770-xm013" 5 CONFIG_DEFAULT_DEVICE_TREE="zynq-zc770-xm013"
5 CONFIG_FIT=y 6 CONFIG_FIT=y
6 CONFIG_FIT_VERBOSE=y 7 CONFIG_FIT_VERBOSE=y
7 CONFIG_FIT_SIGNATURE=y 8 CONFIG_FIT_SIGNATURE=y
8 CONFIG_SYS_EXTRA_OPTIONS="ZC770_XM013" 9 CONFIG_SYS_EXTRA_OPTIONS="ZC770_XM013"
9 CONFIG_SYS_NO_FLASH=y 10 CONFIG_SYS_NO_FLASH=y
10 # CONFIG_DISPLAY_CPUINFO is not set 11 # CONFIG_DISPLAY_CPUINFO is not set
11 CONFIG_SPL=y 12 CONFIG_SPL=y
12 CONFIG_SPL_OS_BOOT=y 13 CONFIG_SPL_OS_BOOT=y
13 CONFIG_HUSH_PARSER=y 14 CONFIG_HUSH_PARSER=y
14 CONFIG_SYS_PROMPT="Zynq> " 15 CONFIG_SYS_PROMPT="Zynq> "
15 # CONFIG_CMD_IMLS is not set 16 # CONFIG_CMD_IMLS is not set
16 # CONFIG_CMD_FLASH is not set 17 # CONFIG_CMD_FLASH is not set
17 CONFIG_CMD_GPIO=y 18 CONFIG_CMD_GPIO=y
18 # CONFIG_CMD_SETEXPR is not set 19 # CONFIG_CMD_SETEXPR is not set
19 CONFIG_CMD_TFTPPUT=y 20 CONFIG_CMD_TFTPPUT=y
20 CONFIG_CMD_DHCP=y 21 CONFIG_CMD_DHCP=y
21 CONFIG_CMD_MII=y 22 CONFIG_CMD_MII=y
22 CONFIG_CMD_PING=y 23 CONFIG_CMD_PING=y
23 CONFIG_CMD_CACHE=y 24 CONFIG_CMD_CACHE=y
24 CONFIG_NET_RANDOM_ETHADDR=y 25 CONFIG_NET_RANDOM_ETHADDR=y
25 CONFIG_SPL_DM_SEQ_ALIAS=y 26 CONFIG_SPL_DM_SEQ_ALIAS=y
26 CONFIG_SPI_FLASH=y 27 CONFIG_SPI_FLASH=y
27 CONFIG_SPI_FLASH_BAR=y 28 CONFIG_SPI_FLASH_BAR=y
28 CONFIG_ZYNQ_GEM=y 29 CONFIG_ZYNQ_GEM=y
29 30
configs/zynq_zed_defconfig
1 CONFIG_ARM=y 1 CONFIG_ARM=y
2 CONFIG_ARCH_ZYNQ=y 2 CONFIG_ARCH_ZYNQ=y
3 CONFIG_SYS_TEXT_BASE=0x4000000
3 CONFIG_DEFAULT_DEVICE_TREE="zynq-zed" 4 CONFIG_DEFAULT_DEVICE_TREE="zynq-zed"
4 CONFIG_FIT=y 5 CONFIG_FIT=y
5 CONFIG_FIT_VERBOSE=y 6 CONFIG_FIT_VERBOSE=y
6 CONFIG_FIT_SIGNATURE=y 7 CONFIG_FIT_SIGNATURE=y
7 CONFIG_SYS_NO_FLASH=y 8 CONFIG_SYS_NO_FLASH=y
8 # CONFIG_DISPLAY_CPUINFO is not set 9 # CONFIG_DISPLAY_CPUINFO is not set
9 CONFIG_SPL=y 10 CONFIG_SPL=y
10 CONFIG_SPL_OS_BOOT=y 11 CONFIG_SPL_OS_BOOT=y
11 CONFIG_HUSH_PARSER=y 12 CONFIG_HUSH_PARSER=y
12 CONFIG_SYS_PROMPT="Zynq> " 13 CONFIG_SYS_PROMPT="Zynq> "
13 # CONFIG_CMD_IMLS is not set 14 # CONFIG_CMD_IMLS is not set
14 # CONFIG_CMD_FLASH is not set 15 # CONFIG_CMD_FLASH is not set
15 CONFIG_CMD_MMC=y 16 CONFIG_CMD_MMC=y
16 CONFIG_CMD_SF=y 17 CONFIG_CMD_SF=y
17 CONFIG_CMD_USB=y 18 CONFIG_CMD_USB=y
18 CONFIG_CMD_DFU=y 19 CONFIG_CMD_DFU=y
19 CONFIG_CMD_GPIO=y 20 CONFIG_CMD_GPIO=y
20 # CONFIG_CMD_SETEXPR is not set 21 # CONFIG_CMD_SETEXPR is not set
21 CONFIG_CMD_TFTPPUT=y 22 CONFIG_CMD_TFTPPUT=y
22 CONFIG_CMD_DHCP=y 23 CONFIG_CMD_DHCP=y
23 CONFIG_CMD_MII=y 24 CONFIG_CMD_MII=y
24 CONFIG_CMD_PING=y 25 CONFIG_CMD_PING=y
25 CONFIG_CMD_CACHE=y 26 CONFIG_CMD_CACHE=y
26 CONFIG_CMD_EXT2=y 27 CONFIG_CMD_EXT2=y
27 CONFIG_CMD_EXT4=y 28 CONFIG_CMD_EXT4=y
28 CONFIG_CMD_EXT4_WRITE=y 29 CONFIG_CMD_EXT4_WRITE=y
29 CONFIG_CMD_FAT=y 30 CONFIG_CMD_FAT=y
30 CONFIG_CMD_FS_GENERIC=y 31 CONFIG_CMD_FS_GENERIC=y
31 CONFIG_NET_RANDOM_ETHADDR=y 32 CONFIG_NET_RANDOM_ETHADDR=y
32 CONFIG_SPL_DM_SEQ_ALIAS=y 33 CONFIG_SPL_DM_SEQ_ALIAS=y
33 CONFIG_DFU_MMC=y 34 CONFIG_DFU_MMC=y
34 CONFIG_DFU_RAM=y 35 CONFIG_DFU_RAM=y
35 CONFIG_ZYNQ_SDHCI=y 36 CONFIG_ZYNQ_SDHCI=y
36 CONFIG_MMC_SDHCI=y 37 CONFIG_MMC_SDHCI=y
37 CONFIG_SPI_FLASH=y 38 CONFIG_SPI_FLASH=y
38 CONFIG_SPI_FLASH_BAR=y 39 CONFIG_SPI_FLASH_BAR=y
39 CONFIG_SPI_FLASH_SPANSION=y 40 CONFIG_SPI_FLASH_SPANSION=y
40 CONFIG_SPI_FLASH_STMICRO=y 41 CONFIG_SPI_FLASH_STMICRO=y
41 CONFIG_SPI_FLASH_WINBOND=y 42 CONFIG_SPI_FLASH_WINBOND=y
42 CONFIG_ZYNQ_GEM=y 43 CONFIG_ZYNQ_GEM=y
43 CONFIG_ZYNQ_QSPI=y 44 CONFIG_ZYNQ_QSPI=y
44 CONFIG_USB=y 45 CONFIG_USB=y
45 CONFIG_USB_EHCI_HCD=y 46 CONFIG_USB_EHCI_HCD=y
46 CONFIG_USB_ULPI_VIEWPORT=y 47 CONFIG_USB_ULPI_VIEWPORT=y
47 CONFIG_USB_ULPI=y 48 CONFIG_USB_ULPI=y
48 CONFIG_USB_STORAGE=y 49 CONFIG_USB_STORAGE=y
49 CONFIG_USB_GADGET=y 50 CONFIG_USB_GADGET=y
50 CONFIG_CI_UDC=y 51 CONFIG_CI_UDC=y
51 CONFIG_USB_GADGET_DOWNLOAD=y 52 CONFIG_USB_GADGET_DOWNLOAD=y
52 CONFIG_G_DNL_MANUFACTURER="Xilinx" 53 CONFIG_G_DNL_MANUFACTURER="Xilinx"
53 CONFIG_G_DNL_VENDOR_NUM=0x03fd 54 CONFIG_G_DNL_VENDOR_NUM=0x03fd
54 CONFIG_G_DNL_PRODUCT_NUM=0x0300 55 CONFIG_G_DNL_PRODUCT_NUM=0x0300
55 56
configs/zynq_zybo_defconfig
1 CONFIG_ARM=y 1 CONFIG_ARM=y
2 CONFIG_SYS_CONFIG_NAME="zynq_zybo" 2 CONFIG_SYS_CONFIG_NAME="zynq_zybo"
3 CONFIG_ARCH_ZYNQ=y 3 CONFIG_ARCH_ZYNQ=y
4 CONFIG_SYS_TEXT_BASE=0x4000000
4 CONFIG_DEFAULT_DEVICE_TREE="zynq-zybo" 5 CONFIG_DEFAULT_DEVICE_TREE="zynq-zybo"
5 CONFIG_FIT=y 6 CONFIG_FIT=y
6 CONFIG_FIT_VERBOSE=y 7 CONFIG_FIT_VERBOSE=y
7 CONFIG_FIT_SIGNATURE=y 8 CONFIG_FIT_SIGNATURE=y
8 CONFIG_SYS_NO_FLASH=y 9 CONFIG_SYS_NO_FLASH=y
9 # CONFIG_DISPLAY_CPUINFO is not set 10 # CONFIG_DISPLAY_CPUINFO is not set
10 CONFIG_SPL=y 11 CONFIG_SPL=y
11 CONFIG_SPL_OS_BOOT=y 12 CONFIG_SPL_OS_BOOT=y
12 CONFIG_HUSH_PARSER=y 13 CONFIG_HUSH_PARSER=y
13 CONFIG_SYS_PROMPT="Zynq> " 14 CONFIG_SYS_PROMPT="Zynq> "
14 # CONFIG_CMD_IMLS is not set 15 # CONFIG_CMD_IMLS is not set
15 # CONFIG_CMD_FLASH is not set 16 # CONFIG_CMD_FLASH is not set
16 CONFIG_CMD_MMC=y 17 CONFIG_CMD_MMC=y
17 CONFIG_CMD_SF=y 18 CONFIG_CMD_SF=y
18 CONFIG_CMD_I2C=y 19 CONFIG_CMD_I2C=y
19 CONFIG_CMD_USB=y 20 CONFIG_CMD_USB=y
20 CONFIG_CMD_DFU=y 21 CONFIG_CMD_DFU=y
21 CONFIG_CMD_GPIO=y 22 CONFIG_CMD_GPIO=y
22 # CONFIG_CMD_SETEXPR is not set 23 # CONFIG_CMD_SETEXPR is not set
23 CONFIG_CMD_TFTPPUT=y 24 CONFIG_CMD_TFTPPUT=y
24 CONFIG_CMD_DHCP=y 25 CONFIG_CMD_DHCP=y
25 CONFIG_CMD_MII=y 26 CONFIG_CMD_MII=y
26 CONFIG_CMD_PING=y 27 CONFIG_CMD_PING=y
27 CONFIG_CMD_CACHE=y 28 CONFIG_CMD_CACHE=y
28 CONFIG_CMD_EXT2=y 29 CONFIG_CMD_EXT2=y
29 CONFIG_CMD_EXT4=y 30 CONFIG_CMD_EXT4=y
30 CONFIG_CMD_EXT4_WRITE=y 31 CONFIG_CMD_EXT4_WRITE=y
31 CONFIG_CMD_FAT=y 32 CONFIG_CMD_FAT=y
32 CONFIG_CMD_FS_GENERIC=y 33 CONFIG_CMD_FS_GENERIC=y
33 CONFIG_NET_RANDOM_ETHADDR=y 34 CONFIG_NET_RANDOM_ETHADDR=y
34 CONFIG_SPL_DM_SEQ_ALIAS=y 35 CONFIG_SPL_DM_SEQ_ALIAS=y
35 CONFIG_DFU_MMC=y 36 CONFIG_DFU_MMC=y
36 CONFIG_DFU_RAM=y 37 CONFIG_DFU_RAM=y
37 CONFIG_ZYNQ_SDHCI=y 38 CONFIG_ZYNQ_SDHCI=y
38 CONFIG_MMC_SDHCI=y 39 CONFIG_MMC_SDHCI=y
39 CONFIG_SPI_FLASH=y 40 CONFIG_SPI_FLASH=y
40 CONFIG_SPI_FLASH_BAR=y 41 CONFIG_SPI_FLASH_BAR=y
41 CONFIG_SPI_FLASH_SPANSION=y 42 CONFIG_SPI_FLASH_SPANSION=y
42 CONFIG_ZYNQ_GEM=y 43 CONFIG_ZYNQ_GEM=y
43 CONFIG_DEBUG_UART=y 44 CONFIG_DEBUG_UART=y
44 CONFIG_DEBUG_UART_ZYNQ=y 45 CONFIG_DEBUG_UART_ZYNQ=y
45 CONFIG_DEBUG_UART_BASE=0xe0001000 46 CONFIG_DEBUG_UART_BASE=0xe0001000
46 CONFIG_DEBUG_UART_CLOCK=50000000 47 CONFIG_DEBUG_UART_CLOCK=50000000
47 CONFIG_ZYNQ_QSPI=y 48 CONFIG_ZYNQ_QSPI=y
48 CONFIG_USB=y 49 CONFIG_USB=y
49 CONFIG_USB_EHCI_HCD=y 50 CONFIG_USB_EHCI_HCD=y
50 CONFIG_USB_ULPI_VIEWPORT=y 51 CONFIG_USB_ULPI_VIEWPORT=y
51 CONFIG_USB_ULPI=y 52 CONFIG_USB_ULPI=y
52 CONFIG_USB_STORAGE=y 53 CONFIG_USB_STORAGE=y
53 CONFIG_USB_GADGET=y 54 CONFIG_USB_GADGET=y
54 CONFIG_CI_UDC=y 55 CONFIG_CI_UDC=y
55 CONFIG_USB_GADGET_DOWNLOAD=y 56 CONFIG_USB_GADGET_DOWNLOAD=y
56 CONFIG_G_DNL_MANUFACTURER="Xilinx" 57 CONFIG_G_DNL_MANUFACTURER="Xilinx"
57 CONFIG_G_DNL_VENDOR_NUM=0x03fd 58 CONFIG_G_DNL_VENDOR_NUM=0x03fd
58 CONFIG_G_DNL_PRODUCT_NUM=0x0300 59 CONFIG_G_DNL_PRODUCT_NUM=0x0300
59 60
include/configs/zynq-common.h
1 /* 1 /*
2 * (C) Copyright 2012 Michal Simek <monstr@monstr.eu> 2 * (C) Copyright 2012 Michal Simek <monstr@monstr.eu>
3 * (C) Copyright 2013 Xilinx, Inc. 3 * (C) Copyright 2013 Xilinx, Inc.
4 * 4 *
5 * Common configuration options for all Zynq boards. 5 * Common configuration options for all Zynq boards.
6 * 6 *
7 * SPDX-License-Identifier: GPL-2.0+ 7 * SPDX-License-Identifier: GPL-2.0+
8 */ 8 */
9 9
10 #ifndef __CONFIG_ZYNQ_COMMON_H 10 #ifndef __CONFIG_ZYNQ_COMMON_H
11 #define __CONFIG_ZYNQ_COMMON_H 11 #define __CONFIG_ZYNQ_COMMON_H
12 12
13 /* CPU clock */ 13 /* CPU clock */
14 #ifndef CONFIG_CPU_FREQ_HZ 14 #ifndef CONFIG_CPU_FREQ_HZ
15 # define CONFIG_CPU_FREQ_HZ 800000000 15 # define CONFIG_CPU_FREQ_HZ 800000000
16 #endif 16 #endif
17 17
18 /* Cache options */ 18 /* Cache options */
19 #define CONFIG_SYS_L2CACHE_OFF 19 #define CONFIG_SYS_L2CACHE_OFF
20 #ifndef CONFIG_SYS_L2CACHE_OFF 20 #ifndef CONFIG_SYS_L2CACHE_OFF
21 # define CONFIG_SYS_L2_PL310 21 # define CONFIG_SYS_L2_PL310
22 # define CONFIG_SYS_PL310_BASE 0xf8f02000 22 # define CONFIG_SYS_PL310_BASE 0xf8f02000
23 #endif 23 #endif
24 24
25 #define ZYNQ_SCUTIMER_BASEADDR 0xF8F00600 25 #define ZYNQ_SCUTIMER_BASEADDR 0xF8F00600
26 #define CONFIG_SYS_TIMERBASE ZYNQ_SCUTIMER_BASEADDR 26 #define CONFIG_SYS_TIMERBASE ZYNQ_SCUTIMER_BASEADDR
27 #define CONFIG_SYS_TIMER_COUNTS_DOWN 27 #define CONFIG_SYS_TIMER_COUNTS_DOWN
28 #define CONFIG_SYS_TIMER_COUNTER (CONFIG_SYS_TIMERBASE + 0x4) 28 #define CONFIG_SYS_TIMER_COUNTER (CONFIG_SYS_TIMERBASE + 0x4)
29 29
30 /* Serial drivers */ 30 /* Serial drivers */
31 #define CONFIG_BAUDRATE 115200 31 #define CONFIG_BAUDRATE 115200
32 /* The following table includes the supported baudrates */ 32 /* The following table includes the supported baudrates */
33 #define CONFIG_SYS_BAUDRATE_TABLE \ 33 #define CONFIG_SYS_BAUDRATE_TABLE \
34 {300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200, 230400} 34 {300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200, 230400}
35 35
36 #define CONFIG_ARM_DCC 36 #define CONFIG_ARM_DCC
37 #define CONFIG_ZYNQ_SERIAL 37 #define CONFIG_ZYNQ_SERIAL
38 38
39 /* Ethernet driver */ 39 /* Ethernet driver */
40 #if defined(CONFIG_ZYNQ_GEM) 40 #if defined(CONFIG_ZYNQ_GEM)
41 # define CONFIG_MII 41 # define CONFIG_MII
42 # define CONFIG_SYS_FAULT_ECHO_LINK_DOWN 42 # define CONFIG_SYS_FAULT_ECHO_LINK_DOWN
43 # define CONFIG_PHY_MARVELL 43 # define CONFIG_PHY_MARVELL
44 # define CONFIG_PHY_REALTEK 44 # define CONFIG_PHY_REALTEK
45 # define CONFIG_PHY_XILINX 45 # define CONFIG_PHY_XILINX
46 # define CONFIG_BOOTP_SERVERIP 46 # define CONFIG_BOOTP_SERVERIP
47 # define CONFIG_BOOTP_BOOTPATH 47 # define CONFIG_BOOTP_BOOTPATH
48 # define CONFIG_BOOTP_GATEWAY 48 # define CONFIG_BOOTP_GATEWAY
49 # define CONFIG_BOOTP_HOSTNAME 49 # define CONFIG_BOOTP_HOSTNAME
50 # define CONFIG_BOOTP_MAY_FAIL 50 # define CONFIG_BOOTP_MAY_FAIL
51 #endif 51 #endif
52 52
53 /* SPI */ 53 /* SPI */
54 #ifdef CONFIG_ZYNQ_SPI 54 #ifdef CONFIG_ZYNQ_SPI
55 #endif 55 #endif
56 56
57 /* QSPI */ 57 /* QSPI */
58 #ifdef CONFIG_ZYNQ_QSPI 58 #ifdef CONFIG_ZYNQ_QSPI
59 # define CONFIG_SF_DEFAULT_SPEED 30000000 59 # define CONFIG_SF_DEFAULT_SPEED 30000000
60 # define CONFIG_SPI_FLASH_ISSI 60 # define CONFIG_SPI_FLASH_ISSI
61 #endif 61 #endif
62 62
63 /* NOR */ 63 /* NOR */
64 #ifndef CONFIG_SYS_NO_FLASH 64 #ifndef CONFIG_SYS_NO_FLASH
65 # define CONFIG_SYS_FLASH_BASE 0xE2000000 65 # define CONFIG_SYS_FLASH_BASE 0xE2000000
66 # define CONFIG_SYS_FLASH_SIZE (16 * 1024 * 1024) 66 # define CONFIG_SYS_FLASH_SIZE (16 * 1024 * 1024)
67 # define CONFIG_SYS_MAX_FLASH_BANKS 1 67 # define CONFIG_SYS_MAX_FLASH_BANKS 1
68 # define CONFIG_SYS_MAX_FLASH_SECT 512 68 # define CONFIG_SYS_MAX_FLASH_SECT 512
69 # define CONFIG_SYS_FLASH_ERASE_TOUT 1000 69 # define CONFIG_SYS_FLASH_ERASE_TOUT 1000
70 # define CONFIG_SYS_FLASH_WRITE_TOUT 5000 70 # define CONFIG_SYS_FLASH_WRITE_TOUT 5000
71 # define CONFIG_FLASH_SHOW_PROGRESS 10 71 # define CONFIG_FLASH_SHOW_PROGRESS 10
72 # define CONFIG_SYS_FLASH_CFI 72 # define CONFIG_SYS_FLASH_CFI
73 # undef CONFIG_SYS_FLASH_EMPTY_INFO 73 # undef CONFIG_SYS_FLASH_EMPTY_INFO
74 # define CONFIG_FLASH_CFI_DRIVER 74 # define CONFIG_FLASH_CFI_DRIVER
75 # undef CONFIG_SYS_FLASH_PROTECTION 75 # undef CONFIG_SYS_FLASH_PROTECTION
76 # define CONFIG_SYS_FLASH_USE_BUFFER_WRITE 76 # define CONFIG_SYS_FLASH_USE_BUFFER_WRITE
77 #endif 77 #endif
78 78
79 #ifdef CONFIG_NAND_ZYNQ 79 #ifdef CONFIG_NAND_ZYNQ
80 #define CONFIG_CMD_NAND_LOCK_UNLOCK 80 #define CONFIG_CMD_NAND_LOCK_UNLOCK
81 #define CONFIG_SYS_MAX_NAND_DEVICE 1 81 #define CONFIG_SYS_MAX_NAND_DEVICE 1
82 #define CONFIG_SYS_NAND_ONFI_DETECTION 82 #define CONFIG_SYS_NAND_ONFI_DETECTION
83 #define CONFIG_MTD_DEVICE 83 #define CONFIG_MTD_DEVICE
84 #endif 84 #endif
85 85
86 /* MMC */ 86 /* MMC */
87 #if defined(CONFIG_ZYNQ_SDHCI) 87 #if defined(CONFIG_ZYNQ_SDHCI)
88 # define CONFIG_GENERIC_MMC 88 # define CONFIG_GENERIC_MMC
89 # define CONFIG_ZYNQ_SDHCI_MAX_FREQ 52000000 89 # define CONFIG_ZYNQ_SDHCI_MAX_FREQ 52000000
90 #endif 90 #endif
91 91
92 #ifdef CONFIG_USB_EHCI_ZYNQ 92 #ifdef CONFIG_USB_EHCI_ZYNQ
93 # define CONFIG_EHCI_IS_TDI 93 # define CONFIG_EHCI_IS_TDI
94 94
95 # define CONFIG_SYS_DFU_DATA_BUF_SIZE 0x600000 95 # define CONFIG_SYS_DFU_DATA_BUF_SIZE 0x600000
96 # define DFU_DEFAULT_POLL_TIMEOUT 300 96 # define DFU_DEFAULT_POLL_TIMEOUT 300
97 # define CONFIG_USB_CABLE_CHECK 97 # define CONFIG_USB_CABLE_CHECK
98 # define CONFIG_CMD_THOR_DOWNLOAD 98 # define CONFIG_CMD_THOR_DOWNLOAD
99 # define CONFIG_THOR_RESET_OFF 99 # define CONFIG_THOR_RESET_OFF
100 # define CONFIG_USB_FUNCTION_THOR 100 # define CONFIG_USB_FUNCTION_THOR
101 # define DFU_ALT_INFO_RAM \ 101 # define DFU_ALT_INFO_RAM \
102 "dfu_ram_info=" \ 102 "dfu_ram_info=" \
103 "set dfu_alt_info " \ 103 "set dfu_alt_info " \
104 "${kernel_image} ram 0x3000000 0x500000\\\\;" \ 104 "${kernel_image} ram 0x3000000 0x500000\\\\;" \
105 "${devicetree_image} ram 0x2A00000 0x20000\\\\;" \ 105 "${devicetree_image} ram 0x2A00000 0x20000\\\\;" \
106 "${ramdisk_image} ram 0x2000000 0x600000\0" \ 106 "${ramdisk_image} ram 0x2000000 0x600000\0" \
107 "dfu_ram=run dfu_ram_info && dfu 0 ram 0\0" \ 107 "dfu_ram=run dfu_ram_info && dfu 0 ram 0\0" \
108 "thor_ram=run dfu_ram_info && thordown 0 ram 0\0" 108 "thor_ram=run dfu_ram_info && thordown 0 ram 0\0"
109 109
110 # if defined(CONFIG_ZYNQ_SDHCI) 110 # if defined(CONFIG_ZYNQ_SDHCI)
111 # define DFU_ALT_INFO_MMC \ 111 # define DFU_ALT_INFO_MMC \
112 "dfu_mmc_info=" \ 112 "dfu_mmc_info=" \
113 "set dfu_alt_info " \ 113 "set dfu_alt_info " \
114 "${kernel_image} fat 0 1\\\\;" \ 114 "${kernel_image} fat 0 1\\\\;" \
115 "${devicetree_image} fat 0 1\\\\;" \ 115 "${devicetree_image} fat 0 1\\\\;" \
116 "${ramdisk_image} fat 0 1\0" \ 116 "${ramdisk_image} fat 0 1\0" \
117 "dfu_mmc=run dfu_mmc_info && dfu 0 mmc 0\0" \ 117 "dfu_mmc=run dfu_mmc_info && dfu 0 mmc 0\0" \
118 "thor_mmc=run dfu_mmc_info && thordown 0 mmc 0\0" 118 "thor_mmc=run dfu_mmc_info && thordown 0 mmc 0\0"
119 119
120 # define DFU_ALT_INFO \ 120 # define DFU_ALT_INFO \
121 DFU_ALT_INFO_RAM \ 121 DFU_ALT_INFO_RAM \
122 DFU_ALT_INFO_MMC 122 DFU_ALT_INFO_MMC
123 # else 123 # else
124 # define DFU_ALT_INFO \ 124 # define DFU_ALT_INFO \
125 DFU_ALT_INFO_RAM 125 DFU_ALT_INFO_RAM
126 # endif 126 # endif
127 #endif 127 #endif
128 128
129 #if !defined(DFU_ALT_INFO) 129 #if !defined(DFU_ALT_INFO)
130 # define DFU_ALT_INFO 130 # define DFU_ALT_INFO
131 #endif 131 #endif
132 132
133 #if defined(CONFIG_ZYNQ_SDHCI) || defined(CONFIG_ZYNQ_USB) 133 #if defined(CONFIG_ZYNQ_SDHCI) || defined(CONFIG_ZYNQ_USB)
134 # define CONFIG_SUPPORT_VFAT 134 # define CONFIG_SUPPORT_VFAT
135 # define CONFIG_FAT_WRITE 135 # define CONFIG_FAT_WRITE
136 # define CONFIG_DOS_PARTITION 136 # define CONFIG_DOS_PARTITION
137 #endif 137 #endif
138 138
139 #if defined(CONFIG_ZYNQ_I2C0) || defined(CONFIG_ZYNQ_I2C1) 139 #if defined(CONFIG_ZYNQ_I2C0) || defined(CONFIG_ZYNQ_I2C1)
140 #define CONFIG_SYS_I2C_ZYNQ 140 #define CONFIG_SYS_I2C_ZYNQ
141 #endif 141 #endif
142 142
143 /* I2C */ 143 /* I2C */
144 #if defined(CONFIG_SYS_I2C_ZYNQ) 144 #if defined(CONFIG_SYS_I2C_ZYNQ)
145 # define CONFIG_SYS_I2C 145 # define CONFIG_SYS_I2C
146 # define CONFIG_SYS_I2C_ZYNQ_SPEED 100000 146 # define CONFIG_SYS_I2C_ZYNQ_SPEED 100000
147 # define CONFIG_SYS_I2C_ZYNQ_SLAVE 0 147 # define CONFIG_SYS_I2C_ZYNQ_SLAVE 0
148 #endif 148 #endif
149 149
150 /* EEPROM */ 150 /* EEPROM */
151 #ifdef CONFIG_ZYNQ_EEPROM 151 #ifdef CONFIG_ZYNQ_EEPROM
152 # define CONFIG_CMD_EEPROM 152 # define CONFIG_CMD_EEPROM
153 # define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1 153 # define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1
154 # define CONFIG_SYS_I2C_EEPROM_ADDR 0x54 154 # define CONFIG_SYS_I2C_EEPROM_ADDR 0x54
155 # define CONFIG_SYS_EEPROM_PAGE_WRITE_BITS 4 155 # define CONFIG_SYS_EEPROM_PAGE_WRITE_BITS 4
156 # define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS 5 156 # define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS 5
157 # define CONFIG_SYS_EEPROM_SIZE 1024 /* Bytes */ 157 # define CONFIG_SYS_EEPROM_SIZE 1024 /* Bytes */
158 #endif 158 #endif
159 159
160 /* Total Size of Environment Sector */ 160 /* Total Size of Environment Sector */
161 #define CONFIG_ENV_SIZE (128 << 10) 161 #define CONFIG_ENV_SIZE (128 << 10)
162 162
163 /* Allow to overwrite serial and ethaddr */ 163 /* Allow to overwrite serial and ethaddr */
164 #define CONFIG_ENV_OVERWRITE 164 #define CONFIG_ENV_OVERWRITE
165 165
166 /* Environment */ 166 /* Environment */
167 #ifndef CONFIG_ENV_IS_NOWHERE 167 #ifndef CONFIG_ENV_IS_NOWHERE
168 # ifndef CONFIG_SYS_NO_FLASH 168 # ifndef CONFIG_SYS_NO_FLASH
169 /* Environment in NOR flash */ 169 /* Environment in NOR flash */
170 # define CONFIG_ENV_IS_IN_FLASH 170 # define CONFIG_ENV_IS_IN_FLASH
171 # elif defined(CONFIG_ZYNQ_QSPI) 171 # elif defined(CONFIG_ZYNQ_QSPI)
172 /* Environment in Serial Flash */ 172 /* Environment in Serial Flash */
173 # define CONFIG_ENV_IS_IN_SPI_FLASH 173 # define CONFIG_ENV_IS_IN_SPI_FLASH
174 # elif defined(CONFIG_SYS_NO_FLASH) 174 # elif defined(CONFIG_SYS_NO_FLASH)
175 # define CONFIG_ENV_IS_NOWHERE 175 # define CONFIG_ENV_IS_NOWHERE
176 # endif 176 # endif
177 177
178 # define CONFIG_ENV_SECT_SIZE CONFIG_ENV_SIZE 178 # define CONFIG_ENV_SECT_SIZE CONFIG_ENV_SIZE
179 # define CONFIG_ENV_OFFSET 0xE0000 179 # define CONFIG_ENV_OFFSET 0xE0000
180 #endif 180 #endif
181 181
182 /* enable preboot to be loaded before CONFIG_BOOTDELAY */ 182 /* enable preboot to be loaded before CONFIG_BOOTDELAY */
183 #define CONFIG_PREBOOT 183 #define CONFIG_PREBOOT
184 184
185 /* Default environment */ 185 /* Default environment */
186 #ifndef CONFIG_EXTRA_ENV_SETTINGS 186 #ifndef CONFIG_EXTRA_ENV_SETTINGS
187 #define CONFIG_EXTRA_ENV_SETTINGS \ 187 #define CONFIG_EXTRA_ENV_SETTINGS \
188 "fit_image=fit.itb\0" \ 188 "fit_image=fit.itb\0" \
189 "load_addr=0x2000000\0" \ 189 "load_addr=0x2000000\0" \
190 "fit_size=0x800000\0" \ 190 "fit_size=0x800000\0" \
191 "flash_off=0x100000\0" \ 191 "flash_off=0x100000\0" \
192 "nor_flash_off=0xE2100000\0" \ 192 "nor_flash_off=0xE2100000\0" \
193 "fdt_high=0x20000000\0" \ 193 "fdt_high=0x20000000\0" \
194 "initrd_high=0x20000000\0" \ 194 "initrd_high=0x20000000\0" \
195 "loadbootenv_addr=0x2000000\0" \ 195 "loadbootenv_addr=0x2000000\0" \
196 "bootenv=uEnv.txt\0" \ 196 "bootenv=uEnv.txt\0" \
197 "bootenv_dev=mmc\0" \ 197 "bootenv_dev=mmc\0" \
198 "loadbootenv=load ${bootenv_dev} 0 ${loadbootenv_addr} ${bootenv}\0" \ 198 "loadbootenv=load ${bootenv_dev} 0 ${loadbootenv_addr} ${bootenv}\0" \
199 "importbootenv=echo Importing environment from ${bootenv_dev} ...; " \ 199 "importbootenv=echo Importing environment from ${bootenv_dev} ...; " \
200 "env import -t ${loadbootenv_addr} $filesize\0" \ 200 "env import -t ${loadbootenv_addr} $filesize\0" \
201 "bootenv_existence_test=test -e ${bootenv_dev} 0 /${bootenv}\0" \ 201 "bootenv_existence_test=test -e ${bootenv_dev} 0 /${bootenv}\0" \
202 "setbootenv=if env run bootenv_existence_test; then " \ 202 "setbootenv=if env run bootenv_existence_test; then " \
203 "if env run loadbootenv; then " \ 203 "if env run loadbootenv; then " \
204 "env run importbootenv; " \ 204 "env run importbootenv; " \
205 "fi; " \ 205 "fi; " \
206 "fi; \0" \ 206 "fi; \0" \
207 "sd_loadbootenv=set bootenv_dev mmc && " \ 207 "sd_loadbootenv=set bootenv_dev mmc && " \
208 "run setbootenv \0" \ 208 "run setbootenv \0" \
209 "usb_loadbootenv=set bootenv_dev usb && usb start && run setbootenv \0" \ 209 "usb_loadbootenv=set bootenv_dev usb && usb start && run setbootenv \0" \
210 "preboot=if test $modeboot = sdboot; then " \ 210 "preboot=if test $modeboot = sdboot; then " \
211 "run sd_loadbootenv; " \ 211 "run sd_loadbootenv; " \
212 "echo Checking if uenvcmd is set ...; " \ 212 "echo Checking if uenvcmd is set ...; " \
213 "if test -n $uenvcmd; then " \ 213 "if test -n $uenvcmd; then " \
214 "echo Running uenvcmd ...; " \ 214 "echo Running uenvcmd ...; " \
215 "run uenvcmd; " \ 215 "run uenvcmd; " \
216 "fi; " \ 216 "fi; " \
217 "fi; \0" \ 217 "fi; \0" \
218 "norboot=echo Copying FIT from NOR flash to RAM... && " \ 218 "norboot=echo Copying FIT from NOR flash to RAM... && " \
219 "cp.b ${nor_flash_off} ${load_addr} ${fit_size} && " \ 219 "cp.b ${nor_flash_off} ${load_addr} ${fit_size} && " \
220 "bootm ${load_addr}\0" \ 220 "bootm ${load_addr}\0" \
221 "sdboot=echo Copying FIT from SD to RAM... && " \ 221 "sdboot=echo Copying FIT from SD to RAM... && " \
222 "load mmc 0 ${load_addr} ${fit_image} && " \ 222 "load mmc 0 ${load_addr} ${fit_image} && " \
223 "bootm ${load_addr}\0" \ 223 "bootm ${load_addr}\0" \
224 "jtagboot=echo TFTPing FIT to RAM... && " \ 224 "jtagboot=echo TFTPing FIT to RAM... && " \
225 "tftpboot ${load_addr} ${fit_image} && " \ 225 "tftpboot ${load_addr} ${fit_image} && " \
226 "bootm ${load_addr}\0" \ 226 "bootm ${load_addr}\0" \
227 "usbboot=if usb start; then " \ 227 "usbboot=if usb start; then " \
228 "echo Copying FIT from USB to RAM... && " \ 228 "echo Copying FIT from USB to RAM... && " \
229 "load usb 0 ${load_addr} ${fit_image} && " \ 229 "load usb 0 ${load_addr} ${fit_image} && " \
230 "bootm ${load_addr}; fi\0" \ 230 "bootm ${load_addr}; fi\0" \
231 DFU_ALT_INFO 231 DFU_ALT_INFO
232 #endif 232 #endif
233 233
234 #define CONFIG_BOOTCOMMAND "run $modeboot" 234 #define CONFIG_BOOTCOMMAND "run $modeboot"
235 #define CONFIG_SYS_LOAD_ADDR 0 /* default? */ 235 #define CONFIG_SYS_LOAD_ADDR 0 /* default? */
236 236
237 /* Miscellaneous configurable options */ 237 /* Miscellaneous configurable options */
238 238
239 #define CONFIG_CMDLINE_EDITING 239 #define CONFIG_CMDLINE_EDITING
240 #define CONFIG_AUTO_COMPLETE 240 #define CONFIG_AUTO_COMPLETE
241 #define CONFIG_BOARD_LATE_INIT 241 #define CONFIG_BOARD_LATE_INIT
242 #define CONFIG_SYS_LONGHELP 242 #define CONFIG_SYS_LONGHELP
243 #define CONFIG_CLOCKS 243 #define CONFIG_CLOCKS
244 #define CONFIG_CMD_CLK 244 #define CONFIG_CMD_CLK
245 #define CONFIG_SYS_MAXARGS 32 /* max number of command args */ 245 #define CONFIG_SYS_MAXARGS 32 /* max number of command args */
246 #define CONFIG_SYS_CBSIZE 256 /* Console I/O Buffer Size */ 246 #define CONFIG_SYS_CBSIZE 256 /* Console I/O Buffer Size */
247 #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + \ 247 #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + \
248 sizeof(CONFIG_SYS_PROMPT) + 16) 248 sizeof(CONFIG_SYS_PROMPT) + 16)
249 249
250 /* Physical Memory map */
251 #define CONFIG_SYS_TEXT_BASE 0x4000000
252
253 #ifndef CONFIG_NR_DRAM_BANKS 250 #ifndef CONFIG_NR_DRAM_BANKS
254 # define CONFIG_NR_DRAM_BANKS 1 251 # define CONFIG_NR_DRAM_BANKS 1
255 #endif 252 #endif
256 253
257 #define CONFIG_SYS_MEMTEST_START 0 254 #define CONFIG_SYS_MEMTEST_START 0
258 #define CONFIG_SYS_MEMTEST_END 0x1000 255 #define CONFIG_SYS_MEMTEST_END 0x1000
259 256
260 #define CONFIG_SYS_MALLOC_LEN 0x1400000 257 #define CONFIG_SYS_MALLOC_LEN 0x1400000
261 258
262 #define CONFIG_SYS_INIT_RAM_ADDR 0xFFFF0000 259 #define CONFIG_SYS_INIT_RAM_ADDR 0xFFFF0000
263 #define CONFIG_SYS_INIT_RAM_SIZE 0x1000 260 #define CONFIG_SYS_INIT_RAM_SIZE 0x1000
264 #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_INIT_RAM_ADDR + \ 261 #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_INIT_RAM_ADDR + \
265 CONFIG_SYS_INIT_RAM_SIZE - \ 262 CONFIG_SYS_INIT_RAM_SIZE - \
266 GENERATED_GBL_DATA_SIZE) 263 GENERATED_GBL_DATA_SIZE)
267 264
268 /* Enable the PL to be downloaded */ 265 /* Enable the PL to be downloaded */
269 #define CONFIG_FPGA 266 #define CONFIG_FPGA
270 #define CONFIG_FPGA_XILINX 267 #define CONFIG_FPGA_XILINX
271 #define CONFIG_FPGA_ZYNQPL 268 #define CONFIG_FPGA_ZYNQPL
272 #define CONFIG_CMD_FPGA_LOADMK 269 #define CONFIG_CMD_FPGA_LOADMK
273 #define CONFIG_CMD_FPGA_LOADP 270 #define CONFIG_CMD_FPGA_LOADP
274 #define CONFIG_CMD_FPGA_LOADBP 271 #define CONFIG_CMD_FPGA_LOADBP
275 #define CONFIG_CMD_FPGA_LOADFS 272 #define CONFIG_CMD_FPGA_LOADFS
276 273
277 /* FIT support */ 274 /* FIT support */
278 #define CONFIG_IMAGE_FORMAT_LEGACY /* enable also legacy image format */ 275 #define CONFIG_IMAGE_FORMAT_LEGACY /* enable also legacy image format */
279 276
280 /* FDT support */ 277 /* FDT support */
281 #define CONFIG_DISPLAY_BOARDINFO_LATE 278 #define CONFIG_DISPLAY_BOARDINFO_LATE
282 279
283 /* Extend size of kernel image for uncompression */ 280 /* Extend size of kernel image for uncompression */
284 #define CONFIG_SYS_BOOTM_LEN (60 * 1024 * 1024) 281 #define CONFIG_SYS_BOOTM_LEN (60 * 1024 * 1024)
285 282
286 /* Boot FreeBSD/vxWorks from an ELF image */ 283 /* Boot FreeBSD/vxWorks from an ELF image */
287 #define CONFIG_SYS_MMC_MAX_DEVICE 1 284 #define CONFIG_SYS_MMC_MAX_DEVICE 1
288 285
289 #define CONFIG_SYS_LDSCRIPT "arch/arm/mach-zynq/u-boot.lds" 286 #define CONFIG_SYS_LDSCRIPT "arch/arm/mach-zynq/u-boot.lds"
290 287
291 /* Commands */ 288 /* Commands */
292 289
293 /* SPL part */ 290 /* SPL part */
294 #define CONFIG_CMD_SPL 291 #define CONFIG_CMD_SPL
295 #define CONFIG_SPL_FRAMEWORK 292 #define CONFIG_SPL_FRAMEWORK
296 #define CONFIG_SPL_BOARD_INIT 293 #define CONFIG_SPL_BOARD_INIT
297 #define CONFIG_SPL_RAM_DEVICE 294 #define CONFIG_SPL_RAM_DEVICE
298 295
299 #define CONFIG_SPL_LDSCRIPT "arch/arm/mach-zynq/u-boot-spl.lds" 296 #define CONFIG_SPL_LDSCRIPT "arch/arm/mach-zynq/u-boot-spl.lds"
300 297
301 /* MMC support */ 298 /* MMC support */
302 #ifdef CONFIG_ZYNQ_SDHCI 299 #ifdef CONFIG_ZYNQ_SDHCI
303 #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION 1 300 #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION 1
304 #define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "u-boot.img" 301 #define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "u-boot.img"
305 #endif 302 #endif
306 303
307 /* Disable dcache for SPL just for sure */ 304 /* Disable dcache for SPL just for sure */
308 #ifdef CONFIG_SPL_BUILD 305 #ifdef CONFIG_SPL_BUILD
309 #define CONFIG_SYS_DCACHE_OFF 306 #define CONFIG_SYS_DCACHE_OFF
310 #undef CONFIG_FPGA 307 #undef CONFIG_FPGA
311 #endif 308 #endif
312 309
313 /* Address in RAM where the parameters must be copied by SPL. */ 310 /* Address in RAM where the parameters must be copied by SPL. */
314 #define CONFIG_SYS_SPL_ARGS_ADDR 0x10000000 311 #define CONFIG_SYS_SPL_ARGS_ADDR 0x10000000
315 312
316 #define CONFIG_SPL_FS_LOAD_ARGS_NAME "system.dtb" 313 #define CONFIG_SPL_FS_LOAD_ARGS_NAME "system.dtb"
317 #define CONFIG_SPL_FS_LOAD_KERNEL_NAME "uImage" 314 #define CONFIG_SPL_FS_LOAD_KERNEL_NAME "uImage"
318 315
319 /* Not using MMC raw mode - just for compilation purpose */ 316 /* Not using MMC raw mode - just for compilation purpose */
320 #define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR 0 317 #define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR 0
321 #define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS 0 318 #define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS 0
322 #define CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR 0 319 #define CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR 0
323 320
324 /* qspi mode is working fine */ 321 /* qspi mode is working fine */
325 #ifdef CONFIG_ZYNQ_QSPI 322 #ifdef CONFIG_ZYNQ_QSPI
326 #define CONFIG_SPL_SPI_LOAD 323 #define CONFIG_SPL_SPI_LOAD
327 #define CONFIG_SYS_SPI_U_BOOT_OFFS 0x100000 324 #define CONFIG_SYS_SPI_U_BOOT_OFFS 0x100000
328 #define CONFIG_SYS_SPI_ARGS_OFFS 0x200000 325 #define CONFIG_SYS_SPI_ARGS_OFFS 0x200000
329 #define CONFIG_SYS_SPI_ARGS_SIZE 0x80000 326 #define CONFIG_SYS_SPI_ARGS_SIZE 0x80000
330 #define CONFIG_SYS_SPI_KERNEL_OFFS (CONFIG_SYS_SPI_ARGS_OFFS + \ 327 #define CONFIG_SYS_SPI_KERNEL_OFFS (CONFIG_SYS_SPI_ARGS_OFFS + \
331 CONFIG_SYS_SPI_ARGS_SIZE) 328 CONFIG_SYS_SPI_ARGS_SIZE)
332 #endif 329 #endif
333 330
334 /* for booting directly linux */ 331 /* for booting directly linux */
335 332
336 /* SP location before relocation, must use scratch RAM */ 333 /* SP location before relocation, must use scratch RAM */
337 #define CONFIG_SPL_TEXT_BASE 0x0 334 #define CONFIG_SPL_TEXT_BASE 0x0
338 335
339 /* 3 * 64kB blocks of OCM - one is on the top because of bootrom */ 336 /* 3 * 64kB blocks of OCM - one is on the top because of bootrom */
340 #define CONFIG_SPL_MAX_SIZE 0x30000 337 #define CONFIG_SPL_MAX_SIZE 0x30000
341 338
342 /* The highest 64k OCM address */ 339 /* The highest 64k OCM address */
343 #define OCM_HIGH_ADDR 0xffff0000 340 #define OCM_HIGH_ADDR 0xffff0000
344 341
345 /* On the top of OCM space */ 342 /* On the top of OCM space */
346 #define CONFIG_SYS_SPL_MALLOC_START OCM_HIGH_ADDR 343 #define CONFIG_SYS_SPL_MALLOC_START OCM_HIGH_ADDR
347 #define CONFIG_SYS_SPL_MALLOC_SIZE 0x2000 344 #define CONFIG_SYS_SPL_MALLOC_SIZE 0x2000
348 345
349 /* 346 /*
350 * SPL stack position - and stack goes down 347 * SPL stack position - and stack goes down
351 * 0xfffffe00 is used for putting wfi loop. 348 * 0xfffffe00 is used for putting wfi loop.
352 * Set it up as limit for now. 349 * Set it up as limit for now.
353 */ 350 */
354 #define CONFIG_SPL_STACK 0xfffffe00 351 #define CONFIG_SPL_STACK 0xfffffe00
355 352
356 /* BSS setup */ 353 /* BSS setup */
357 #define CONFIG_SPL_BSS_START_ADDR 0x100000 354 #define CONFIG_SPL_BSS_START_ADDR 0x100000
358 #define CONFIG_SPL_BSS_MAX_SIZE 0x100000 355 #define CONFIG_SPL_BSS_MAX_SIZE 0x100000
359 356
360 #define CONFIG_SYS_UBOOT_START CONFIG_SYS_TEXT_BASE 357 #define CONFIG_SYS_UBOOT_START CONFIG_SYS_TEXT_BASE
361 358
362 #endif /* __CONFIG_ZYNQ_COMMON_H */ 359 #endif /* __CONFIG_ZYNQ_COMMON_H */
363 360