summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-07-28doc: board: ti: k3: Sort the boards in alphabetical orderNishanth Menon
Keep the boards sorted in alphabetical order. Signed-off-by: Nishanth Menon <nm@ti.com>
2023-07-28doc: board: ti: *: Add platform informationNishanth Menon
Add link to the actual platform for folks to find details about the board in addition to the SoC's TRM. Signed-off-by: Nishanth Menon <nm@ti.com>
2023-07-28doc: board: ti: j7200_evm: Convert the emmc layout to svgNishanth Menon
Convert the emmc memory layout to svg Signed-off-by: Nishanth Menon <nm@ti.com>
2023-07-28doc: board: ti: am65x_evm: Convert the emmc layout to svgNishanth Menon
Convert the emmc memory layout to svg Signed-off-by: Nishanth Menon <nm@ti.com>
2023-07-28doc: board: ti: am65/j721e: Convert OSPI memory map to svgNishanth Menon
Convert the memory map for OSPI as a common memory map Signed-off-by: Nishanth Menon <nm@ti.com>
2023-07-28doc: board: ti: am65x_evm: Convert the UART boot responsibility to list tableNishanth Menon
Use list tables to map up the UART Boot responsibility table. Signed-off-by: Nishanth Menon <nm@ti.com>
2023-07-28doc: board: ti: j7200_evm: Convert switch settings to list tablesNishanth Menon
Use list tables to map up the dip switch settings Signed-off-by: Nishanth Menon <nm@ti.com>
2023-07-28doc: board: ti: am62x_sk: Convert switch settings to list tablesNishanth Menon
Use list tables to map up the dip switch settings Signed-off-by: Nishanth Menon <nm@ti.com>
2023-07-28doc: board: ti: am62x_sk: Add labels to reuse memory mapNishanth Menon
Add labels around the A53 SPL DDR memory layout to be able to reuse the memory map. Signed-off-by: Nishanth Menon <nm@ti.com>
2023-07-28doc: board: ti: am62x: Convert the image format to svgNishanth Menon
Convert the image format into svg that can be reused across platforms as needed. Signed-off-by: Nishanth Menon <nm@ti.com>
2023-07-28doc: board: ti: am65x: Convert the image format to svgNishanth Menon
Convert the image format into svg that can be reused across platforms as needed. Signed-off-by: Nishanth Menon <nm@ti.com>
2023-07-28doc: board: ti: j721e: Convert the image format to svgNishanth Menon
Convert the image format into svg that can be reused across platforms as needed. Signed-off-by: Nishanth Menon <nm@ti.com>
2023-07-28doc: board: ti: j7200: Convert the image format to svgNishanth Menon
Convert the image format into svg that can be reused across platforms as needed. Signed-off-by: Nishanth Menon <nm@ti.com>
2023-07-28doc: board: ti: k3: Reuse build instructionsNishanth Menon
Introduce common variables to define a generic build instruction that is then used in specific board specific description. Labels are introduced in the evm.rst files to be then reused in variant board documentation as well. While at this, drop using ARCH=arm when building u-boot sources. This practice has been discouraged for some time and can potentially create problems with Kconfig rules related to aarch64. It's best to avoid this approach. Signed-off-by: Nishanth Menon <nm@ti.com>
2023-07-28doc: board: ti: j721e: Update with boot flow diagramNishanth Menon
Update the bootflow svg diagram instead of the ascii version Reviewed-by: Neha Malcom Francis <n-francis@ti.com> Signed-off-by: Nishanth Menon <nm@ti.com>
2023-07-28doc: board: ti: am65x: Update with boot flow diagramNishanth Menon
Update the bootflow svg diagram instead of the ascii version Reviewed-by: Neha Malcom Francis <n-francis@ti.com> Signed-off-by: Nishanth Menon <nm@ti.com>
2023-07-28doc: board: ti: am62x/j7200: Update with common boot flow diagramNishanth Menon
Update the bootflow svg diagram and reuse across the platforms as they are common. Reviewed-by: Neha Malcom Francis <n-francis@ti.com> Signed-off-by: Nishanth Menon <nm@ti.com>
2023-07-28doc: board: ti: Optimize sources referencesNishanth Menon
We have duplication of sources which makes it hard to sustain across the board, but at the same time, we'd like to ensure readers get specific information without having to cross refer to different documentation to get piecemeal information that they need to put together. Reviewed-by: Neha Malcom Francis <n-francis@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Nishanth Menon <nm@ti.com>
2023-07-28efi_loader: fix uninitialized variable bug in efi_set_load_options()Dan Carpenter
Check for efi_search_protocol() failure before dereferencing "handler" to avoid a crash. Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
2023-07-28doc: ti: Clarify required file names for K3 platformsTom Rini
Now that we are using binman in all cases on these platforms, reword things to be clearer that for filesystem booting we need to use a specific name for each component. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Neha Malcom Francis <n-francis@ti.com>
2023-07-28efi_loader: make efi_delete_handle() follow the EFI specIlias Apalodimas
The EFI doesn't allow removal of handles, unless all hosted protocols are cleanly removed. Our efi_delete_handle() is a bit intrusive. Although it does try to delete protocols before removing a handle, it doesn't care if that fails. Instead it only returns an error if the handle is invalid. On top of that none of the callers of that function check the return code. So let's rewrite this in a way that fits the EFI spec better. Instead of forcing the handle removal, gracefully uninstall all the handle protocols. According to the EFI spec when the last protocol is removed the handle will be deleted. Also switch all the callers and check the return code. Some callers can't do anything useful apart from reporting an error. The disk related functions on the other hand, can prevent a medium that is being used by EFI from removal. The only function that doesn't check the result is efi_delete_image(). But that function needs a bigger rework anyway, so we can clean it up in the future Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2023-07-28doc: describe QEMU emulation of block devicesHeinrich Schuchardt
* Add a new page about the emulation of block devices * Add semihosting to the emulation index page * Set toc maxdepth to 1 to improve readability Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
2023-07-28doc: fix typo device_compat/.hHeinrich Schuchardt
%s/device_compat\/.h/device_compat.h/ Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
2023-07-28efi_loader: simplify dp_fill()Heinrich Schuchardt
Move the recursive dp_fill(dev->parent) call to a single location. Determine uclass_id only once. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
2023-07-28efi_loader: device paths for special block devicesHeinrich Schuchardt
The UEFI specification does not provide node types matching UCLASS_BLKMAP, UCLASS_HOST, UCLASS_VIRTIO block devices. The current implementation uses VenHw() nodes with uclass specific GUIDs and a single byte for the device number appended. This leads to unaligned integers in succeeding device path nodes. The current implementation fails to create unique device paths for block devices based on other uclasses like UCLASS_PVBLOCK. Let's use a VenHw() node with the U-Boot GUID with a length dividable by four and encoding blkdesc->uclass_id as well as blkdesc->devnum. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
2023-07-28doc: update doc/sphinx/requirements.txtHeinrich Schuchardt
Update the following requirements to their latest version: * Pygments - syntax highlighting * pytz - world timezone definitions * certifi - Mozilla's CA bundle Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2023-07-27Merge https://source.denx.de/u-boot/custodians/u-boot-usbTom Rini
2023-07-27usb: xhci: Fix double free on failureRichard Habeeb
drivers/core/device.c will call `device_free()` after xhci_register already frees the private device data. This can cause a crash later during the boot process, observed on aarch64 RPi4b as a synchronous exception. All callers of xhci_register use priv_auto, so this won't lead to memory leaks. Signed-off-by: Richard Habeeb <richard.habeeb@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
2023-07-25Merge branch 'master' of git://git.denx.de/u-boot-coldfireTom Rini
- Watchdog updates, and more MAINTAINERS entries
2023-07-25Revert "travis-ci: Add m68k M5208EVBE machine"Tom Rini
This commit was not intended for this tree but rather u-boot-test-scripts (where it is applied). This reverts commit f04ef0a7a0166e91729b45b1db22f5cc3b3b2f99. Signed-off-by: Tom Rini <trini@konsulko.com>
2023-07-25MAINTAINERS: add myself as mcf_wdt.c maintainerAngelo Dureghello
Signed-off-by: Angelo Dureghello <angelo@kernel-space.org> --- Changes for v2: - none Changes for v3: - none
2023-07-25configs: m68k: add watchdog driverAngelo Dureghello
Add config options for mcf_wdt driver. Signed-off-by: Angelo Dureghello <angelo@kernel-space.org> --- Changes for v2: - none Changes for v3: - none
2023-07-25m68k: dts: add watchdog nodeAngelo Dureghello
Add watchdog node for the implemented mcf_wdt driver. Signed-off-by: Angelo Dureghello <angelo@kernel-space.org> --- Changes for v2: - remove unnecessary big-endian property Changes for v3: - none
2023-07-25m68k: move watchdog functions in mcf_wdt driverAngelo Dureghello
Move watchdog functions inside a separate watchdog driver. Signed-off-by: Angelo Dureghello <angelo@kernel-space.org> --- Changes for v2: - none Changes for v3: - none
2023-07-25drivers: watchdog: add mcf watchdog supportAngelo Dureghello
This watchdog driver applies to the following mcf families: - mcf52x2 (5271 5275 5282) - mcf532x (5329 5373) - mcf523x (5235) Cpu's not listed for each family does not have WDT module. Note, after some attempts testing by qemu on 5208 i finally abandoned, watchdog seems not implemented properly. The driver has been tested in a real M5282EVM. Signed-off-by: Angelo Dureghello <angelo@kernel-space.org> --- Changes for v2: - remove unnecessary hardcoded timeouts - remove unnecessary hw_watchdog_xxx stuff - rewrite wdog module reg calculation - using IS_ENABLED() where possible Changes for v3: - remove hardcoded 4s test
2023-07-25board: m68k add missing maintainerAngelo Dureghello
Add myself as a maintainer for orphaned boards. All these boards are covered by buildman m68k test. Signed-off-by: Angelo Dureghello <angelo@kernel-space.org>
2023-07-25Prepare v2023.10-rc1v2023.10-rc1Tom Rini
Signed-off-by: Tom Rini <trini@konsulko.com>
2023-07-25configs: Resync with savedefconfigTom Rini
Rsync all defconfig files using moveconfig.py Signed-off-by: Tom Rini <trini@konsulko.com>
2023-07-25Merge branch '2023-07-25-assorted-general-updates'Tom Rini
- A number of MAINTAINER file updates, assorted driver/platform fixes, performance improvements for sparse file writes, and 64bit time_t.
2023-07-25MAINTAINERS: Take maintainership of TI KeyStone2 supportAndrew Davis
Add arch/arm/mach-keystone/ into K2 board directory MAINTAINERS file. Convert current entries into regex match style. Assign maintainership to myself. Signed-off-by: Andrew Davis <afd@ti.com>
2023-07-25Makefile: Use sort shortoptsMarek Vasut
POSIX does not defined longopts for sort, use shortops for even more compatibility. Fixes: cc5a490cf465 ("Makefile: Sort u-boot-initial-env output") Reported-by: Milan P. Stanić <mps@arvanta.net> Signed-off-by: Marek Vasut <marex@denx.de> Reviewed-by: Mark Kettenis <kettenis@openbsd.org> Tested-by: Milan P. Stanić <mps@arvanta.net>
2023-07-25MAINTAINERS: Add some missing directories or filesTom Rini
In a few cases we have MAINTAINERS entries that are missing obvious paths or files. Typically this means a board directory that did not list itself, but in a few cases we have a Kconfig file or similar. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
2023-07-25MAINTAINERS: Deal with '+' in pathsTom Rini
The listed paths are allowed to contain wildcards. This includes the '+' character which we have as a literal part of the path in a few cases. Escape the '+' here so that files are matched. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
2023-07-25MAINTAINERS: Fix path typos and similarTom Rini
We have a number of cases where the in-tree path of files and where they presumably were when the first version of a patch were posted differ slightly. Correct these to point at where the files are now. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
2023-07-25MAINTAINERS: Add a number of "common" directoriesTom Rini
A number of platforms have "common" directories that are in turn not listed by the board MAINTAINERS file. Add these directories in many cases. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
2023-07-25xes: Remove leftover codeTom Rini
The platforms here have been removed, but the common code directory was forgotten. Clean up. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
2023-07-25arm: Remove leftover MAINTAINERS filesTom Rini
These platforms have been removed, but the MAINTAINERS file was missed, clean up. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
2023-07-25arm: Remove more remnants of bcmcygnusTom Rini
Remove some leftover files from the bcmcygnus platform. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
2023-07-25MAINTAINERS: Re-order CAAM sectionTom Rini
This file is in alphabetical order, move CAAM up to where it should be. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
2023-07-25sunxi: Add MAINTAINERS entry for Lctech Pi F1C200sTom Rini
This defconfig was added without a MAINTAINERS entry, add one. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>