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
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
31 Oct, 2017
1 commit
-
On Vybrid SoCs U-Boot gets loaded into GFX SRAM which is 512KiB.
Currently 32KiB is reserved for the IMX header. However, this is
not reflected in the size limit. In v2017.11-rc2 the actual size
limit (512KiB-32KiB) has been reached for Colibri VF61, which
lead to a successful build of U-Boot but not a working binary.The IMX header is much smaller than 32KiB, typically around 1KiB.
Decrease the reserved size to 4KiB and specify the correct U-Boot
size limit. Apply this new base address and limit for all Vybrid
based boards.Signed-off-by: Stefan Agner
04 Sep, 2017
4 commits
-
This commit removes definitions of CONFIG_SYS_BARGSIZE defined to be
equal to CONFIG_SYS_CBSIZE in numerous configuration files.We remove such definitions in two situations:
- CONFIG_SYS_CBSIZE is otherwise not defined in the board
configuration file, which means the default value of
CONFIG_SYS_CBSIZE == 256 applies. In this case, the default value
of CONFIG_SYS_BARGSIZE == 512 (common/image.c) is suitable, as it is
larger.- CONFIG_SYS_CBSIZE is defined in the board configuration file, but
to a value equal or less than 512. In this case, the default value
of CONFIG_SYS_BARGSIZE == 512 (common.image.c) is suitable, as it
is equal or larger.Signed-off-by: Thomas Petazzoni
Reviewed-by: Tom Rini -
Now that include/config_fallbacks.h define a sane fallback for
CONFIG_SYS_MAXARGS, we can drop the definition of this constant in all
configurations that were using the default value.Signed-off-by: Thomas Petazzoni
Reviewed-by: Tom Rini -
Now that the fallback value of CONFIG_SYS_PBSIZE in
include/config_fallbacks.h has been adjusted, remove its definition
from a large number of board configuration files.Signed-off-by: Thomas Petazzoni
Reviewed-by: Tom Rini -
Now that include/config_fallbacks.h define a sane fallback for
CONFIG_SYS_CBSIZE, we can drop the definition of this constant in all
configurations that were using the default value.Signed-off-by: Thomas Petazzoni
Reviewed-by: Tom Rini
[trini: Drop from stih410-b2260.h]
Signed-off-by: Tom Rini
08 Aug, 2017
2 commits
-
Signed-off-by: Alexandru Gagniuc
Acked-by: Joe Hershberger -
Signed-off-by: Alexandru Gagniuc
Acked-by: Joe Hershberger
01 Aug, 2017
1 commit
-
Migrate all remaining instances of CMD_NAND, CMD_NAND_TRIMFFS
CMD_NAND_LOCK_UNLOCK and CMD_NAND_TORTURE from the headers into the
defconfig files.Tested-by: Adam Ford
Signed-off-by: Tom Rini
Reviewed-by: Bin Meng
25 Jul, 2017
1 commit
-
The above CONFIG options are in Kconfig, and now have correct depends and
inter-dependencies. Migrate these to configs/ from include/configs/. In the
case of CMD_UBIFS also change it to be a default y if CMD_UBI.Signed-off-by: Tom Rini
22 May, 2017
1 commit
-
This converts the following to Kconfig:
CONFIG_CMD_FUSESigned-off-by: Simon Glass
07 Apr, 2017
1 commit
-
With d53ecad92f06 some unused interrupt related code was removed.
However all of these options are currently unused. Rather than migrate
some of these options to Kconfig we just remove the code in question.The only related code changes here are that in some cases we use
CONFIG_STACKSIZE in non-IRQ related context. In these cases we rename
and move the value local to the code in question.Fixes: d53ecad92f06 ("Merge branch 'master' of git://git.denx.de/u-boot-sunxi")
Signed-off-by: Tom Rini
20 Mar, 2017
3 commits
-
Signed-off-by: Tom Rini
Conflicts:
configs/bk4r1_defconfig
configs/colibri_vf_defconfig
configs/pcm052_defconfig
include/configs/colibri_vf.h
include/configs/pcm052.h -
Move this in to Kconfig with a default of 115200.
Signed-off-by: Philipp Tomsich
[trini: Run moveconfig.py, reword commit slightly]
Signed-off-by: Tom Rini -
Move Freescale/NXP Vybrid to a standard arch/board approach, similar
to what has been done to i.MX 6 earlier in commit 89ebc82137be ("ARM:
mx6: move to a standard arch/board approach").Signed-off-by: Stefan Agner
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
31 Jan, 2017
1 commit
-
Now, CONFIG_GENERIC_MMC seems equivalent to CONFIG_MMC.
Let's create an entry for "config GENERIC_MMC" with "default MMC",
then convert all macro defines in headers to Kconfig. Almost all
of the defines will go away.I see only two exceptions:
configs/blanche_defconfig
configs/sandbox_noblk_defconfigThey define CONFIG_GENERIC_MMC, but not CONFIG_MMC. Something
might be wrong with these two boards, so should be checked later.Anyway, this is the output of the moveconfig tool.
This commit was created as follows:
[1] create a config entry in drivers/mmc/Kconfig
[2] tools/moveconfig.py -r HEAD GENERIC_MMC
[3] manual clean-up of garbage comments in doc/README.* and
include/configs/*.hSigned-off-by: Masahiro Yamada
Reviewed-by: Tom Rini
28 Jan, 2017
1 commit
-
Signed-off-by: Patrick Delaunay
Signed-off-by: Patrick Delaunay
26 Jan, 2017
1 commit
-
This converts the following to Kconfig:
CONFIG_BOARD_EARLY_INIT_FSigned-off-by: Simon Glass
05 Jan, 2017
1 commit
-
Add option SYS_FSL_ERRATUM_ESDHC111, SYS_FSL_ERRATUM_ESDHC13,
SYS_FSL_ERRATUM_ESDHC135, SYS_FSL_ERRATUM_ESDHC_A001 to mmc Kconfig.
Move existing macros to related Kconfig.Signed-off-by: York Sun
[trini: Migrate bk4r1]
Signed-off-by: Tom Rini
30 Dec, 2016
1 commit
-
Commit 7a777f6d6f35 ("mmc: Add generic Kconfig option") created
a Kconfig entry for this option without any actual moves, then
commit 44c798799f66 ("sunxi: Use Kconfig CONFIG_MMC") moved
instances only for SUNXI.We generally do not like such partial moves. This kind of work
is automated by tools/moveconfig.py, so it is pretty easy to
complete this move.I am adding "default ARM || PPC || SANDBOX" (suggested by Tom).
This shortens the configs and will ease new board porting.This commit was created as follows:
[1] Edit Kconfig (remove the "depends on", add the "default",
copy the prompt and help message from Linux)[2] Run 'tools/moveconfig.py -y -s -r HEAD MMC'
Signed-off-by: Masahiro Yamada
Reviewed-by: Jaehoon Chung
16 Dec, 2016
1 commit
-
Move USE_ARCH_MEMCPY/MEMSET options to Kconfig.
Make it "default y" for the ARMv7 architecture and make it
depend on !ARM64 && !SPL.Signed-off-by: Fabio Estevam
12 Oct, 2016
2 commits
-
Create a Kconfig entry for DISPLAY_BOARDINFO and make it be the default
in certain architectures. Migrate all config files.Signed-off-by: Lokesh Vutla
Signed-off-by: Tom Rini -
Create a Kconfig entry for DISPLAY_CPUINFO and make it be the default
in certain architectures. Migrate all config files.Signed-off-by: Lokesh Vutla
Signed-off-by: Tom Rini
27 Sep, 2016
1 commit
-
move the UBI config options into Kconfig.
Signed-off-by: Heiko Schocher
Reviewed-by: Simon Glass
Reviewed-by: Andrew F. Davis
Reviewed by: Evgeni Dobrev
27 Aug, 2016
1 commit
-
This series moves the CONFIG_SYS_CACHELINE_SIZE. First, in nearly all
cases we are mirroring the values used by the Linux Kernel here. Also,
so long as (and in this case, it is true) we implement flushes in hunks
that are no larger than the smallest implementation (and given that we
mirror the Linux Kernel, again we are fine) it is OK to align higher.
The biggest changes here are that we always use 64 bytes for CPU_V7 even
if for example the underlying core is only 32 bytes (this mirrors
Linux). Second, we say ARM64 uses 64 bytes not 128 (as found in the
Linux Kernel) as we do not need multi-platform support (to this degree)
and only the Cavium ThunderX 88xx series has a use for such large
alignment.Cc: Albert Aribaud
Cc: Marek Vasut
Cc: Stefano Babic
Cc: Prafulla Wadaskar
Cc: Luka Perkov
Cc: Stefan Roese
Cc: Nagendra T S
Cc: Vaibhav Hiremath
Acked-by: Lokesh Vutla
Cc: Steve Rae
Cc: Igor Grinberg
Cc: Nikita Kiryanov
Cc: Stefan Agner
Acked-by: Heiko Schocher
Cc: Mateusz Kulikowski
Cc: Peter Griffin
Acked-by: Paul Kocialkowski
Cc: Anatolij Gustschin
Acked-by: "Pali Rohár"
Cc: Adam Ford
Cc: Steve Sakoman
Cc: Grazvydas Ignotas
Cc: Nishanth Menon
Cc: Stephen Warren
Cc: Robert Baldyga
Cc: Minkyu Kang
Cc: Thomas Weber
Cc: Masahiro Yamada
Cc: David Feng
Cc: Alison Wang
Cc: Michal Simek
Cc: Simon Glass
Cc: York Sun
Cc: Shengzhou Liu
Cc: Mingkai Hu
Cc: Prabhakar Kushwaha
Cc: Aneesh Bansal
Cc: Saksham Jain
Cc: Qianyu Gong
Cc: Wang Dongsheng
Cc: Alex Porosanu
Cc: Hongbo Zhang
Cc: tang yuantian
Cc: Rajesh Bhagat
Cc: Josh Wu
Cc: Bo Shen
Cc: Viresh Kumar
Cc: Hannes Schmelzer
Cc: Thomas Chou
Cc: Joe Hershberger
Cc: Sam Protsenko
Cc: Bin Meng
Cc: Christophe Ricard
Cc: Anand Moon
Cc: Beniamino Galvani
Cc: Carlo Caione
Cc: huang lin
Cc: Sjoerd Simons
Cc: Xu Ziyuan
Cc: "jk.kernel@gmail.com"
Cc: "Ariel D'Alessandro"
Cc: Kever Yang
Cc: Samuel Egli
Cc: Chin Liang See
Cc: Dinh Nguyen
Cc: Hans de Goede
Cc: Ian Campbell
Cc: Siarhei Siamashka
Cc: Boris Brezillon
Cc: Andre Przywara
Cc: Bernhard Nortmann
Cc: Wolfgang Denk
Cc: Ben Whitten
Cc: Tom Warren
Cc: Alexander Graf
Cc: Sekhar Nori
Cc: Vitaly Andrianov
Cc: "Andrew F. Davis"
Cc: Murali Karicheri
Cc: Carlos Hernandez
Cc: Ladislav Michl
Cc: Ash Charles
Cc: Mugunthan V N
Cc: Daniel Allred
Cc: Gong Qianyu
Signed-off-by: Tom Rini
Acked-by: Masahiro Yamada
Acked-by: Chin Liang See
Tested-by: Stephen Warren
Acked-by: Paul Kocialkowski
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
1 commit
-
Move this option to Kconfig and tidy up existing boards.
Signed-off-by: Simon Glass
03 Feb, 2016
1 commit
-
Remove the legacy way of enabling GPIO, SPI and UART on Vybrid
based boards since these driver's now only supports DT mode.Signed-off-by: Bhuvanchandra DV
Acked-by: Stefan Agner
Reviewed-by: Bin Meng
31 Jan, 2016
1 commit
-
Some armv7 targets are missing a cache line size declaration.
In preparation for "arm: cache: Implement cache range check for v7"
patch, add these declarations with the appropriate value for
the target's SoC or CPU.Signed-off-by: Albert ARIBAUD
Reviewed-by: Tom Rini
21 Jan, 2016
1 commit
-
LPUART is seen on Freescale VF610 and QorIQ Layerscape devices.
Create a Kconfig option and move it to defconfig for all boards
that have this serial driver.Signed-off-by: Bin Meng
Reviewed-by: Simon Glass
Acked-by: Stefan Agner
Acked-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
30 Oct, 2015
1 commit
-
For most PPC platforms, they will call the first get_clocks() in
init_sequence_f[] as they define CONFIG_PPC. CONFIG_SYS_FSL_CLK is
then defined to call the second get_clocks(), which should be
redundant for PPC.Signed-off-by: Gong Qianyu
Reviewed-by: York Sun
25 Oct, 2015
1 commit
-
get_clocks() should not be limited by ESDHC.
Signed-off-by: Gong Qianyu