summaryrefslogtreecommitdiffstats
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* Kconfig: Finish migration of hashing commandsDaniel Thompson2017-05-311-3/+0
| | | | | | | | | | | | 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 <daniel.thompson@linaro.org> [trini: Re-apply, add imply for a few cases, run moveconfig.py, also migrate CRC32_VERIFY] Signed-off-by: Tom Rini <trini@konsulko.com>
* Merge branch 'rmobile' of git://git.denx.de/u-boot-shTom Rini2017-05-231-0/+1
|\
| * ARM: rmobile: salvator-x: Adjust UART clockMarek Vasut2017-05-221-0/+1
| | | | | | | | | | | | | | | | | | The UART uses internal SCIF clock except on R8A7795 H3 WS1.0 . Use the internal clock and ignore the early version of the chip. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
* | Merge git://git.denx.de/u-boot-sunxiTom Rini2017-05-221-1/+2
|\ \ | | | | | | | | | | | | | | | | | | trini: Make Kconfig SPL_xxx entires only show if SPL, so that we don't get Kconfig errors on platforms without SPL, ie sandbox (without SPL). Signed-off-by: Tom Rini <trini@konsulko.com>
| * | sunxi: Store the device tree name in the SPL headerSiarhei Siamashka2017-05-171-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch updates the mksunxiboot tool to optionally add the default device tree name string to the SPL header. This information can be used by the firmware upgrade tools to protect users from harming themselves by trying to upgrade to an incompatible bootloader. The primary use case here is a non-removable bootable media (such as NAND, eMMC or SPI flash), which already may have a properly working, but a little bit outdated bootloader installed. For example, the user may download or build a new U-Boot image for "Cubieboard", and then attemept to install it on a "Cubieboard2" hardware by mistake as a replacement for the already existing bootloader. If this happens, the flash programming tool can identify this problem and warn the user. The size of the SPL header is also increased from 64 bytes to 96 bytes to provide enough space for the device tree name string. [Andre: split patch to remove OF_LIST hash feature] Signed-off-by: Siarhei Siamashka <siarhei.siamashka@gmail.com> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
* | | ColdFire: Remove rogue 'CONFIG_SYS_NO_FLASH' embedded within another CONFIG_ ↵Lothar Waßmann2017-05-221-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | name The original commit for the MCF54418TWR ColdFire development board support defined a 'CONFIG_SYS_FAULT_ECCONFIG_SYS_NO_FLASHHO_LINK_DOWN' which obviously has a rogue 'CONFIG_SYS_NO_FLASH' embedded in the intended 'CONFIG_SYS_FAULT_ECHO_LINK_DOWN' define. Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
* | | Convert CONFIG_CMD_LZMADEC to KconfigSimon Glass2017-05-221-1/+0
| | | | | | | | | | | | | | | | | | | | | This converts the following to Kconfig: CONFIG_CMD_LZMADEC Signed-off-by: Simon Glass <sjg@chromium.org>
* | | Convert CONFIG_LZMA to KconfigSimon Glass2017-05-221-1/+0
| | | | | | | | | | | | | | | | | | | | | This converts the following to Kconfig: CONFIG_LZMA Signed-off-by: Simon Glass <sjg@chromium.org>
* | | Kconfig: Drop CONFIG_CMD_LOADYSimon Glass2017-05-221-1/+0
| | | | | | | | | | | | | | | | | | This is not used in U-Boot. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
* | | Convert CONFIG_CMD_KGDB to KconfigSimon Glass2017-05-221-1/+0
| | | | | | | | | | | | | | | | | | | | | This converts the following to Kconfig: CONFIG_CMD_KGDB Signed-off-by: Simon Glass <sjg@chromium.org>
* | | Convert CONFIG_CMD_IRQ to KconfigSimon Glass2017-05-221-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | This converts the following to Kconfig: CONFIG_CMD_IRQ Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
* | | Convert CONFIG_CMD_JFFS2 to KconfigSimon Glass2017-05-221-1/+0
| | | | | | | | | | | | | | | | | | | | | This converts the following to Kconfig: CONFIG_CMD_JFFS2 Signed-off-by: Simon Glass <sjg@chromium.org>
* | | Convert CONFIG_CMD_IOTRACE to KconfigSimon Glass2017-05-221-1/+0
| | | | | | | | | | | | | | | | | | | | | This converts the following to Kconfig: CONFIG_CMD_IOTRACE Signed-off-by: Simon Glass <sjg@chromium.org>
* | | Convert CONFIG_CMD_IOLOOP to KconfigSimon Glass2017-05-221-1/+0
| | | | | | | | | | | | | | | | | | | | | This converts the following to Kconfig: CONFIG_CMD_IOLOOP Signed-off-by: Simon Glass <sjg@chromium.org>
* | | Convert CONFIG_CMD_IO to KconfigSimon Glass2017-05-221-1/+0
| | | | | | | | | | | | | | | | | | | | | This converts the following to Kconfig: CONFIG_CMD_IO Signed-off-by: Simon Glass <sjg@chromium.org>
* | | Kconfig: Drop CONFIG_CMD_IMX_FUSESimon Glass2017-05-221-1/+0
| | | | | | | | | | | | | | | | | | This option is not used in U-Boot. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
* | | Kconfig: Drop CONFIG_CMD_IMXOTPSimon Glass2017-05-221-1/+0
| | | | | | | | | | | | | | | | | | This option is not used in U-Boot. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
* | | Convert CONFIG_CMD_IMMAP to KconfigSimon Glass2017-05-221-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This converts the following to Kconfig: CONFIG_CMD_IMMAP Also move this command out of the cmd/ directory since it is PowerPC-specific. Signed-off-by: Simon Glass <sjg@chromium.org>
* | | Convert CONFIG_CMD_IDE to KconfigSimon Glass2017-05-221-1/+0
| | | | | | | | | | | | | | | | | | | | | This converts the following to Kconfig: CONFIG_CMD_IDE Signed-off-by: Simon Glass <sjg@chromium.org>
* | | Convert CONFIG_CMD_HDMIDETECT to KconfigSimon Glass2017-05-221-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This converts the following to Kconfig: CONFIG_CMD_HDMIDETECT Note that we cannot do 'default y if VIDEO' because this option is only enabled for a small subset of mx6 boards. Also this command is is not a great implementation (it doesn't use driver model). Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
* | | Convert CONFIG_CMD_HD44760 to KconfigSimon Glass2017-05-221-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | This converts the following to Kconfig: CONFIG_CMD_HD44760 Also drop CONFIG_CMD_HD44780 which appears to be a typo. Signed-off-by: Simon Glass <sjg@chromium.org>
* | | Convert CONFIG_CMD_HASH to KconfigSimon Glass2017-05-221-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This converts the following to Kconfig: CONFIG_CMD_HASH Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> [trini: Rework slightly, enable on some boards again] Signed-off-by: Tom Rini <trini@konsulko.com>
* | | Convert CONFIG_CMD_GSC to KconfigSimon Glass2017-05-221-1/+0
| | | | | | | | | | | | | | | | | | | | | This converts the following to Kconfig: CONFIG_CMD_GSC Signed-off-by: Simon Glass <sjg@chromium.org>
* | | Convert CONFIG_CMD_GETTIME to KconfigSimon Glass2017-05-221-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | This converts the following to Kconfig: CONFIG_CMD_GETTIME Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
* | | Convert CONFIG_CMD_FUSE to KconfigSimon Glass2017-05-221-1/+0
| | | | | | | | | | | | | | | | | | | | | This converts the following to Kconfig: CONFIG_CMD_FUSE Signed-off-by: Simon Glass <sjg@chromium.org>
* | | Convert CONFIG_CMD_FPGA_LOADBP et al to KconfigSimon Glass2017-05-221-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This converts the following to Kconfig: CONFIG_CMD_FPGA_LOADBP CONFIG_CMD_FPGA_LOADFS CONFIG_CMD_FPGA_LOADMK CONFIG_CMD_FPGA_LOADP Signed-off-by: Simon Glass <sjg@chromium.org>
* | | Convert CONFIG_CMD_FPGAD to KconfigSimon Glass2017-05-221-1/+0
| | | | | | | | | | | | | | | | | | | | | This converts the following to Kconfig: CONFIG_CMD_FPGAD Signed-off-by: Simon Glass <sjg@chromium.org>
* | | Kconfig: Drop CONFIG_CMD_FDT_MAX_DUMPSimon Glass2017-05-221-1/+0
| | | | | | | | | | | | | | | | | | This option is not used by any board. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
* | | Convert CONFIG_CMD_FDC to KconfigSimon Glass2017-05-221-1/+0
| | | | | | | | | | | | | | | | | | | | | This converts the following to Kconfig: CONFIG_CMD_FDC Signed-off-by: Simon Glass <sjg@chromium.org>
* | | Convert CONFIG_CMD_ETHSW to KconfigSimon Glass2017-05-221-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | This converts the following to Kconfig: CONFIG_CMD_ETHSW Also enable it for sandbox to increase build coverage. Signed-off-by: Simon Glass <sjg@chromium.org>
* | | Convert CONFIG_CMD_ESBC_VALIDATE to KconfigSimon Glass2017-05-221-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | This converts the following to Kconfig: CONFIG_CMD_ESBC_VALIDATE Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
* | | Convert CONFIG_CMD_ERRATA to KconfigSimon Glass2017-05-221-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | This converts the following to Kconfig: CONFIG_CMD_ERRATA Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
* | | Convert CONFIG_CMD_ENV_FLAGS to KconfigSimon Glass2017-05-221-1/+0
| | | | | | | | | | | | | | | | | | | | | This converts the following to Kconfig: CONFIG_CMD_ENV_FLAGS Signed-off-by: Simon Glass <sjg@chromium.org>
* | | Convert CONFIG_CMD_ENV_CALLBACK to KconfigSimon Glass2017-05-221-1/+0
| | | | | | | | | | | | | | | | | | | | | This converts the following to Kconfig: CONFIG_CMD_ENV_CALLBACK Signed-off-by: Simon Glass <sjg@chromium.org>
* | | Kconfig: Drop CONFIG_CMD_ENVSimon Glass2017-05-221-1/+0
| | | | | | | | | | | | | | | | | | This option is not used in U-Boot. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
* | | Convert CONFIG_CMD_ENTERRCM to KconfigSimon Glass2017-05-221-1/+0
| | | | | | | | | | | | | | | | | | | | | This converts the following to Kconfig: CONFIG_CMD_ENTERRCM Signed-off-by: Simon Glass <sjg@chromium.org>
* | | Convert CONFIG_CMD_EEPROM et al to KconfigSimon Glass2017-05-221-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This converts the following to Kconfig: CONFIG_CMD_EEPROM CONFIG_CMD_EEPROM_LAYOUT CONFIG_EEPROM_LAYOUT_HELP_STRING Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> [trini: Rework Kconfig logic slightly, define EEPROM location on TI eval platforms] Signed-off-by: Tom Rini <trini@konsulko.com>
* | | Convert CONFIG_CMD_EECONFIG to KconfigSimon Glass2017-05-221-1/+0
| | | | | | | | | | | | | | | | | | | | | This converts the following to Kconfig: CONFIG_CMD_EECONFIG Signed-off-by: Simon Glass <sjg@chromium.org>
* | | Convert CONFIG_CMD_ECCTEST to KconfigSimon Glass2017-05-221-1/+0
| | | | | | | | | | | | | | | | | | | | | This converts the following to Kconfig: CONFIG_CMD_ECCTEST Signed-off-by: Simon Glass <sjg@chromium.org>
* | | Kconfig: Drop CONFIG_SYS_I2C_DS4510_ADDRSimon Glass2017-05-221-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | This is only used by one board and always set to 0x51. Drop this option. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Heiko Schocher <hs@denx.de>
* | | Kconfig: Drop CONFIG_SYS_I2C_DS1621_ADDRSimon Glass2017-05-221-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | Now that dtt is gone, this is not used. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de> Reviewed-by: Tom Rini <trini@konsulko.com>
* | | Drop digital thermometer and thermostat (DTT) driversSimon Glass2017-05-221-22/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de> Reviewed-by: Tom Rini <trini@konsulko.com>
* | | Drop three-wire serial (TWS) supportSimon Glass2017-05-221-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This subsystem has not been converted to driver model, there is only one driver and only one board that uses it. Drop it and its CONFIG option. Also drop the rtc4543 RTC driver since it uses TWS. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
* | | Kconfig: Drop CONFIG_SYS_I2C_DTT_ADDRSimon Glass2017-05-221-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This option is only defined to a non-default value by canyonlands, which needs conversion to driver model (where the I2C address would be defined by the device tree). Drop this option. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Heiko Schocher <hs@denx.de>
* | | Convert CONFIG_DS4510 to KconfigSimon Glass2017-05-221-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | This converts the following to Kconfig: CONFIG_DS4510 Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Heiko Schocher <hs@denx.de>
* | | Kconfig: Drop CONFIG_CMD_DS4510Simon Glass2017-05-221-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This option enables a command in the driver. But the functions defined by the driver are not called anywhere else in U-Boot. So it does not seem useful to have this driver without its commands. Drop this option, move the header file out of the common include/ directory and make all the function static. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Heiko Schocher <hs@denx.de>
* | | Kconfig: Drop CONFIG_CMD_DS4510_RSTSimon Glass2017-05-221-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This option is only used in one driver and is not enabled by any board. It does not seem worth having the ability to remove this part of the support. Drop the option. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Heiko Schocher <hs@denx.de>
* | | Kconfig: Drop CONFIG_CMD_DS4510_MEMSimon Glass2017-05-221-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This option is only used in one driver and is not enabled by any board. It does not seem worth having the ability to remove this part of the support. Drop the option. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Heiko Schocher <hs@denx.de>
* | | Kconfig: Drop CONFIG_CMD_DS4510_INFOSimon Glass2017-05-221-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This option is only used in one driver and two boards. It does not seem worth having the ability to remove this part of the support. Drop the option. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Heiko Schocher <hs@denx.de>
* | | FIT: Rename FIT_DISABLE_SHA256 to FIT_ENABLE_SHA256_SUPPORTTom Rini2017-05-221-1/+0
| |/ |/| | | | | | | | | | | | | | | | | | | | | We rename CONFIG_FIT_DISABLE_SHA256 to CONFIG_FIT_ENABLE_SHA256_SUPPORT which is enabled by default and now a positive option. Convert the handful of boards that were disabling it before to save space. Cc: Dirk Eibach <eibach@gdsys.de> Cc: Lukasz Dalek <luk0104@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Simon Glass <sjg@chromium.org>