aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-02-07arm: Drop CONFIG_MMUSimon Glass
This option does not exist, so the #ifdefs do nothing. Drop this code. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-02-07m68k: Drop unused CONFIG_MACH_DAVINCI_DA830_EVMSimon Glass
This option does not exist, so the Makefile rule does nothing. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-02-07m68k: Drop unused CONFIG_M52277Simon Glass
This option does not exist, so the Makefile rule does nothing. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-02-07video: Drop unused lg4573 driverSimon Glass
This is not used since this commit: 3cf02f5ffa4 imx6: remove not longer supported aristainetos boards Drop the driver and Kconfig option. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-02-07arm: Drop old kona codeSimon Glass
The KONA and KONA_GPIO options don't exist anymore, since this commit: 0f6807e77b0 arm: Remove bcm28155_ap board Drop the dead code. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-02-07imx: Drop unused CONFIG_IMXSimon Glass
This option does not exist, so the Makefile rule does nothing. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-02-07rcar: Drop timerSimon Glass
Drop this unused driver. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-02-07freescale: Drop unused ftpmu010 driverSimon Glass
Drop this unused code. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-02-07freescale: Drop unused pixis codeSimon Glass
Drop this unused code. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-02-07misc: Drop mc9sdz60 driverSimon Glass
Drop this unused driver. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-02-07fpga: Add a FPGA_STRATIX_II optionSimon Glass
There is no Kconfig option for this code, but it seems to be useful. Add one. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-02-07fpga: Add a LATTICE optionSimon Glass
There is no Kconfig option for this code, but it seems to be useful. Add one. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-02-07samsung: Drop CONFIG_EXYNOS_PWM_BLSimon Glass
This is not defined anywhere. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Minkyu Kang <mk7.kang@samsung.com>
2023-02-07env: Drop ENV_IS_IN_SATASimon Glass
This is not used anywhere, so drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-02-07Makefile: Avoid use of invalid CONFIG_ optionSimon Glass
This appears in a comment but is not a real option. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-02-07Drop CONFIG_DM644X_GPIOSimon Glass
Drop this unused option. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-02-07Drop dataflash_mmc_mux commandSimon Glass
This is not used. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
2023-02-07Correct CONFIG_CONTROLCENTERDCSimon Glass
This option does not exist but presumably means to point to CONFIG_TARGET_CONTROLCENTERDC. Fix it. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-02-07cmd: Drop mfsl commandSimon Glass
This is not used anywhere. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-02-07cmd: Add an option to enable the ini commandSimon Glass
This command has no Kconfig option at present, but seems useful enough to keep around. Add one. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-02-07rockchip: Correct a reference to CONFIG_BOOT_MODE_REGSimon Glass
This option does not exist and should refer to CONFIG_ROCKCHIP_BOOT_MODE_REG instead. Fix it. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-02-07ppc: Drop bat_rwSimon Glass
Drop this unused driver. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-02-07arm: mvebu: Drop reference to CONFIG_ARMADA_39XSimon Glass
This is not defined anywhere. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Stefan Roese <sr@denx.de>
2023-02-07arm: mvebu: Remove reference to ARMADA_370Simon Glass
Drop this as it is not referenced anywhere else in the code. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-02-07sandbox: Drop reference to CONFIG_ARCH_DEVICE_TREESimon Glass
This is not used anywhere. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-02-07misc: Drop ali512xSimon Glass
Drop this unused driver. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-02-07Makefile: Drop CONFIG_AIS_CONFIG_FILESimon Glass
This is not defined anywhere. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-02-07gpio: Drop adi_gpio2Simon Glass
Drop this unused driver. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-02-07power: Drop pmic_max77693.cSimon Glass
Drop this driver and the associated CONFIG option, as it is not used. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-02-07nand: Drop CONFIG_NAND_SPEARSimon Glass
This is not used anymore. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Michael Trimarchi <michael@amarulasolutions.com>
2023-02-07power: Drop fg_max77693Simon Glass
This is not used in U-Boot. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-02-07moveconfig: Add an option to compare Kconfig against sourceSimon Glass
Sometimes the Makefile rules or source code refers to Kconfig options which don't exist. Update the moveconfig tool to check this and produce a series of reports about inconsistencies. This can then be used to generate patches to correct the problems. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-02-07Merge branch '2023-02-07-assorted-updates'Tom Rini
- Default to dynamic LMB allocation, and fix an issue with the EFI one, assorted TI platform updates, socrates platform updates, switch qemu-arm to using bootstd, imagetool fixes, macOS host build fixes, keymile platform upates, spl FPGA load fix, MMC env bugfix, add seama command, usb bootdev test bugfix.
2023-02-06cmd: Add a SEAMA image load commandLinus Walleij
Add a command to load SEAMA (Seattle Image), a NAND flash on-flash storage format. This type of flash image is found in some D-Link routers such as DIR-645, DIR-842, DIR-859, DIR-860L, DIR-885L, DIR890L and DCH-M225, as well as in WD and NEC routers on the ath79 (MIPS), Broadcom BCM53xx, and RAMIPS platforms. This U-Boot command will read and decode a SEAMA image from raw NAND flash on any platform. As it is always using big endian format for the data decoding is always necessary on platforms such as ARM. The command is needed to read a SEAMA-encoded boot image on the D-Link DIR-890L router for boot from NAND flash in an upcoming port of U-Boot to the Broadcom Northstar (BCM4709, BCM53xx) architecture. A basic test and documentation is added as well. The test must be run on a target with NAND flash support and at least one resident SEAMA image in flash. Cc: Rafał Miłecki <rafal@milecki.pl> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2023-02-06env: mmc: Fix offset issue for env saveYe Li
Fix the issue in commit 46c9016 ("env: mcc: Drop unnecessary #ifdefs") If CONFIG_SYS_REDUNDAND_ENVIRONMENT is not defined, the offset value becomes undetermined, so write env to unexpected offset. Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
2023-02-06MAINTAINERS: m68k: Change Angelo's email addressAngelo Dureghello
Set my new current personal email. Signed-off-by: Angelo Dureghello <angelo@kernel-space.org>
2023-02-06tools: default_image: Accept images with paddingPali Rohár
If image file is stored on flash partition then it contains padding, which is not part of the image itself. Image data size is stored in the image header. So use image size from the header instead of expecting that total image file size is size of the header plus size of the image data. This allows dumpimage to parse image files with padding (e.g. dumped from flash partition). Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
2023-02-06tools: default_image: Verify header sizePali Rohár
Before reading image header, verify that image size is at least size of the image header. Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
2023-02-06tools: imagetool: Skip autodetection of gpimage typePali Rohár
gpimage type requires only that two first 32-bit words of data file are non-zero. So basically every random data file can be guessed and verified as gpimage. So completely skip gpimage type from image autodetection code to prevent lot of false positive results. Data file with gpimage type can be still verified and parsed by explicitly specifying -T gpimage. Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
2023-02-06tools: imagetool: Show error message when detecting image type failedPali Rohár
Signed-off-by: Pali Rohár <pali@kernel.org>
2023-02-06tools: imagetool: Fix error message when verify_header is undefinedPali Rohár
Signed-off-by: Pali Rohár <pali@kernel.org>
2023-02-06arm: qemu: Move GUIDs to the C fileSimon Glass
These are only used in one place, so move them there. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-02-06arm: qemu: Switch to a text environmentSimon Glass
Use the new environment format so we can drop most of the config.h file. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-02-06arm: qemu: Switch to standard bootSimon Glass
Drop use of the distro scripts and use standard boot instead. Enable BOOTDEV_FULL just for convenience, although this does add quite a bit to the size. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-02-06qemu: Add a bootmeth for qfwSimon Glass
This supports reading a kernel and ramdisk from qfw, then loading it with either the booti or bootz commands. For now this uses the existing booti and bootz commands, rather than trying to call that functionality directly (e.g. do_bootm_states()). It does not require the HUSH parser though, which helps a little with size. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-02-06qemu: Add a bootdev for qfwSimon Glass
Add a bootdev device for qfw so that it can be used with standard boot. This simply checks for the correct method and then does the read. Most of the other logic is handed in a new bootmeth driver. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-02-06qemu: Move qfw kernel setup into a common fileSimon Glass
This is currently in the cmd/ file but we want to call it from a driver. Move it into a common place. Tidy up the header-file order while we are here. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-02-06qemu: Update qfw command to use addressesSimon Glass
This uses casts all over the place. Use the correct type so that these can be avoided, as is done with other commands. Also simplify a few conditionals. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-02-06bootstd: Add some default filesystems and commandsSimon Glass
We need to support a basic set of filesystems for booting to work in most cases. Add these in via a new option, letting the board disable them individually (for space reasons) if desired. This enables the filesystem commands as well as the actual functionality, even though bootstd is quite happy to use ext4 without the ext4 command. Further work would be needed to disintangle this and reduce code size. Add several other options as well, providing sensible defaults. We cannot enable this by default, since it expands the size of many boards quite a lot. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-02-06bootstd: Correct virtio block-device handlingSimon Glass
At present virtio tries to attach QEMU services to a bootdev device, which cannot work. Add a check for this. Also use bootdev_setup_sibling_blk() to create the bootdev device, since it allows the correct name to be used and bootdev_get_sibling_blk() to work as expected. The bootdev is not created on sandbox since it does have a real virtio device and it is not possible to read blocks. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: a60f7a3e35b ("bootstd: Add a virtio bootdev") Reported-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>