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
22 May, 2017
1 commit
-
This converts the following to Kconfig:
CONFIG_CMD_ETHSWAlso enable it for sandbox to increase build coverage.
Signed-off-by: Simon Glass
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
05 Jan, 2017
1 commit
-
Create driver/ddr/fsl/Kconfig and move existing options. Clean up
existing macros.Signed-off-by: York Sun
[trini: Migrate sbc8641d, xpedite537x and MPC8536DS, run a moveconfig.py -s]
Signed-off-by: Tom Rini
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
4 commits
-
CONFIG_T104xRDB is defined in T104xRDB.h, so it is always enabled for
all T1040RDB, T1040D4RDB, T1042RDB, T1042D4RDB, T1042RDB_PI.
CONFIG_T104XD4RDB is defined for all T1040D4RDB, T1042D4RDB.Signed-off-by: York Sun
-
Use TARGET_T1040D4RDB in Kconfig to simplify config macros. Replace
CONFIG_T1040D4RDB with TARGET_T1040D4RDB and clean up existing macros.Signed-off-by: York Sun
-
Replace CONFIG_PPC_T1040 with ARCH_T1040 in Kconfig and clean up
existing macros.Signed-off-by: York Sun
-
Split ARCH_T104XRDB as ARCH_T1040RDB and ARCH_T1042RDB in Kconfig to
simplify config options.Signed-off-by: York Sun
24 Oct, 2016
2 commits
-
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 -
Move these option to Kconfig and tidy up existing uses.
The Power PC boards don't have a suitable common element: the common header
files don't appear to line up with the Kconfig files as far as I can tell.
This results in a lot of defconfig changes.Signed-off-by: Simon Glass
Reviewed-by: Jagan Teki
[trini: Re-migrate, update common/console.c logic]
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
09 Sep, 2016
1 commit
-
Signed-off-by: Tom Rini
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
2 commits
-
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
-
There are already Kconfig options for SPI 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
22 Nov, 2015
1 commit
-
Move CONFIG_SYS_NS16550 to Kconfig, and run moveconfig.py.
Signed-off-by: Thomas Chou
22 Aug, 2015
2 commits
-
Move config for the E1000 Ethernet driver to Kconfig and tidy up affected
boards.Signed-off-by: Simon Glass
Acked-by: Joe Hershberger -
Several files are out of order. This means that when the moveconfig tool
moves CONFIG options to Kconfig it generates a large diff. To avoid this,
reorder the files first.Signed-off-by: Simon Glass
29 Jul, 2015
1 commit
-
defconfig files are added and SFP version for these platforms
is updated.Signed-off-by: Gaurav Rana
Reviewed-by: York Sun