08 Apr, 2017
2 commits
-
The default value of BOOTSTAGE_STASH_SIZE should be set to hexadecimal,
but an integer value is set. This fixes the BOOTSTAGE_STASH_SIZE number
from hexadecimal to integer.Signed-off-by: Nobuhiro Iwamatsu
07 Apr, 2017
1 commit
-
The environment location is something that might change per board
(depending on what storage options are availaible there) or depending on
the user choice (when we have several options).Instead of hardcoding it in our configuration header, create a Kconfig
choice with the options we use for now, and the symbols that depend on it.Once done, also remove the irrelevant sunxi defines.
Signed-off-by: Maxime Ripard
Reviewed-by: Tom Rini
Reviewed-by: Jagan Teki
06 Apr, 2017
2 commits
-
The SPARC architecture is currently unmaintained, remove.
Cc: Francois Retief
Signed-off-by: Tom Rini -
The architecture is currently unmaintained, remove.
Cc: Benjamin Matthews
Cc: Chong Huang
Cc: Dimitar Penev
Cc: Haitao Zhang
Cc: I-SYST Micromodule
Cc: M.Hasewinkel (MHA)
Cc: Marek Vasut
Cc: Martin Strubel
Cc: Peter Meerwald
Cc: Sonic Zhang
Cc: Valentin Yakovenkov
Cc: Wojtek Skulski
Cc: Wojtek Skulski
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
4 commits
-
Rather than having an arch-specific function, use the existing generic
one.Signed-off-by: Simon Glass
-
This converts the following to Kconfig:
CONFIG_ARCH_MISC_INITSigned-off-by: Simon Glass
-
This converts the following to Kconfig:
CONFIG_BOARD_EARLY_INIT_FSigned-off-by: Simon Glass
-
This converts the following to Kconfig:
CONFIG_ARCH_EARLY_INIT_RSigned-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)
21 Jan, 2017
1 commit
-
This patch add Kconfig entry for CONFIG_BOARD_LATE_INIT
Cc: Tom Rini
Signed-off-by: Jagan Teki
04 Dec, 2016
1 commit
-
Also convert MENU while we're in here.
Signed-off-by: Tom Rini
28 Oct, 2016
1 commit
-
Signed-off-by: Tom Rini
Conflicts:
common/Kconfig
configs/dms-ba16_defconfig
26 Oct, 2016
1 commit
-
- Add DEFAULT_FDT_FILE kconfig entry
- Move CONFIG_DEFAULT_FDT_FILE from include/configs to defconfigsCc: Tom Rini
Cc: Simon Glass
Cc: Michael Trimarchi
Signed-off-by: Jagan Teki
24 Oct, 2016
7 commits
-
This converts the following to Kconfig:
CONFIG_SYS_STDIO_DEREGISTERThis option should never be enabled in SPL, so use
CONFIG_IS_ENABLED(SYS_STDIO_DEREGISTER) when checking the option.Signed-off-by: Simon Glass
[trini: Re-sync]
Signed-off-by: Tom Rini -
This converts the following to Kconfig:
CONFIG_SYS_CONSOLE_INFO_QUIETSigned-off-by: Simon Glass
[trini: Make this default n, re-run the migration]
Signed-off-by: Tom Rini -
This converts the following to Kconfig:
CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINESigned-off-by: Simon Glass
Reviewed-by: Tom Rini -
This converts the following to Kconfig:
CONFIG_SYS_CONSOLE_ENV_OVERWRITESigned-off-by: Simon Glass
Reviewed-by: Tom Rini -
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.
Signed-off-by: Simon Glass
Reviewed-by: Jagan Teki -
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
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
20 Sep, 2016
1 commit
-
Move the config IDENT_STRING to Kconfig and migrate all boards
[sivadur: Migrate zynq boards]
Signed-off-by: Siva Durga Prasad Paladugu
[trini: Update configs, add some default to sunxi Kconfig]
Signed-off-by: Tom Rini
17 Sep, 2016
1 commit
-
Move the SPL settings into common/spl where most of the SPL code is kept.
Signed-off-by: Simon Glass
10 Sep, 2016
1 commit
-
move VERSION_VARIABLE from board config file into a
Kconfig option.Signed-off-by: Heiko Schocher
07 Sep, 2016
1 commit
-
Correct a small number of spelling mistakes.
Signed-off-by: Robert P. J. Day
22 Jul, 2016
1 commit
-
Move config option CONFIG_SYS_NO_FLASH as Kconfig
option. All the boards which needs to enable this
option can be done through defconfigsSigned-off-by: Siva Durga Prasad Paladugu
Signed-off-by: Michal Simek
02 Jul, 2016
2 commits
-
As the help message of CONFIG_BOOTDELAY says, CONFIG_BOOTDELAY=-2
means the autoboot with no delay, with no abort check even if
CONFIG_ZERO_BOOTDELAY_CHECK is defined.To sum up, the autoboot behaves as follows:
[1] CONFIG_BOOTDELAY=0 && CONFIG_ZERO_BOOTDELAY_CHECK=y
autoboot with no delay, but you can abort it by key input[2] CONFIG_BOOTDELAY=0 && CONFIG_ZERO_BOOTDELAY_CHECK=n
autoboot with no delay, with no check for abort[3] CONFIG_BOOTDELAY=-1
disable autoboot[4] CONFIG_BOOTDELAY=-2
autoboot with no delay, with no check for abortAs you notice, [2] and [4] come to the same result, which means we
do not need CONFIG_ZERO_BOOTDELAY_CHECK. We can control all the
cases only by CONFIG_BOOTDELAY, like this:[1] CONFIG_BOOTDELAY=0
autoboot with no delay, but you can abort it by key input[2] CONFIG_BOOTDELAY=-1
disable autoboot[3] CONFIG_BOOTDELAY=-2
autoboot with no delay, with no check for abortThis commit converts the logic as follow:
CONFIG_BOOTDELAY=0 && CONFIG_ZERO_BOOTDELAY_CHECK=n
--> CONFIG_BOOTDELAY=-2Signed-off-by: Masahiro Yamada
Reviewed-by: Stefan Roese
Acked-by: Igor Grinberg
Reviewed-by: Simon Glass
Acked-by: Vladimir Zapolskiy
Reviewed-by: Heiko Schocher
Acked-by: Christian Riesch
Acked-by: Hannes Schmelzer -
The same information now exists in common/Kconfig. Do not duplicate
documentation from the point of view of maintainability.Signed-off-by: Masahiro Yamada
Reviewed-by: Simon Glass
Reviewed-by: Heiko Schocher
28 Jun, 2016
2 commits
-
Add CONFIG_{SD|NAND|ONENAND|SPI|QSPI|SATA}_BOOT kconfig entries.
SoCs supports loading U-Boot from different medias to DRAM, such as
i.MX6/7 supports loading U-Boot to DRAM from sd/emmc/nand/qspi/spi/sata
and etc. For i.MX, imximage will generate different IVT headers according
to boot medias.Signed-off-by: Peng Fan
Cc: Simon Glass
Cc: Heiko Schocher
Cc: Joe Hershberger
Cc: Bin Meng
Cc: Christophe Ricard
Cc: Nikita Kiryanov
Cc: Francois Retief
Cc: Tom Rini -
Not only am335x supports booting from NOR, i.MX6 SoCs also
supports booting from NOR. Make NOR_BOOT a common
option to let different SoCs share it.Signed-off-by: Peng Fan
Cc: Simon Glass
Cc: Heiko Schocher
Cc: Joe Hershberger
Cc: Christophe Ricard
Cc: Bin Meng
Cc: Francois Retief
Cc: Tom Rini
Reviewed-by: Simon Glass
20 Jun, 2016
1 commit
-
Since commit bb597c0eeb7e ("common: bootdelay: move CONFIG_BOOTDELAY
into a Kconfig option"), CONFIG_BOOTDELAY is defined for all boards.Prior to that commit, it was allowed to unset CONFIG_BOOTDELAY to
not compile common/autoboot.c, as described in common/Makefile:# This option is not just y/n - it can have a numeric value
ifdef CONFIG_BOOTDELAY
obj-y += autoboot.o
endifIt was a bit odd to enable/disable code with an integer type option,
but it was how this option worked before that commit, and several
boards actually unset it to opt out of the autoboot feature.This commit adds a new bool option, CONFIG_AUTOBOOT, and makes
CONFIG_BOOTDELAY depend on it.I chose "default y" for this option because most boards use the
autoboot. I added "# CONFIG_AUTOBOOT is not set" for the boards that
had not set CONFIG_BOOTDELAY prior to the bad commit.Signed-off-by: Masahiro Yamada
17 Jun, 2016
1 commit
-
The value of 0 is fairly uncommon while 2 is one of the more common ones
so switch.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
25 Jan, 2016
1 commit
-
There are a lot of unrelated files in common, including all of the commands.
Moving them into their own directory makes them easier to find and is more
logical.Some commands include non-command code, such as cmd_scsi.c. This should be
sorted out at some point so that the function can be enabled with or without
the associated command.Unfortunately, with m68k I get this error:
m68k: + M5329AFEE
+arch/m68k/cpu/mcf532x/start.o: In function `_start':
+arch/m68k/cpu/mcf532x/start.S:159:(.text+0x452): relocation truncated to fit: R_68K_PC16 against symbol `board_init_f' defined in .text.board_init_f section in common/built-in.oI hope someone can shed some light on what this means. I hope it isn't
depending on the position of code in the image.Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
Reviewed-by: Heiko Schocher
Acked-by: Stefan Roese
Acked-by: Przemyslaw Marczak
14 Jan, 2016
1 commit
-
Add a 'poweroff' command to boot commands, this only gets enabled if the
board Kconfig does a "select CMD_POWEROFF".Signed-off-by: Michael van Slingerland
[hdegoede@redhat.com: Make the cmd conditional on a CMD_POWEROFF Kconfig]
Signed-off-by: Hans de Goede
20 Nov, 2015
1 commit
-
It is useful to be able to record console output and provide console input
via a buffer. This provides sandbox with the ability to run a command and
check its output. If the console is set to silent then no visible output
is generated.This also provides a means to fix the problem where tests produce unwanted
output, such as errors or warnings. This can be confusing. We can instead
set the console to silent and record this output. It can be checked later
in the test if required.It is possible that this may prove useful for non-test situations. For
example the console output may be suppressed for normal operations, but
recorded and stored for access by the OS. That feature is not implemented
at present.Signed-off-by: Simon Glass
19 Nov, 2015
1 commit
-
Add CMD_GPIO to Kconfig and run tools/moveconfig.py .
Signed-off-by: Thomas Chou
Reviewed-by: Simon Glass