diff options
Diffstat (limited to 'Kconfig')
| -rw-r--r-- | Kconfig | 78 |
1 files changed, 35 insertions, 43 deletions
@@ -193,7 +193,7 @@ config FUZZ select ASAN help Enables the fuzzing infrastructure to generate fuzzing data and run - fuzz tests. + fuzz tests. config CC_HAS_ASM_INLINE def_bool $(success,echo 'void foo(void) { asm inline (""); }' | $(CC) -x c - -c -o /dev/null) @@ -308,11 +308,11 @@ config SYS_MALLOC_F_LEN default 0x10000 if ARCH_IMX8 || ARCH_IMX8M default 0x2000 help - Size of the malloc() pool for use before relocation. If - this is defined, then a very simple malloc() implementation - will become available before relocation. The address is just - below the global data, and the stack is moved down to make - space. + Size of the malloc() pool for use before relocation. If + this is defined, then a very simple malloc() implementation + will become available before relocation. The address is just + below the global data, and the stack is moved down to make + space. This feature allocates regions with increasing addresses within the region. calloc() is supported, but realloc() @@ -420,7 +420,7 @@ menuconfig EXPERT Use this only if you really know what you are doing. if EXPERT - config SYS_MALLOC_CLEAR_ON_INIT +config SYS_MALLOC_CLEAR_ON_INIT bool "Init with zeros the memory reserved for malloc (slow)" default y help @@ -468,6 +468,18 @@ config TOOLS_DEBUG it is possible to set breakpoints on particular lines, single-step debug through the source code, etc. +config SKIP_EARLY_DM + bool "Skips initialising device model pre-relocation" + help + Enable this option to skip scanning and probing devices prior to + U-Boot relocation (during board_f). Unless console support is disabled + a serial port is still required, however this can be found through + /chosen/stdout-path in FDT. If the serial port relies on other devices + like clocks these will also be bound and probed on demand. + + This can speed up time to interactive console by about 50%, particularly + when combined with OF_LIVE. + config SKIP_RELOCATE bool "Skips relocation of U-Boot to end of RAM" help @@ -491,6 +503,19 @@ config SKIP_RELOCATE_CODE_DATA_OFFSET Offset of the read-write memory which contains data, from read-only memory which contains executable text. +config RELOC_ADDR_TOP + bool "Relocate to the topmost memory address" + help + When U-Boot relocates, it chooses the end of the first memory bank. + Enable this if you have multiple banks and want U-Boot to relocate + to the topmost memory address. This will use the information of the + board memory banks configured with dram_init_banksize() to calculate + the relocation address. + Use this if you are certain all of the devices can access memory + above the 32bit boundary. Devices that can only DMA below 4GiB will + misbehave because their buffers may be allocated above the 32-bit + boundary after relocation. + endif # EXPERT config PHYS_64BIT @@ -536,10 +561,11 @@ config REMAKE_ELF config BUILD_TARGET string "Build target special images" - default "u-boot-elf.srec" if RCAR_64 + default "u-boot-elf.shdr" if RCAR_64 && RCAR_64_RSIP + default "u-boot-elf.srec" if RCAR_64 && !RCAR_64_RSIP default "u-boot-with-spl.bin" if ARCH_AT91 && SPL_NAND_SUPPORT default "u-boot-with-spl.bin" if MPC85xx && !E500MC && !E5500 && !E6500 && SPL - default "u-boot-with-spl.imx" if ARCH_MX6 && SPL + default "u-boot-with-spl.imx" if (ARCH_MX6 || ARCH_MX7) && SPL default "u-boot-with-spl.kwb" if ARMADA_32BIT && SPL default "u-boot-with-spl.sfp" if ARCH_SOCFPGA_ARRIA10 default "u-boot-with-spl.sfp" if ARCH_SOCFPGA_GEN5 @@ -791,42 +817,8 @@ source "dts/Kconfig" source "env/Kconfig" -menu "Networking" - -choice - prompt "Networking stack" - default NET - -config NO_NET - bool "No networking support" - help - Do not include networking support - -config NET - bool "Legacy U-Boot networking stack" - select NETDEVICES - help - Include networking support with U-Boot's internal implementation of - the TCP/IP protocol stack. - -config NET_LWIP - bool "Use lwIP for networking stack" - select NETDEVICES - help - Include networking support based on the lwIP (lightweight IP) - TCP/IP stack (https://nongnu.org/lwip). This is a replacement for - the default U-Boot network stack and applications located in net/ - and enabled via CONFIG_NET as well as other pieces of code that - depend on CONFIG_NET (such as cmd/net.c enabled via CONFIG_CMD_NET). - Therefore the two symbols CONFIG_NET and CONFIG_NET_LWIP are mutually - exclusive. - -endchoice - source "net/Kconfig" -endmenu - source "drivers/Kconfig" source "fs/Kconfig" |
