23 Feb, 2019
1 commit
-
This is the same migration path as commit b6251db8c3f0 ("Kconfig:
Introduce USE_BOOTCOMMAND and migrate BOOTCOMMAND").I also moved the description in README to the Kconfig help.
I ripped off the sentence about 'LWMON' since it is gone already.I only let my boards migrate, leaving the rest to platform maintainers.
Signed-off-by: Masahiro Yamada
20 Feb, 2019
2 commits
-
At present the default log level is set to LOGL_INFO on start-up. Allow
this to be controlled from Kconfig.Signed-off-by: Simon Glass
Reviewed-by: Bin Meng -
The log level numbers in the Kconfig are not actually correct. Fix them
and also add a missing space in the header-file comment.Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
10 Feb, 2019
1 commit
-
This converts the following to Kconfig:
CONFIG_BOARD_TYPESSigned-off-by: Simon Glass
Reviewed-by: Lukasz Majewski
Acked-by: Alexey Brodkin
Reviewed-by: Minkyu Kang
19 Jan, 2019
1 commit
-
The bounce buffer is used by a few drivers (most of the MMC drivers)
to overcome limitations in their respective DMA implementation.This moves the configuration to Kconfig and makes it user-selectable
(even though it will be a required feature to make those drivers
work): the expected usage is for drivers depending on this to 'select'
it unconditionally from their respective Kconfig (see follow-up
patches).This commit includes a full migration using moveconfig.py to ensure
that each commit compiles. To ensure bisectability we update
dependencies of various drivers to now select BOUNCE_BUFFER when needed.[trini: Squash all patches to ensure bisectability]
Signed-off-by: Tom Rini
Signed-off-by: Philipp Tomsich
Reviewed-by: Otavio Salvador [dw_mmc portion]
Reviewed-by: Fabio Estevam [mxsmmc portion]
Reviewed-by: Simon Glass [tegra portion]
16 Jan, 2019
1 commit
-
Signed-off-by: Chris Packham
Reviewed-by: Simon Glass
26 Nov, 2018
2 commits
-
At present there is no standard way in U-Boot to pass information from SPL
to U-Boot proper. But sometimes SPL wants to convey information to U-Boot
that U-Boot cannot easily figure out. For example, if SPL sets up SDRAM
then it might want to pass the size of SDRAM, or the location of each
bank, to U-Boot proper.Add a new 'bloblist' feature which provides this. A bloblist is set up in
the first phase of U-Boot that runs (i.e. TPL or SPL). The location of
this info may be in SRAM or CAR (x86 cache-as-RAM) or somewhere else.Information placed in this region is preserved (with a checksum) through
TPL and SPL and ends up in U-Boot. At this point it is copied into SDRAM
so it can be used after relocation.Reviewed-by: Tom Rini
Signed-off-by: Simon Glass
Acked-by: Andreas Dannenberg -
It is sometimes useful to log information in SPL and TPL. Add support for
this.Reviewed-by: Tom Rini
Signed-off-by: Simon Glass
21 Nov, 2018
1 commit
-
At present these features are supported in SPL but not TPL. Update the
Kconfig and Makefile to allow this.Also add a few Makefile comments to make earier to track what is going on.
Signed-off-by: Simon Glass
05 Oct, 2018
1 commit
-
With implemented print_cpuinfo() and model property in .dts
we're ready to print nice info about ARC cores and boards on boot.Signed-off-by: Alexey Brodkin
29 Sep, 2018
1 commit
-
This converts the following to Kconfig:
CONFIG_DISABLE_CONSOLESigned-off-by: Christian Gmeiner
26 Sep, 2018
1 commit
-
Disable BOARD_LATE_INIT via Kconfig.
Signed-off-by: Michal Simek
25 Aug, 2018
1 commit
-
Avoid below compiler [1] errors, reproduced with configuration [2]:
common/avb_verify.c: In function ‘get_unique_guid_for_partition’:
common/avb_verify.c:692:31: error: ‘disk_partition_t {aka struct disk_partition}’ has no member named ‘uuid’
uuid_size = sizeof(part->info.uuid);
^
common/avb_verify.c:696:29: error: ‘disk_partition_t {aka struct disk_partition}’ has no member named ‘uuid’
memcpy(guid_buf, part->info.uuid, uuid_size);
^
LD drivers/built-in.o
make[2]: *** [scripts/Makefile.build:278: common/avb_verify.o] Error 1[1] aarch64-linux-gnu-gcc (Linaro GCC 7.2-2017.11)
[2] r8a7795_ulcb_defconfig, plus:
CONFIG_AVB_VERIFY=y
CONFIG_PARTITION_UUIDS=y
CONFIG_UDP_FUNCTION_FASTBOOT=y
CONFIG_LIBAVB=ySigned-off-by: Eugeniu Rosca
Reviewed-by: Igor Opaniuk
18 Aug, 2018
1 commit
-
This converts the following to Kconfig:
CONFIG_MISC_INIT_RSigned-off-by: Adam Ford
[trini: Update the defaults logic slightly]
Signed-off-by: Tom Rini
30 Jul, 2018
1 commit
-
Better use depends on instead of select.
Signed-off-by: Michal Simek
Reviewed-by: Tom Rini
24 Jul, 2018
1 commit
-
1. Since libavb library alone is highly portable, introduce dedicated
Kconfig symbol for AVB bootloader-dependent operations, so it's possible
to build libavb separately. AVB bootloader-dependent operations include:
* Helpers to process strings in order to build OS bootargs.
* Helpers to access MMC, similar to drivers/fastboot/fb_mmc.c.
* Helpers to alloc/init/free avb ops.
2. Add CONFIG_FASTBOOT dependency, as fastboot buffer is
re-used in partition verification operations.Reported-by: Eugeniu Rosca
Signed-off-by: Igor Opaniuk
Reviewed-by: Eugeniu Rosca
Tested-by: Eugeniu Rosca
22 Jul, 2018
1 commit
-
Some boards indicate support from booting NAND or
ONENAND booting, but don't enable the CONFIG_NAND. This
makes those boards imply NAND which will make
enabling other flags that are dependent on CONFIG_NAND
possible and easier to migrate.Signed-off-by: Adam Ford
21 Jul, 2018
1 commit
-
Extend BOOTDELAY help text to cover its additional usage within the
bootmenu command.Signed-off-by: Alex Kiernan
28 Apr, 2018
1 commit
-
Compling with CONFIG_LOG and without CONFIG_DM results in
common/log.c:47: undefined reference to `uclass_get_name'Signed-off-by: Heinrich Schuchardt
Reviewed-by: Simon Glass
09 Apr, 2018
3 commits
-
Migrate the CONFIG_DISPLAY_BOARDINFO_LATE option to Kconfig.
Signed-off-by: Mario Six
[trini: Re-run migration]
Signed-off-by: Tom Rini -
Migrate the CONFIG_LAST_STAGE_INIT option to Kconfig.
Signed-off-by: Mario Six
-
Migrate the CONFIG_BOARD_EARLY_INIT_R option to Kconfig.
Signed-off-by: Mario Six
24 Feb, 2018
1 commit
-
This converts the following to Kconfig:
CONFIG_BOOTP_BOOTPATH
CONFIG_BOOTP_DNS
CONFIG_BOOTP_GATEWAY
CONFIG_BOOTP_HOSTNAME
CONFIG_BOOTP_PXE
CONFIG_BOOTP_SUBNETMASK
CONFIG_CMDLINE_EDITING
CONFIG_AUTO_COMPLETE
CONFIG_SYS_LONGHELP
CONFIG_SUPPORT_RAW_INITRD
CONFIG_ENV_VARS_UBOOT_CONFIGSigned-off-by: Adam Ford
[trini: Re-run the migration]
Signed-off-by: Tom Rini
14 Feb, 2018
1 commit
-
Convert the CONFIG_UPDATE_TFTP and related symbols to Kconfig.
Signed-off-by: Marek Vasut
Cc: Tom Rini
04 Feb, 2018
1 commit
-
When functions return an error it propagates up the stack to the point
where it is reported. Often the error code provides enough information
about the root cause of the error that this is obvious what went wrong.However in some cases the error may be hard to trace. For example if a
driver uses several devices to perform an operation, it may not be
obvious which one failed.Add a log_ret() macro to help with this. This can be used to wrap any
error-return value. The logging system will then output a log record when
the original error is generated, making it easy to trace the call stack
of the error.This macro can significantly impact code size, so its use is controlled
by a Kconfig option, which is enabled for sandbox.Signed-off-by: Simon Glass
24 Jan, 2018
1 commit
-
Change all coldfire arch files to use CONFIG_DISPLAY_CPUINFO.
Signed-off-by: Angelo Dureghello
Reviewed-by: Tom Rini
---
Changes for v2:
- update common/Kconfig to add M68K to the default y list
08 Dec, 2017
3 commits
-
Add a command which exercises the logging system.
Signed-off-by: Simon Glass
-
It is useful to display log messages on the console. Add a simple driver
to handle this.Note that this driver outputs to the console, which may be serial or
video. It does not specifically select serial output.Signed-off-by: Simon Glass
Reviewed-by: Bin Meng -
Add the logging header file and implementation with some configuration
options to control it.Signed-off-by: Simon Glass
18 Nov, 2017
1 commit
-
We first introduce CONFIG_USE_BOOTCOMMAND, similar to
CONFIG_USE_BOOTARGS. We then migrate CONFIG_BOOTCOMMAND for most
CONFIG_DISTRO_DEFAULT users. In some cases platforms have a complex
scheme around this usage, and these have been defered for the moment so
that platform maintainers can work on a migration plan.Signed-off-by: Tom Rini
Reviewed-by: Lukasz Majewski
06 Oct, 2017
1 commit
-
CONFIG_FIT_EMBED might be confused with CONFIG_OF_EMBED, rename it
MULTI_DTB_FIT as it is able to get a DTB from a FIT image containing
multiple DTBs. Also move the option to the Kconfig dedicated to the DTS
options and create a README for this feature.Signed-off-by: Jean-Jacques Hiblot
Reviewed-by: Tom Rini
Reviewed-by: Simon Glass
05 Oct, 2017
1 commit
-
While this came in with a default value of 6 I am lowering this to 4.
The MTD/UBI code has a large number of error messages that we include
now. In addition, "normally" warning messages are not included so this
feels like a more natural level to have.Signed-off-by: Tom Rini
04 Oct, 2017
1 commit
-
When we import code from Linux, with regular re-sync planned, we want
to use printk() and pr_*(). U-Boot does not support them in a clean
way. So, people end up with local macros, or compat headers here and
there, then we occasionally see build errors of definition conflicts.We have include/linux/compat.h, but putting all sorts of unrelated
things into a single header is just a temporal workaround. Hence this
patch, to find the best home for all printk variants. If you want to
use printk() and friends, please include . This header
is self-contained, and pulls in only a few headers.When I was testing this clean-up, I noticed the image size exceeded
its platform limit on some boards. This is because all pr_*() that
were previously defined as no-op in include/linux/mtd/mtd.h (unless
CONFIG_MTD_DEBUG is set), are now enabled.To make such boards happy, this commit also implements CONFIG_LOGLEVEL.
The concept is similar to the kernel parameter "loglevel". (Actually,
the Kconfig help message was taken from kernel-paremeter.txt of Linux)
Messages with a loglevel smaller than console loglevel will be printed.The difference is the loglevel is build-time determined. To save the
image size, lower priority pr_*() are compiled out. I set the default
of CONFIG_LOGLEVEL to 6, i.e. pr_notice and higher priority messages
are compiled in.I adjusted CONFIG_LOGLEVEL to avoid build error for some boards.
Signed-off-by: Masahiro Yamada
[trini: Add in SPL_LOGLEVEL that is the same as LOGLEVEL]
Signed-off-by: Tom Rini
16 Sep, 2017
2 commits
-
With SPL we often have limited memory and do not need very many bootstage
records. Add a separate Kconfig option for SPL.Signed-off-by: Simon Glass
Reviewed-by: Bin Meng -
The CONFIG_BOOTSTAGE_USER_COUNT option is no-longer needed since we can now
support any number of user IDs. Also BOOTSTAGE_ID_COUNT is not needed now.Drop these unused options.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
15 Aug, 2017
2 commits
-
About a quarter of the files in common/ relate to the environment. It
seems better to put these into their own subdirectory and remove the
prefix.Signed-off-by: Simon Glass
Reviewed-by: Tom Rini -
Also introduce CONFIG_USE_BOOTARGS option so we can control if
CONFIG_BOOTARGS defined at all.Signed-off-by: Sam Protsenko
[trini: Resync r8a779[56]_ulcb, various ls10xx targets]
Signed-off-by: Tom Rini
01 Aug, 2017
2 commits
-
This is architecture-dependent early initialization hence should
be put in the platform Kconfig.Signed-off-by: Bin Meng
Reviewed-by: Andy Shevchenko
Reviewed-by: Simon Glass -
CONFIG_BOARD_EARLY_INIT_F literally indicates board-specific codes
and should be not 'default y' for all x86 boards.Signed-off-by: Bin Meng
Reviewed-by: Andy Shevchenko
Reviewed-by: Simon Glass
31 Jul, 2017
1 commit
-
We rename the various FAT_ENV_xxx options to CONFIG_ENV_FAT_xxx so that
they can be modified via Kconfig. Migrate all existing users to the new
values.Signed-off-by: Tom Rini