01 Jun, 2017
2 commits
-
This header includes things that are needed to make driver build. Adjust
existing users to include that always, even if other dm/ includes are
presentSigned-off-by: Simon Glass
-
Currently these (board agnostic) commands cannot be selected using
menuconfig and friends. Fix this the obvious way. As part of this,
don't muddle the meaning of CONFIG_HASH_VERIFY to mean both 'hash -v'
and "we have a hashing command" as this makes the Kconfig logic odd.Signed-off-by: Daniel Thompson
[trini: Re-apply, add imply for a few cases, run moveconfig.py, also
migrate CRC32_VERIFY]
Signed-off-by: Tom Rini
23 May, 2017
12 commits
-
This converts the following to Kconfig:
CONFIG_CMD_LZMADECSigned-off-by: Simon Glass
-
This converts the following to Kconfig:
CONFIG_CMD_KGDBSigned-off-by: Simon Glass
-
This converts the following to Kconfig:
CONFIG_CMD_IRQSigned-off-by: Simon Glass
Reviewed-by: Tom Rini -
Rather than using CMD_JFFS2 for both the filesystem and its command, we
should have a separate option for each. This allows us to enable JFFS2
support without the command, if desired, which reduces U-Boot's size
slightly.Signed-off-by: Simon Glass
-
This converts the following to Kconfig:
CONFIG_CMD_JFFS2Signed-off-by: Simon Glass
-
This converts the following to Kconfig:
CONFIG_CMD_IOTRACESigned-off-by: Simon Glass
-
This converts the following to Kconfig:
CONFIG_CMD_IOSigned-off-by: Simon Glass
-
This converts the following to Kconfig:
CONFIG_CMD_IMMAPAlso move this command out of the cmd/ directory since it is
PowerPC-specific.Signed-off-by: Simon Glass
-
At present IDE support is controlled by CONFIG_CMD_IDE. Add a separate
CONFIG_IDE option so that IDE support can be enabled without requiring
the 'ide' command.Update existing users and move the ide driver into drivers/block since
it should not be in common/.Signed-off-by: Simon Glass
-
This converts the following to Kconfig:
CONFIG_CMD_IDESigned-off-by: Simon Glass
-
At present CONFIG_CMD_HASH enables the 'hash' command which also brings
in the hashing API. Some boards may wish to enable the API without the
command. Add a separate CONFIG to permit this.Signed-off-by: Simon Glass
Reviewed-by: Tom Rini -
This converts the following to Kconfig:
CONFIG_CMD_HASHSigned-off-by: Simon Glass
Reviewed-by: Tom Rini
[trini: Rework slightly, enable on some boards again]
Signed-off-by: Tom Rini
22 May, 2017
11 commits
-
This converts the following to Kconfig:
CONFIG_CMD_GETTIMESigned-off-by: Simon Glass
Reviewed-by: Tom Rini -
This converts the following to Kconfig:
CONFIG_CMD_FUSESigned-off-by: Simon Glass
-
This converts the following to Kconfig:
CONFIG_CMD_FPGA_LOADBP
CONFIG_CMD_FPGA_LOADFS
CONFIG_CMD_FPGA_LOADMK
CONFIG_CMD_FPGA_LOADPSigned-off-by: Simon Glass
-
This converts the following to Kconfig:
CONFIG_CMD_FPGADSigned-off-by: Simon Glass
-
This option is not used by any board. Drop it.
Signed-off-by: Simon Glass
-
This converts the following to Kconfig:
CONFIG_CMD_FDCSigned-off-by: Simon Glass
-
This converts the following to Kconfig:
CONFIG_CMD_ETHSWAlso enable it for sandbox to increase build coverage.
Signed-off-by: Simon Glass
-
This converts the following to Kconfig:
CONFIG_CMD_ENV_FLAGSSigned-off-by: Simon Glass
-
This converts the following to Kconfig:
CONFIG_CMD_ENV_CALLBACKSigned-off-by: Simon Glass
-
This converts the following to Kconfig:
CONFIG_CMD_EEPROM
CONFIG_CMD_EEPROM_LAYOUT
CONFIG_EEPROM_LAYOUT_HELP_STRINGSigned-off-by: Simon Glass
Reviewed-by: Tom Rini
[trini: Rework Kconfig logic slightly, define EEPROM location on TI eval
platforms]
Signed-off-by: Tom Rini -
This subsystem is quite old. It has been replaced with a driver-model
version (UCLASS_THERMAL). Boards are free to convert to that if required,
but here is a removal patch that could be applied in the meantime.Signed-off-by: Simon Glass
Reviewed-by: Heiko Schocher
Reviewed-by: Tom Rini
15 May, 2017
1 commit
-
Drop use of this long-deprecated option.
Signed-off-by: Simon Glass
Reviewed-by: Tom Rini
12 May, 2017
4 commits
-
We first check that if argc is less than 2 we return CMD_RET_USAGE. We
then see if argc is greater than 2 and if so call get_led_cmd() to set
'cmd' and otherwise set it to LEDST_COUNT (which will always be positive
as it's an enum with 0 already assigned). Therefore the test on if cmd
is less than 0 will always be false and simply be omitted. Reported by
clang-3.8.Signed-off-by: Tom Rini
-
The function cmd_get_data_size() returns an int and not unsigned. So we
should assign it to an int rather than unsigned so that we can later
compare the return value. Reported by clang-3.8.Signed-off-by: Tom Rini
-
On most architectures we do not call print_std_bdinfo() so mark it with
__maybe_unused. Reported by clang-3.8.Signed-off-by: Tom Rini
-
The value assigned to variable 'value' is never used.
The problem was indicated by clang scan-build.
Signed-off-by: Heinrich Schuchardt
10 May, 2017
2 commits
-
Use uclass_first_device and uclass_next_device in order to avoid exceptions
for drivers that aren't probed when cpu ops are requested.
Improve code style and fix indentations.
Fix incorrect line break when cpu info is not available.
Remove unneeded brackets.Signed-off-by: Álvaro Fernández Rojas
Reviewed-by: Simon Glass -
Commit 740d5d3 added two new features but only one feature name,
which results in NULL prints when device_id feature is selected.Before:
HG556a # cpu detail
-1: cpu@0 BCM6358A1
ID = 0, freq = 300 MHz: L1 cache, MMU, NULL
Device ID 0x2a010
-1: cpu@1 BCM6358A1
ID = 1, freq = 300 MHz: L1 cache, MMU, NULL
Device ID 0x2a010
After:
HG556a # cpu detail
-1: cpu@0 BCM6358A1
ID = 0, freq = 300 MHz: L1 cache, MMU, Device ID
Device ID 0x2a010
-1: cpu@1 BCM6358A1
ID = 1, freq = 300 MHz: L1 cache, MMU, Device ID
Device ID 0x2a010Signed-off-by: Álvaro Fernández Rojas
Reviewed-by: Simon Glass
Reviewed-by: Tom Rini
09 May, 2017
1 commit
-
Fix the NAND structures in bubt command according to latest
changes in MTD API.Signed-off-by: Konstantin Porotchkin
Cc: Stefan Roese
Cc: Igal Liberman
Cc: Nadav Haklai
Signed-off-by: Stefan Roese
01 May, 2017
7 commits
-
Signed-off-by: Chris Packham
[trini: default y if DM_RTC, re-sync]
Signed-off-by: Tom Rini -
This converts the following to Kconfig:
CONFIG_CMD_DISPLAYSigned-off-by: Simon Glass
-
This converts the following to Kconfig:
CONFIG_CMD_DIAGSigned-off-by: Simon Glass
[trini: imply CMD_DIAG on some keymile configs]
Signed-off-by: Tom Rini -
Rather than using CMD_CRAMFS for both the filesystem and its command, we
should have a separate option for each. This allows us to enable CRAMFS
support without the command, if desired, which reduces U-Boot's size
slightly.Signed-off-by: Simon Glass
[trini: imply FS_CRAMFS for keymile]
Signed-off-by: Tom Rini -
This converts the following to Kconfig:
CONFIG_CMD_CRAMFSSigned-off-by: Simon Glass
[trini: imply CMD_CRAMFS for keymile]
Signed-off-by: Tom Rini -
This converts the following to Kconfig:
CONFIG_CMD_CLKSigned-off-by: Simon Glass
[trini: imply CMD_CLK on ARCH_ZYNQ]
Signed-off-by: Tom Rini -
Rather than using CMD_CBFS for both the filesystem and its command, we
should have a separate option for each. This allows us to enable CBFS
support without the command, if desired, which reduces U-Boot's size
slightly.Signed-off-by: Simon Glass
[trini: imply FS_CBFS on SYS_COREBOOT]
Signed-off-by: Tom Rini