05 Dec, 2019
2 commits
-
Rsync all defconfig files using moveconfig.py
Signed-off-by: Tom Rini
-
Both symbols must be enabled when there is a raw NAND driver
selected. Also enable them when CONFIG_CMD_NAND is selected to avoid
breaking things when we'll further rework the MTD dependency
description.Signed-off-by: Miquel Raynal
Reviewed-by: Boris Brezillon
[trini: Rebase and migrate a few more boards here]
Signed-off-by: Tom Rini
21 Nov, 2019
2 commits
-
- In ARMv8 NXP Layerscape platforms we also need to make use of
CONFIG_SYS_RELOC_GD_ENV_ADDR now, do so.
- On ENV_IS_IN_REMOTE, CONFIG_ENV_OFFSET is never used, drop the define
to 0.
- Add Kconfig entry for ENV_ADDR.
- Make ENV_ADDR / ENV_OFFSET depend on the env locations that use it.
- Add ENV_xxx_REDUND options that depend on their primary option and
SYS_REDUNDAND_ENVIRONMENT
- On a number of PowerPC platforms, use SPL_ENV_ADDR not CONFIG_ENV_ADDR
for the pre-main-U-Boot environment location.
- On ENV_IS_IN_SPI_FLASH, check not for CONFIG_ENV_ADDR being set but
rather it being non-zero, as it will now be zero by default.
- Rework the env_offset absolute in env/embedded.o to not use
CONFIG_ENV_OFFSET as it was the only use of ENV_OFFSET within
ENV_IS_IN_FLASH.
- Migrate all platforms.Cc: Wolfgang Denk
Cc: Joe Hershberger
Cc: Patrick Delaunay
Cc: uboot-stm32@st-md-mailman.stormreply.com
Signed-off-by: Tom Rini
Acked-by: Joe Hershberger
Reviewed-by: Simon Goldschmidt -
Today in initr_reloc_global_data() we use some non-obvious tests to
determine if we need to relocate the env_addr within gd or not. In
order to facilitate migration of other symbols to Kconfig we need to
introduce a new symbol for this particular use case.Cc: Wolfgang Denk
Cc: Joe Hershberger
Signed-off-by: Tom Rini
08 Nov, 2019
1 commit
-
Rename the CONFIG_SECURE_BOOT name to CONFIG_NXP_ESBC to avoid
conflicts with UEFI secure boot.Signed-off-by: Udit Agarwal
Signed-off-by: Priyanka Jain
26 Mar, 2019
1 commit
-
This converts the following to Kconfig:
CONFIG_SF_DEFAULT_BUS
CONFIG_SF_DEFAULT_CS
CONFIG_SF_DEFAULT_MODE
CONFIG_SF_DEFAULT_SPEEDI use moveconfig script and then manual check on generated u-boot.cfg
to solve the remaining issue.Signed-off-by: Patrick Delaunay
20 Oct, 2018
1 commit
-
This converts the following to Kconfig:
CONFIG_FLASH_CFI_DRIVER
CONFIG_SYS_FLASH_USE_BUFFER_WRITE
CONFIG_FLASH_CFI_MTD
CONFIG_SYS_FLASH_PROTECTION
CONFIG_SYS_FLASH_CFISigned-off-by: Adam Ford
[trini: Re-migrate]
Signed-off-by: Tom Rini
18 Aug, 2018
1 commit
-
This converts the following to Kconfig:
CONFIG_MII
CONFIG_DRIVER_TI_EMACSigned-off-by: Adam Ford
Acked-by: Jagan Teki
Acked-by: Joe Hershberger
15 May, 2018
1 commit
-
The CONFIG_PHY_MARVELL has already been migrated to Kconfig (some boards
already had it in their Kconfig), but had not been moved for older
boards.Move it to the defconfigs for all boards.
Signed-off-by: Mario Six
Acked-by: Joe Hershberger
28 Apr, 2018
1 commit
-
This converts the following to Kconfig:
CONFIG_SPIThis partly involves updating code that assumes that CONFIG_SPI implies
things that are specific to the MPC8xx SPI driver. For now, just update
the CONFIG tests. This also involves reworking the default for
CONFIG_SYS_DEF_EEPROM_ADDR so that we don't set it when we cannot make a
reasonable default, as it does not cause any compile failures.Signed-off-by: Adam Ford
Signed-off-by: Tom Rini
09 Apr, 2018
3 commits
-
Migrate the CONFIG_FSL_ESDHC option to Kconfig.
Signed-off-by: Mario Six
-
Migrate the CONFIG_TSEC_ENET option to Kconfig.
Signed-off-by: Mario Six
-
Migrate the CONFIG_BOARD_EARLY_INIT_R option to Kconfig.
Signed-off-by: Mario Six
11 Feb, 2018
1 commit
-
On the NIOS2 and Xtensa architectures, we do not have
CONFIG_SYS_TEXT_BASE set. This is a strict migration of the current
values into the defconfig and removing them from the headers.I did not attempt to add more default values in and for now will leave
that to maintainers.Signed-off-by: Tom Rini
06 Nov, 2017
1 commit
-
We move all instances of CONFIG_MTDIDS_DEFAULT and
CONFIG_MTDPARTS_DEFAULT from the header files to the defconfig files.
There's a few cases here where we need to expand upon what was in the
header file.Tested-by: Adam Ford #omap3_logic
Signed-off-by: Tom Rini
11 Oct, 2017
1 commit
-
Having this as a 'default y' is rather annoying because it doesn't
actually compile unless other options are defined in the board header:../cmd/bootm.c: In function 'do_imls_nor':
../cmd/bootm.c:330:7: error: 'CONFIG_SYS_MAX_FLASH_BANKS' undeclared (first use in this function); did you mean 'CONFIG_SYS_MAX_FLASH_SECT'?
i < CONFIG_SYS_MAX_FLASH_BANKS; ++i, ++info) {Make it 'default n' so people who develop new boards that start from a
blank defconfig have one less compilation failure to debug.Signed-off-by: Tuomas Tynkkynen
15 Aug, 2017
1 commit
-
Rsync all defconfig files using moveconfig.py
Signed-off-by: Tom Rini
09 Aug, 2017
1 commit
-
Reviewed-by: Joe Hershberger
Signed-off-by: Tom Rini
08 Aug, 2017
1 commit
-
Signed-off-by: Alexandru Gagniuc
Acked-by: Joe Hershberger
01 May, 2017
1 commit
-
Signed-off-by: Chris Packham
[trini: default y if DM_RTC, re-sync]
Signed-off-by: Tom Rini
10 Mar, 2017
1 commit
-
In some cases this is absolutely required, so select this for some secure
features. This also requires migration of RSA_FREESCALE_EXPCc: Ruchika Gupta
Cc: Poonam Aggrwal
Cc: Naveen Burmi
Cc: Po Liu
Cc: Shengzhou Liu
Cc: Priyanka Jain
Cc: Sumit Garg
Cc: Shaohui Xie
Cc: Chunhe Lan
Cc: Feng Li
Cc: Alison Wang
Cc: Mingkai Hu
Cc: York Sun
Cc: Saksham Jain
Cc: Prabhakar Kushwaha
Signed-off-by: Tom Rini
13 Feb, 2017
1 commit
-
We repeated partial moves for CONFIG_SYS_NO_FLASH, but this is
not completed. Finish this work by the tool.During this move, let's rename it to CONFIG_MTD_NOR_FLASH.
Actually, we have more instances of "#ifndef CONFIG_SYS_NO_FLASH"
than those of "#ifdef CONFIG_SYS_NO_FLASH". Flipping the logic will
make the code more readable. Besides, negative meaning symbols do
not fit in obj-$(CONFIG_...) style Makefiles.This commit was created as follows:
[1] Edit "default n" to "default y" in the config entry in
common/Kconfig.[2] Run "tools/moveconfig.py -y -r HEAD SYS_NO_FLASH"
[3] Rename the instances in defconfigs by the following:
find . -path './configs/*_defconfig' | xargs sed -i \
-e '/CONFIG_SYS_NO_FLASH=y/d' \
-e 's/# CONFIG_SYS_NO_FLASH is not set/CONFIG_MTD_NOR_FLASH=y/'[4] Change the conditionals by the following:
find . -name '*.[ch]' | xargs sed -i \
-e 's/ifndef CONFIG_SYS_NO_FLASH/ifdef CONFIG_MTD_NOR_FLASH/' \
-e 's/ifdef CONFIG_SYS_NO_FLASH/ifndef CONFIG_MTD_NOR_FLASH/' \
-e 's/!defined(CONFIG_SYS_NO_FLASH)/defined(CONFIG_MTD_NOR_FLASH)/' \
-e 's/defined(CONFIG_SYS_NO_FLASH)/!defined(CONFIG_MTD_NOR_FLASH)/'[5] Modify the following manually
- Rename the rest of instances
- Remove the description from README
- Create the new Kconfig entry in drivers/mtd/Kconfig
- Remove the old Kconfig entry from common/Kconfig
- Remove the garbage comments from include/configs/*.hSigned-off-by: Masahiro Yamada
26 Jan, 2017
1 commit
-
This converts the following to Kconfig:
CONFIG_BOARD_EARLY_INIT_FSigned-off-by: Simon Glass
24 Jan, 2017
1 commit
-
This option should not really be user selectable. Note that on PowerPC
we currently only need BOARD_LATE_INIT when CHAIN_OF_TRUST is enabled so be
conditional on that.Signed-off-by: Tom Rini
Acked-by: Masahiro Yamada (for UniPhier)
22 Jan, 2017
1 commit
-
Cc: Tom Rini
Signed-off-by: Jagan Teki
30 Dec, 2016
1 commit
-
Generated by "tools/moveconfig -s".
This will make config moves easier.
Signed-off-by: Masahiro Yamada
03 Dec, 2016
1 commit
-
Move from CONFIG_SYS_EXTRA_OPTIONS to Kconfig option.
Signed-off-by: York Sun
24 Nov, 2016
1 commit
-
Remove CONFIG_P1010RDB_PA and CONFIG_P1010RDB_PB and split TARGET_P1010RDB
to TARGET_P1010RDB_PA and TARGET_P1010RDB_PB in Kconfig.Signed-off-by: York Sun
24 Oct, 2016
1 commit
-
This converts the following to Kconfig:
CONFIG_SYS_CONSOLE_IS_IN_ENV
CONFIG_CONSOLE_MUXSigned-off-by: Simon Glass
[trini: Re-order, re-migrate]
Signed-off-by: Tom Rini
17 Sep, 2016
1 commit
-
A few boards define this in a header file which is incorrect. It means that
Kconfig options that rely on this cannot be used. Move it.Signed-off-by: Simon Glass
10 Sep, 2016
1 commit
-
In some cases we were missing CONFIG_USB=y so enable that when needed.
Reviewed-by: Masahiro Yamada
Signed-off-by: Tom Rini
05 Aug, 2016
1 commit
-
We need to ensure that CONFIG_PHYS_64BIT is configured via Kconfig so
that it is always available to the build system. Otherwise we can run
into cases where we have inconsistent sizes of certain attributes.Ravi Babu reported offset mismatch of struct dwc3 across files since
commit 95ebc253e6d4 ("types.h: move and redefine resource_size_t").
Since the commit, resource_addr_t points to phys_addr_t, whose size
is dependent on CONFIG_PHYS_64BIT for ARM architecture.I tried my best to use "select" where possible (for example, ARMv8
architecture) because I think this kind of option is generally user-
unconfigurable. However, I see some of PowerPC boards have 36BIT
defconfigs as well as 32BIT ones. I moved CONFIG_PHYS_64BIT to the
defconfigs for such boards.CONFIG_36BIT is no longer referenced, so all of the defines were
removed from CONFIG_SYS_EXTRA_OPTIONS.Fixes: 95ebc253e6d4 ("types.h: move and redefine resource_size_t")
Signed-off-by: Masahiro Yamada
Reported-by: Ravi Babu
Acked-by: Stefan Roese
Reviewed-by: Tom Rini
Reviewed-by: York Sun
10 Jun, 2016
1 commit
-
move CONFIG_BOOTDELAY into a Kconfig option. Used for this
purpose the moveconfig.py tool in tools.Signed-off-by: Heiko Schocher
Reviewed-by: Tom Rini
Acked-by: Viresh Kumar
Acked-by: Igor Grinberg
26 Apr, 2016
3 commits
-
Update the config.h and defconfig files for the commands that 8e3c036
converted over to KconfigSigned-off-by: Tom Rini
-
This syncs up the current cmd/Kconfig and include/configs/ files with the
only exception being CMD_NAND. Due to how we have used this historically
we need to take further care here when converting.Signed-off-by: Tom Rini
-
Move all cases of CONFIG_SYS_HUSH_PARSER out of the config.h files. Remove
all cases of CONFIG_SYS_PROMPT_HUSH_PS2 as everyone uses the default.Signed-off-by: Tom Rini
15 Mar, 2016
3 commits
-
There are already two FIT options in Kconfig but the CONFIG options are
still in the header files. We need to do a proper move to fix this.Move these options to Kconfig and tidy up board configuration:
CONFIG_FIT
CONFIG_OF_BOARD_SETUP
CONFIG_OF_SYSTEM_SETUP
CONFIG_FIT_SIGNATURE
CONFIG_FIT_BEST_MATCH
CONFIG_FIT_VERBOSE
CONFIG_OF_STDOUT_VIA_ALIAS
CONFIG_RSAUnfortunately the first one is a little complicated. We need to make sure
this option is not enabled in SPL by this change. Also this option is
enabled automatically in the host builds by defining CONFIG_FIT in the
image.h file. To solve this, add a new IMAGE_USE_FIT #define which can
be used in files that are built on the host but must also build for U-Boot
and SPL.Note: Masahiro's moveconfig.py script is amazing.
Signed-off-by: Simon Glass
[trini: Add microblaze change, various configs/ re-applies]
Signed-off-by: Tom Rini -
Move this option to Kconfig and tidy up existing boards.
Signed-off-by: Simon Glass
-
Kconfig options must defined in the defconfig files. Since RSA_SOFTWARE_EXP
relies on CONFIG_DM, unless it is set in kconfig we cannot enable RSA.
Remove the hacks which enable CONFIG_DM in header files and update the
defconfig.Signed-off-by: Simon Glass
25 Nov, 2015
1 commit
-
There are already Kconfig options for SPI flash drivers, but we
have not moved them from config.h to defconfig files. This commit
does this in a batch.Signed-off-by: Bin Meng