mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-11 15:34:55 +00:00
bloblist: Make BLOBLIST_ALLOC the default
We want to encourage people to use an allocated bloblist since it is more flexible than a fixed one. Make this the default, being sure not to change existing users. The unit tests require BLOBLIST_FIXED so add a dependency in the Makefile to avoid build errors. All sandbox builds require BLOBLIST_FIXED so make that the default for sandbox. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
6f1b27a724
commit
864106f3c4
7 changed files with 11 additions and 0 deletions
|
@ -1047,6 +1047,8 @@ if BLOBLIST
|
|||
|
||||
choice
|
||||
prompt "Bloblist location"
|
||||
default BLOBLIST_FIXED if SANDBOX
|
||||
default BLOBLIST_ALLOC
|
||||
help
|
||||
Select the location of the bloblist, via various means.
|
||||
|
||||
|
|
|
@ -36,6 +36,7 @@ CONFIG_DEFAULT_FDT_FILE="rockchip/rk3399-gru-bob.dtb"
|
|||
CONFIG_DISPLAY_BOARDINFO_LATE=y
|
||||
CONFIG_BOARD_EARLY_INIT_R=y
|
||||
CONFIG_BLOBLIST=y
|
||||
CONFIG_BLOBLIST_FIXED=y
|
||||
CONFIG_BLOBLIST_ADDR=0x100000
|
||||
CONFIG_BLOBLIST_SIZE=0x1000
|
||||
CONFIG_SPL_MAX_SIZE=0x1e000
|
||||
|
|
|
@ -44,6 +44,7 @@ CONFIG_LOGF_FUNC=y
|
|||
CONFIG_DISPLAY_BOARDINFO_LATE=y
|
||||
CONFIG_BLOBLIST=y
|
||||
# CONFIG_TPL_BLOBLIST is not set
|
||||
CONFIG_BLOBLIST_FIXED=y
|
||||
CONFIG_BLOBLIST_ADDR=0x100000
|
||||
CONFIG_BLOBLIST_SIZE=0x30000
|
||||
CONFIG_SPL_NO_BSS_LIMIT=y
|
||||
|
|
|
@ -37,6 +37,7 @@ CONFIG_DEFAULT_FDT_FILE="rockchip/rk3399-gru-kevin.dtb"
|
|||
CONFIG_DISPLAY_BOARDINFO_LATE=y
|
||||
CONFIG_BOARD_EARLY_INIT_R=y
|
||||
CONFIG_BLOBLIST=y
|
||||
CONFIG_BLOBLIST_FIXED=y
|
||||
CONFIG_BLOBLIST_ADDR=0x100000
|
||||
CONFIG_BLOBLIST_SIZE=0x1000
|
||||
CONFIG_SPL_MAX_SIZE=0x1e000
|
||||
|
|
|
@ -34,6 +34,7 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y
|
|||
CONFIG_DISPLAY_BOARDINFO_LATE=y
|
||||
CONFIG_MISC_INIT_R=y
|
||||
CONFIG_BLOBLIST=y
|
||||
CONFIG_BLOBLIST_FIXED=y
|
||||
CONFIG_BLOBLIST_ADDR=0xff7c0000
|
||||
CONFIG_BLOBLIST_SIZE=0x1000
|
||||
CONFIG_SPL_NO_BSS_LIMIT=y
|
||||
|
|
|
@ -34,6 +34,7 @@ CONFIG_SPL_LOG=y
|
|||
CONFIG_DISPLAY_BOARDINFO_LATE=y
|
||||
CONFIG_PCI_INIT_R=y
|
||||
CONFIG_BLOBLIST=y
|
||||
CONFIG_BLOBLIST_FIXED=y
|
||||
CONFIG_BLOBLIST_ADDR=0x10000
|
||||
CONFIG_SPL_NO_BSS_LIMIT=y
|
||||
CONFIG_SPL_BOARD_INIT=y
|
||||
|
|
|
@ -1,9 +1,13 @@
|
|||
# SPDX-License-Identifier: GPL-2.0+
|
||||
obj-y += cmd_ut_common.o
|
||||
obj-$(CONFIG_AUTOBOOT) += test_autoboot.o
|
||||
|
||||
ifneq ($(CONFIG_$(XPL_)BLOBLIST),)
|
||||
ifdef CONFIG_BLOBLIST_FIXED
|
||||
obj-$(CONFIG_$(XPL_)CMDLINE) += bloblist.o
|
||||
endif
|
||||
endif
|
||||
|
||||
obj-$(CONFIG_CYCLIC) += cyclic.o
|
||||
obj-$(CONFIG_EVENT_DYNAMIC) += event.o
|
||||
obj-y += cread.o
|
||||
|
|
Loading…
Add table
Reference in a new issue