Kconfig 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see the file Documentation/kbuild/kconfig-language.txt in the
  4. # Linux kernel source tree.
  5. #
  6. mainmenu "U-Boot $(UBOOTVERSION) Configuration"
  7. comment "Compiler: $(CC_VERSION_TEXT)"
  8. source "scripts/Kconfig.include"
  9. # Allow defaults in arch-specific code to override any given here
  10. source "arch/Kconfig"
  11. menu "General setup"
  12. config BROKEN
  13. bool
  14. help
  15. This option cannot be enabled. It is used as dependency
  16. for broken and incomplete features.
  17. config DEPRECATED
  18. bool
  19. help
  20. This option cannot be enabled. It it used as a dependency for
  21. code that relies on deprecated features that will be removed and
  22. the conversion deadline has passed.
  23. config LOCALVERSION
  24. string "Local version - append to U-Boot release"
  25. help
  26. Append an extra string to the end of your U-Boot version.
  27. This will show up in your boot log, for example.
  28. The string you set here will be appended after the contents of
  29. any files with a filename matching localversion* in your
  30. object and source tree, in that order. Your total string can
  31. be a maximum of 64 characters.
  32. config LOCALVERSION_AUTO
  33. bool "Automatically append version information to the version string"
  34. default y
  35. help
  36. This will try to automatically determine if the current tree is a
  37. release tree by looking for Git tags that belong to the current
  38. top of tree revision.
  39. A string of the format -gxxxxxxxx will be added to the localversion
  40. if a Git-based tree is found. The string generated by this will be
  41. appended after any matching localversion* files, and after the value
  42. set in CONFIG_LOCALVERSION.
  43. (The actual string used here is the first eight characters produced
  44. by running the command:
  45. $ git rev-parse --verify HEAD
  46. which is done within the script "scripts/setlocalversion".)
  47. config CC_IS_GCC
  48. def_bool $(success,$(CC) --version | head -n 1 | grep -q gcc)
  49. config GCC_VERSION
  50. int
  51. default $(shell,$(srctree)/scripts/gcc-version.sh -p $(CC) | sed 's/^0*//') if CC_IS_GCC
  52. default 0
  53. config CC_IS_CLANG
  54. def_bool $(success,$(CC) --version | head -n 1 | grep -q clang)
  55. config CLANG_VERSION
  56. int
  57. default $(shell,$(srctree)/scripts/clang-version.sh $(CC))
  58. choice
  59. prompt "Optimization level"
  60. default CC_OPTIMIZE_FOR_SIZE
  61. config CC_OPTIMIZE_FOR_SIZE
  62. bool "Optimize for size"
  63. help
  64. Enabling this option will pass "-Os" to gcc, resulting in a smaller
  65. U-Boot image.
  66. This option is enabled by default for U-Boot.
  67. config CC_OPTIMIZE_FOR_SPEED
  68. bool "Optimize for speed"
  69. help
  70. Enabling this option will pass "-O2" to gcc, resulting in a faster
  71. U-Boot image.
  72. config CC_OPTIMIZE_FOR_DEBUG
  73. bool "Optimize for debugging"
  74. help
  75. Enabling this option will pass "-Og" to gcc, enabling optimizations
  76. which don't interfere with debugging.
  77. endchoice
  78. config OPTIMIZE_INLINING
  79. bool "Allow compiler to uninline functions marked 'inline' in full U-Boot"
  80. help
  81. This option determines if U-Boot forces gcc to inline the functions
  82. developers have marked 'inline'. Doing so takes away freedom from gcc to
  83. do what it thinks is best, which is desirable in some cases for size
  84. reasons.
  85. config SPL_OPTIMIZE_INLINING
  86. bool "Allow compiler to uninline functions marked 'inline' in SPL"
  87. depends on SPL
  88. help
  89. This option determines if U-Boot forces gcc to inline the functions
  90. developers have marked 'inline'. Doing so takes away freedom from gcc to
  91. do what it thinks is best, which is desirable in some cases for size
  92. reasons.
  93. config ARCH_SUPPORTS_LTO
  94. bool
  95. config LTO
  96. bool "Enable Link Time Optimizations"
  97. depends on ARCH_SUPPORTS_LTO
  98. help
  99. This option enables Link Time Optimization (LTO), a mechanism which
  100. allows the compiler to optimize between different compilation units.
  101. This can optimize away dead code paths, resulting in smaller binary
  102. size (if CC_OPTIMIZE_FOR_SIZE is enabled).
  103. This option is not available for every architecture and may
  104. introduce bugs.
  105. Currently, when compiling with GCC, due to a weird bug regarding
  106. jobserver, the final linking will not respect make's --jobs argument.
  107. Instead all available processors will be used (as reported by the
  108. nproc command).
  109. If unsure, say n.
  110. config TPL_OPTIMIZE_INLINING
  111. bool "Allow compiler to uninline functions marked 'inline' in TPL"
  112. depends on TPL
  113. help
  114. This option determines if U-Boot forces gcc to inline the functions
  115. developers have marked 'inline'. Doing so takes away freedom from gcc to
  116. do what it thinks is best, which is desirable in some cases for size
  117. reasons.
  118. config CC_COVERAGE
  119. bool "Enable code coverage analysis"
  120. depends on SANDBOX
  121. help
  122. Enabling this option will pass "--coverage" to gcc to compile
  123. and link code instrumented for coverage analysis.
  124. config ASAN
  125. bool "Enable AddressSanitizer"
  126. depends on SANDBOX
  127. help
  128. Enables AddressSanitizer to discover out-of-bounds accesses,
  129. use-after-free, double-free and memory leaks.
  130. config FUZZ
  131. bool "Enable fuzzing"
  132. depends on CC_IS_CLANG
  133. depends on DM_FUZZING_ENGINE
  134. select ASAN
  135. help
  136. Enables the fuzzing infrastructure to generate fuzzing data and run
  137. fuzz tests.
  138. config CC_HAS_ASM_INLINE
  139. def_bool $(success,echo 'void foo(void) { asm inline (""); }' | $(CC) -x c - -c -o /dev/null)
  140. config XEN
  141. bool "Select U-Boot be run as a bootloader for XEN Virtual Machine"
  142. depends on ARM64
  143. select SSCANF
  144. help
  145. Enabling this option will make U-Boot be run as a bootloader
  146. for XEN [1] Virtual Machine.
  147. Xen is a virtual machine monitor (VMM) or a type-1 hypervisor with support
  148. for para-virtualization. Xen can organize the safe execution of several
  149. virtual machines on the same physical system with performance close to
  150. native. It is used as the basis for a number of different commercial and
  151. open source applications, such as: server virtualization, Infrastructure
  152. as a Service (IaaS), desktop virtualization, security applications,
  153. embedded and hardware appliances.
  154. Xen has a special VM called Domain-0 that runs the Dom0 kernel and allows
  155. Xen to use the device drivers for the Domain-0 kernel by default.
  156. [1] - https://xenproject.org/
  157. config ENV_VARS_UBOOT_CONFIG
  158. bool "Add arch, board, vendor and soc variables to default environment"
  159. help
  160. Define this in order to add variables describing the
  161. U-Boot build configuration to the default environment.
  162. These will be named arch, cpu, board, vendor, and soc.
  163. Enabling this option will cause the following to be defined:
  164. - CONFIG_SYS_ARCH
  165. - CONFIG_SYS_CPU
  166. - CONFIG_SYS_BOARD
  167. - CONFIG_SYS_VENDOR
  168. - CONFIG_SYS_SOC
  169. config NR_DRAM_BANKS
  170. int "Number of DRAM banks"
  171. default 1 if ARCH_SUNXI || ARCH_OWL
  172. default 4
  173. help
  174. This defines the number of DRAM banks.
  175. config SYS_BOOT_GET_CMDLINE
  176. bool "Enable kernel command line setup"
  177. help
  178. Enables allocating and saving kernel cmdline in space between
  179. "bootm_low" and "bootm_low" + BOOTMAPSZ.
  180. config SYS_BARGSIZE
  181. int "Size of kernel command line buffer in bytes"
  182. depends on SYS_BOOT_GET_CMDLINE
  183. default 512
  184. help
  185. Buffer size for Boot Arguments which are passed to the application
  186. (usually a Linux kernel) when it is booted
  187. config SYS_BOOT_GET_KBD
  188. bool "Enable kernel board information setup"
  189. help
  190. Enables allocating and saving a kernel copy of the bd_info in
  191. space between "bootm_low" and "bootm_low" + BOOTMAPSZ.
  192. config HAS_CUSTOM_SYS_INIT_SP_ADDR
  193. bool "Use a custom location for the initial stack pointer address"
  194. depends on ARC || (ARM && !INIT_SP_RELATIVE) || MIPS || PPC || RISCV
  195. default y if TFABOOT
  196. help
  197. Typically, we use an initial stack pointer address that is calculated
  198. by taking the statically defined CFG_SYS_INIT_RAM_ADDR, adding the
  199. statically defined CFG_SYS_INIT_RAM_SIZE and then subtracting the
  200. build-time constant of GENERATED_GBL_DATA_SIZE. On MIPS a different
  201. but statica calculation is performed. However, some platforms will
  202. take a different approach. Say Y here to define the address statically
  203. instead.
  204. config CUSTOM_SYS_INIT_SP_ADDR
  205. hex "Static location for the initial stack pointer"
  206. depends on HAS_CUSTOM_SYS_INIT_SP_ADDR
  207. default TEXT_BASE if TFABOOT
  208. config SYS_MALLOC_F
  209. bool "Enable malloc() pool before relocation"
  210. default y if DM
  211. help
  212. Before relocation, memory is very limited on many platforms. Still,
  213. we can provide a small malloc() pool if needed. Driver model in
  214. particular needs this to operate, so that it can allocate the
  215. initial serial device and any others that are needed.
  216. config SYS_MALLOC_F_LEN
  217. hex "Size of malloc() pool before relocation"
  218. depends on SYS_MALLOC_F
  219. default 0x400 if M68K || PPC || ROCKCHIP_PX30 || ROCKCHIP_RK3036 || \
  220. ROCKCHIP_RK3308 || ROCKCHIP_RV1108
  221. default 0x600 if ARCH_ZYNQMP_R5 || ARCH_ZYNQMP
  222. default 0x800 if ARCH_ZYNQ || ROCKCHIP_RK3128 || ROCKCHIP_RK3188 || \
  223. ROCKCHIP_RK322X || X86
  224. default 0x1000 if ARCH_MESON || ARCH_BMIPS || ARCH_MTMIPS
  225. default 0x1800 if ARCH_TEGRA
  226. default 0x4000 if SANDBOX || RISCV || ARCH_APPLE || ROCKCHIP_RK3368 || \
  227. ROCKCHIP_RK3399
  228. default 0x8000 if RCAR_GEN3
  229. default 0x10000 if ARCH_IMX8 || ARCH_IMX8M
  230. default 0x2000
  231. help
  232. Before relocation, memory is very limited on many platforms. Still,
  233. we can provide a small malloc() pool if needed. Driver model in
  234. particular needs this to operate, so that it can allocate the
  235. initial serial device and any others that are needed.
  236. config SYS_MALLOC_LEN
  237. hex "Define memory for Dynamic allocation"
  238. default 0x4000000 if SANDBOX
  239. default 0x2000000 if ARCH_ROCKCHIP || ARCH_OMAP2PLUS || ARCH_MESON
  240. default 0x200000 if ARCH_BMIPS || X86
  241. default 0x4020000 if SUNXI_MINIMUM_DRAM_MB >= 256
  242. default 0x220000 if SUNXI_MINIMUM_DRAM_MB >= 64
  243. default 0x120000 if SUNXI_MINIMUM_DRAM_MB >= 32
  244. default 0x400000
  245. help
  246. This defines memory to be allocated for Dynamic allocation
  247. TODO: Use for other architectures
  248. config SPL_SYS_MALLOC_F_LEN
  249. hex "Size of malloc() pool in SPL"
  250. depends on SYS_MALLOC_F && SPL
  251. default 0x0 if !SPL_FRAMEWORK
  252. default 0x2800 if RCAR_GEN3
  253. default 0x2000 if IMX8MQ
  254. default SYS_MALLOC_F_LEN
  255. help
  256. In SPL memory is very limited on many platforms. Still,
  257. we can provide a small malloc() pool if needed. Driver model in
  258. particular needs this to operate, so that it can allocate the
  259. initial serial device and any others that are needed.
  260. It is possible to enable CFG_SYS_SPL_MALLOC_START to start a new
  261. malloc() region in SDRAM once it is inited.
  262. config TPL_SYS_MALLOC_F_LEN
  263. hex "Size of malloc() pool in TPL"
  264. depends on SYS_MALLOC_F && TPL
  265. default SPL_SYS_MALLOC_F_LEN
  266. help
  267. In TPL memory is very limited on many platforms. Still,
  268. we can provide a small malloc() pool if needed. Driver model in
  269. particular needs this to operate, so that it can allocate the
  270. initial serial device and any others that are needed.
  271. config VALGRIND
  272. bool "Inform valgrind about memory allocations"
  273. depends on !RISCV
  274. help
  275. Valgrind is an instrumentation framework for building dynamic analysis
  276. tools. In particular, it may be used to detect memory management bugs
  277. in U-Boot. It relies on knowing when heap blocks are allocated in
  278. order to give accurate results. This happens automatically for
  279. standard allocator functions provided by the host OS. However, this
  280. doesn't automatically happen for U-Boot's malloc implementation.
  281. Enable this option to annotate U-Boot's malloc implementation so that
  282. it can be handled accurately by Valgrind. If you aren't planning on
  283. using valgrind to debug U-Boot, say 'n'.
  284. config VPL_SYS_MALLOC_F_LEN
  285. hex "Size of malloc() pool in VPL before relocation"
  286. depends on SYS_MALLOC_F && VPL
  287. default SYS_MALLOC_F_LEN
  288. help
  289. Before relocation, memory is very limited on many platforms. Still,
  290. we can provide a small malloc() pool if needed. Driver model in
  291. particular needs this to operate, so that it can allocate the
  292. initial serial device and any others that are needed.
  293. menuconfig EXPERT
  294. bool "Configure standard U-Boot features (expert users)"
  295. default y
  296. help
  297. This option allows certain base U-Boot options and settings
  298. to be disabled or tweaked. This is for specialized
  299. environments which can tolerate a "non-standard" U-Boot.
  300. Use this only if you really know what you are doing.
  301. if EXPERT
  302. config SYS_MALLOC_CLEAR_ON_INIT
  303. bool "Init with zeros the memory reserved for malloc (slow)"
  304. default y
  305. help
  306. This setting is enabled by default. The reserved malloc
  307. memory is initialized with zeros, so first malloc calls
  308. will return the pointer to the zeroed memory. But this
  309. slows the boot time.
  310. It is recommended to disable it, when CONFIG_SYS_MALLOC_LEN
  311. value, has more than few MiB, e.g. when uses bzip2 or bmp logo.
  312. Then the boot time can be significantly reduced.
  313. Warning:
  314. When disabling this, please check if malloc calls, maybe
  315. should be replaced by calloc - if one expects zeroed memory.
  316. config SPL_SYS_MALLOC_CLEAR_ON_INIT
  317. bool "Init with zeros the memory reserved for malloc (slow) in SPL"
  318. depends on SPL
  319. default SYS_MALLOC_CLEAR_ON_INIT
  320. help
  321. Same as SYS_MALLOC_CLEAR_ON_INIT, but for SPL. It's possible to
  322. Enable it without SYS_MALLOC_CLEAR_ON_INIT. It's useful for boards
  323. that must have particular memory regions zero'ed before first use.
  324. If SYS_SPL_MALLOC_START is configured to be in such region, this
  325. option should be enabled.
  326. config SYS_MALLOC_DEFAULT_TO_INIT
  327. bool "Default malloc to init while reserving the memory for it"
  328. help
  329. It may happen that one needs to move the dynamic allocation
  330. from one to another memory range, eg. when moving the malloc
  331. from the limited static to a potentially large dynamic (DDR)
  332. memory.
  333. If so then on top of setting the updated memory aside one
  334. needs to bring the malloc init.
  335. If such a scenario is sought choose yes.
  336. config TOOLS_DEBUG
  337. bool "Enable debug information for tools"
  338. help
  339. Enable generation of debug information for tools such as mkimage.
  340. This can be used for debugging purposes. With debug information
  341. it is possible to set breakpoints on particular lines, single-step
  342. debug through the source code, etc.
  343. endif # EXPERT
  344. config PHYS_64BIT
  345. bool "64bit physical address support"
  346. select FDT_64BIT
  347. help
  348. Say Y here to support 64bit physical memory address.
  349. This can be used not only for 64bit SoCs, but also for
  350. large physical address extension on 32bit SoCs.
  351. config FDT_64BIT
  352. bool "64bit fdt address support"
  353. help
  354. Say Y here to support 64bit fdt addresses.
  355. This can be used not only for 64bit SoCs, but also
  356. for large address extensions on 32bit SoCs.
  357. config HAS_ROM
  358. bool
  359. select BINMAN
  360. help
  361. Enables building of a u-boot.rom target. This collects U-Boot and
  362. any necessary binary blobs.
  363. config SPL_IMAGE
  364. string "SPL image used in the combined SPL+U-Boot image"
  365. default "spl/boot.bin" if ARCH_AT91 && SPL_NAND_SUPPORT
  366. default "spl/u-boot-spl.bin"
  367. depends on SPL
  368. help
  369. Select the SPL build target that shall be generated by the SPL
  370. build process (default spl/u-boot-spl.bin). This image will be
  371. used to generate a combined image with SPL and main U-Boot
  372. proper as one single image.
  373. config REMAKE_ELF
  374. bool "Recreate an ELF image from raw U-Boot binary"
  375. help
  376. Enable this to recreate an ELF image (u-boot.elf) from the raw
  377. U-Boot binary (u-boot.bin), which may already have been statically
  378. relocated and may already have a device-tree appended to it.
  379. config BUILD_TARGET
  380. string "Build target special images"
  381. default "u-boot-elf.srec" if RCAR_64
  382. default "u-boot-with-spl.bin" if ARCH_AT91 && SPL_NAND_SUPPORT
  383. default "u-boot-with-spl.bin" if MPC85xx && !E500MC && !E5500 && !E6500 && SPL
  384. default "u-boot-with-spl.imx" if ARCH_MX6 && SPL
  385. default "u-boot-with-spl.kwb" if ARMADA_32BIT && SPL
  386. default "u-boot-with-spl.sfp" if TARGET_SOCFPGA_ARRIA10
  387. default "u-boot-with-spl.sfp" if TARGET_SOCFPGA_GEN5
  388. default "u-boot.itb" if !BINMAN && SPL_LOAD_FIT && (ARCH_ROCKCHIP || \
  389. RISCV || ARCH_ZYNQMP)
  390. default "u-boot.kwb" if (ARCH_KIRKWOOD || ARMADA_32BIT) && !SPL
  391. help
  392. Some SoCs need special image types (e.g. U-Boot binary
  393. with a special header) as build targets. By defining
  394. CONFIG_BUILD_TARGET in the SoC / board header, this
  395. special image will be automatically built upon calling
  396. make / buildman.
  397. config HAS_BOARD_SIZE_LIMIT
  398. bool "Define a maximum size for the U-Boot image"
  399. default y if RCAR_64
  400. help
  401. In some cases, we need to enforce a hard limit on how big the U-Boot
  402. image itself can be.
  403. config BOARD_SIZE_LIMIT
  404. int "Maximum size of the U-Boot image in bytes"
  405. default 1048576 if RCAR_64
  406. depends on HAS_BOARD_SIZE_LIMIT
  407. help
  408. Maximum size of the U-Boot image. When defined, the build system
  409. checks that the actual size does not exceed it. This does not
  410. include SPL nor TPL, on platforms that use that functionality, they
  411. have a separate option to restict size.
  412. config SYS_CUSTOM_LDSCRIPT
  413. bool "Use a custom location for the U-Boot linker script"
  414. help
  415. Normally when linking U-Boot we will look in the board directory,
  416. the CPU directory and finally the "cpu" directory of the architecture
  417. for the ile "u-boot.lds" and use that as our linker. However, in
  418. some cases we need to provide a different linker script. To do so,
  419. enable this option and then provide the location under
  420. CONFIG_SYS_LDSCRIPT.
  421. config SYS_LDSCRIPT
  422. depends on SYS_CUSTOM_LDSCRIPT
  423. string "Custom ldscript location"
  424. help
  425. Path within the source tree to the linker script to use for the
  426. main U-Boot binary.
  427. config SYS_LOAD_ADDR
  428. hex "Address in memory to use by default"
  429. default 0x01000000 if ARCH_SOCFPGA
  430. default 0x02000000 if PPC || X86
  431. default 0x81000000 if MACH_SUNIV
  432. default 0x22000000 if MACH_SUN9I
  433. default 0x42000000 if ARCH_SUNXI
  434. default 0x82000000 if ARCH_KEYSTONE || ARCH_OMAP2PLUS || ARCH_K3
  435. default 0x82000000 if ARCH_MX6 && (MX6SL || MX6SLL || MX6SX || MX6UL || MX6ULL)
  436. default 0x12000000 if ARCH_MX6 && !(MX6SL || MX6SLL || MX6SX || MX6UL || MX6ULL)
  437. default 0x80800000 if ARCH_MX7
  438. default 0x90000000 if FSL_LSCH2 || FSL_LSCH3
  439. help
  440. Address in memory to use as the default safe load address.
  441. config ERR_PTR_OFFSET
  442. hex
  443. default 0x0
  444. help
  445. Some U-Boot pointers have redundant information, so we can use a
  446. scheme where we can return either an error code or a pointer with the
  447. same return value. The default implementation just casts the pointer
  448. to a number, however, this may fail on platforms where the end of the
  449. address range is used for valid pointers (e.g. 0xffffff00 is a valid
  450. heap pointer in socfpga SPL).
  451. For such platforms, this value provides an upper range of those error
  452. pointer values - up to 'MAX_ERRNO' bytes below this value must be
  453. unused/invalid addresses.
  454. config PLATFORM_ELFENTRY
  455. string
  456. default "__start" if MIPS
  457. default "_start"
  458. config STACK_SIZE
  459. hex "Define max stack size that can be used by U-Boot"
  460. default 0x4000000 if ARCH_VERSAL_NET || ARCH_VERSAL || ARCH_ZYNQMP
  461. default 0x200000 if MICROBLAZE
  462. default 0x1000000
  463. help
  464. Define Max stack size that can be used by U-Boot. This value is used
  465. by the UEFI sub-system. On some boards initrd_high is calculated as
  466. base stack pointer minus this stack size.
  467. config SYS_MEM_TOP_HIDE
  468. hex "Exclude some memory from U-Boot / OS information"
  469. default 0x0
  470. help
  471. If set, this specified memory area will get subtracted from the top
  472. (end) of RAM and won't get "touched" at all by U-Boot. By fixing up
  473. gd->ram_size the OS / next stage should gets passed the now
  474. "corrected" memory size and won't touch it either.
  475. WARNING: Please make sure that this value is a multiple of the OS
  476. page size.
  477. config SYS_HAS_SRAM
  478. bool
  479. default y if TARGET_PIC32MZDASK
  480. default y if TARGET_DEVKIT8000
  481. default y if TARGET_TRICORDER
  482. help
  483. Enable this to allow support for the on board SRAM.
  484. SRAM base address is controlled by CONFIG_SYS_SRAM_BASE.
  485. SRAM size is controlled by CONFIG_SYS_SRAM_SIZE.
  486. config SYS_SRAM_BASE
  487. hex
  488. default 0x80000000 if TARGET_PIC32MZDASK
  489. default 0x40200000 if TARGET_DEVKIT8000
  490. default 0x40200000 if TARGET_TRICORDER
  491. default 0x0
  492. config SYS_SRAM_SIZE
  493. hex
  494. default 0x00080000 if TARGET_PIC32MZDASK
  495. default 0x10000 if TARGET_DEVKIT8000
  496. default 0x10000 if TARGET_TRICORDER
  497. default 0x0
  498. config SYS_MONITOR_LEN
  499. int "Maximum size in bytes reserved for U-Boot in memory"
  500. default 1048576 if X86
  501. default 786432 if ARCH_SUNXI
  502. default 0
  503. help
  504. Size of memory reserved for monitor code, used to determine
  505. _at_compile_time_ (!) if the environment is embedded within the
  506. U-Boot image, or in a separate flash sector, among other uses where
  507. we need to set a maximum size of the U-Boot binary itself that will
  508. be loaded.
  509. config MP
  510. bool "Support for multiprocessor"
  511. help
  512. This provides an option to bringup different processors
  513. in multiprocessor cases.
  514. endmenu # General setup
  515. source "api/Kconfig"
  516. source "boot/Kconfig"
  517. source "common/Kconfig"
  518. source "cmd/Kconfig"
  519. source "disk/Kconfig"
  520. source "dts/Kconfig"
  521. source "env/Kconfig"
  522. source "net/Kconfig"
  523. source "drivers/Kconfig"
  524. source "fs/Kconfig"
  525. source "lib/Kconfig"
  526. source "test/Kconfig"
  527. source "tools/Kconfig"