summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-11-27cmd: kconfig: Make ufs prompt look similar to other commandsBin Meng
At present the 'ufs' command prompt does not look similar like other commands. Update it. Signed-off-by: Bin Meng <[email protected]> Reviewed-by: Simon Glass <[email protected]> Reviewed-by: Neha Malcom Francis <[email protected]>
2023-11-27ufs: Add a line feed to the end of some dev_xxx() messagesBin Meng
Add a line feed to improve readability of some dev_xxx() messages. Signed-off-by: Bin Meng <[email protected]> Reviewed-by: Neha Malcom Francis <[email protected]> Reviewed-by: Simon Glass <[email protected]>
2023-11-27ufs: Correct the UFS terminlogyBin Meng
UFS stands for Universal Flash Storage, not Subsytem. Signed-off-by: Bin Meng <[email protected]> Reviewed-by: Simon Glass <[email protected]> Reviewed-by: Neha Malcom Francis <[email protected]>
2023-11-27configs: Remove unneeded SYS_CONFIG_NAME from a*y17lte defconfigsSam Protsenko
As correct default SYS_CONFIG_NAME value is now set in board/samsung/axy17lte/Kconfig (in commit "board: samsung: Fix SYS_CONFIG_NAME configs in axy17lte Kconfig"), the SYS_CONFIG_NAME option can be safely removed from all a*y17lte defconfigs. That removal doesn't change resulting .config files. Signed-off-by: Sam Protsenko <[email protected]> Signed-off-by: Minkyu Kang <[email protected]>
2023-11-27board: samsung: Fix SYS_CONFIG_NAME configs in axy17lte KconfigSam Protsenko
There is a couple of issues related to SYS_CONFIG_NAME config in axy17lte Kconfig. 1. The global SYS_CONFIG_NAME in axy17lte Kconfig overrides SYS_CONFIG_NAME for all boards specified after this line in arch/arm/mach-exynos/Kconfig: source "board/samsung/axy17lte/Kconfig" Right now it's the last 'source' line there, so the issue is not reproducible. But once some board is moved or added after this line the next build error will happen: GEN include/autoconf.mk.dep In file included from ./include/common.h:16: include/config.h:3:10: fatal error: configs/exynos78x0-common.h.h: No such file or directory 3 | #include <configs/exynos78x0-common.h.h> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. That's happening because axy17lte Kconfig defines SYS_CONFIG_NAME option in global namespace (not guarded with any "if TARGET_..."), so it basically rewrites the correct SYS_CONFIG_NAME defined in the hypothetical boards which might appear after axy17lte in mach-exynos Kconfig. 2. Another side of the issue is that SYS_CONFIG_NAME is defined incorrectly in axy17lte Kconfig: config SYS_CONFIG_NAME default "exynos78x0-common.h" The .h extension should not have been specified there. It's leading to a build error, as the generated include file has a double '.h' extension. 3. Each target in axy17lte/Kconfig defines its own SYS_CONFIG_NAME. But all of those in fact incorrect, as corresponding include/configs/<CONFIG_SYS_CONFIG_NAME>.h header files don't exist. 4. The global SYS_CONFIG_NAME pretty much repeats the help description from arch/Kconfig and doc/README.kconfig. Corresponding defconfig files (a*y17lte_defconfig) fix above issues by overriding SYS_CONFIG_NAME and correctly setting it to "exynos78x0-common". Fix all mentioned issues by removing the incorrect global SYS_CONFIG_NAME and instead specifying it (correctly) in SYS_CONFIG_NAME options for each target instead. Signed-off-by: Sam Protsenko <[email protected]> Fixes: 3e2095e960b4 ("board: samsung: add support for Galaxy A series of 2017 (a5y17lte)") Signed-off-by: Minkyu Kang <[email protected]>
2023-11-27serial: s5p: Use dev_read_addr_ptr() to get base addressSam Protsenko
As the address read from device tree is being cast to a pointer, it's better to use dev_read_addr_ptr() API for getting that address. The more detailed explanation can be found in commit a12a73b66476 ("drivers: use dev_read_addr_ptr when cast to pointer"). Signed-off-by: Sam Protsenko <[email protected]> Reviewed-by: Simon Glass <[email protected]> Signed-off-by: Minkyu Kang <[email protected]>
2023-11-25Merge tag 'u-boot-dfu-20231124' of ↵Tom Rini
https://source.denx.de/u-boot/custodians/u-boot-dfu u-boot-dfu-20231124 - Fix reinit for ChipIdea controller - Add missing newline in fastboot error handling
2023-11-25Merge tag 'u-boot-dfu-next-20231124' of ↵Tom Rini
https://source.denx.de/u-boot/custodians/u-boot-dfu into next u-boot-dfu-next-20231124 - Make dfu entity name size configurable in KConfig - Implement start-stop for UMS (graceful shutdown via eject) - Improve help messages for cmd/bind - Improve help message for udc bind failures
2023-11-25Merge branch '2023-11-25-assorted-platform-updates' into nextTom Rini
- Updates for the Siemens AM335x platforms, Nuvoton platforms, and disable CONFIG_NET on platforms that lack NETDEVICES, so that NETDEVICES can be implied by NET.
2023-11-23serial: s5p: Improve coding styleSam Protsenko
Just some minor style fixes. No functional change. Signed-off-by: Sam Protsenko <[email protected]> Reviewed-by: Simon Glass <[email protected]> Signed-off-by: Minkyu Kang <[email protected]>
2023-11-23serial: s5p: Use named constants for register valuesSam Protsenko
Get rid of magic numbers in s5p_serial_init() when writing to UART registers. While at it, use BIT() macro for existing constants when appropriate. No functional change. Signed-off-by: Sam Protsenko <[email protected]> Reviewed-by: Simon Glass <[email protected]> Signed-off-by: Minkyu Kang <[email protected]>
2023-11-23serial: s5p: Use livetree API to get "id" propertySam Protsenko
Use dev_read_u8_default() instead of fdtdec_get_int() to read the "id" property from device tree, as suggested in [1]. dev_* API is already used in this driver, so there is no reason to stick to fdtdec_* API. This also fixes checkpatch warning: WARNING: Use the livetree API (dev_read_...) [1] doc/develop/driver-model/livetree.rst Signed-off-by: Sam Protsenko <[email protected]> Reviewed-by: Simon Glass <[email protected]> Signed-off-by: Minkyu Kang <[email protected]>
2023-11-23serial: s5p: Remove common.h inclusionSam Protsenko
It's not really needed here anymore. Remove it, as common.h is going away at some point. Signed-off-by: Sam Protsenko <[email protected]> Reviewed-by: Simon Glass <[email protected]> Signed-off-by: Minkyu Kang <[email protected]>
2023-11-22net: Make NET imply NETDEVICESTom Rini
Normally, when NET is enabled, CMD_NET will then be enabled and in turn NETDEVICES will (likely) be enabled via imply. However, if we disable CMDLINE in a defconfig we now no longer get CMD_NET enabling NETDEVICES for us. This suggestion (as an imply is) really isn't about the network commands but network itself and is a legacy of how intertwined NET/CMD_NET were historically. Move this over to the NET entry instead where it is a more logical fit. Reported-by: Simon Glass <[email protected]> Signed-off-by: Tom Rini <[email protected]> Reviewed-by: Simon Glass <[email protected]> Tested-by: Simon Glass <[email protected]>
2023-11-22boards: Disable NET on platforms without NETDEVICESTom Rini
None of these platforms enabled a networking devices, and disabled CMD_NET. Given that we used to gate network support on CMD_NET rather than NET, we disable CONFIG_NET on these platforms now. Signed-off-by: Tom Rini <[email protected]> Reviewed-by: Simon Glass <[email protected]>
2023-11-22board: nuvoton: update console environment variableJim Liu
If CONFIG_SYS_SKIP_UART_INIT is enabled, calculate the current baud rate and update the "console" environment variable. Signed-off-by: Jim Liu <[email protected]>
2023-11-22serial: npcm: support skip uart clock settingJim Liu
Skip the uart clock setting if CONFIG_SYS_SKIP_UART_INIT is enabled. Fix divisor error. Signed-off-by: Jim Liu <[email protected]>
2023-11-22configs: arbel: Enable full functionsJim Liu
Enable more functions/commands for arbel evb. Signed-off-by: Jim Liu <[email protected]>
2023-11-22arm: dts: npcm845-evb: fix/add node and aliasesJim Liu
Modify spi and usb aliases name. Add dt-binding for usb phy define and fix usb phy reset error. Add tpm/otpee and host_intf node. Signed-off-by: Jim Liu <[email protected]>
2023-11-22configs: draco: restore clock driverEnrico Leto
Fix 'failed to get fck clock' error on boot. Add missing configs. Signed-off-by: Enrico Leto <[email protected]>
2023-11-22configs: draco: disable misc initEnrico Leto
The initcall sequence fails at arch_misc_init. Disable misc init until driver model and DT are clean. Signed-off-by: Enrico Leto <[email protected]>
2023-11-22configs: draco: remove unused resources from splEnrico Leto
We don't need device tree, GPIO & SPI in SPL. Signed-off-by: Enrico Leto <[email protected]>
2023-11-22configs: thuban, rastaban: remove emmcEnrico Leto
These targets use NAND FLASH only. Maybe some MMC definitions were added by trying MMC for the etamin target evaluation and were not removed. Signed-off-by: Enrico Leto <[email protected]>
2023-11-22configs: draco: remove spi flash supportEnrico Leto
The SPI FLASH was set in the early development phase for evaluations. Any target use it anymore. Signed-off-by: Enrico Leto <[email protected]>
2023-11-22siemens,am335x: clean-up draco targetsEnrico Leto
Draco is a family of 3 boards: thuban, rastaban & etamin. Rename all targets of the family adding the draco- prefix to increase readibility and simplify future commits about concerning all boards of the family. The name draco was initially used for the first target. It's deprecated since a 2nd target was introduced. Unfortunately the draco target was copied to the thuban target instead to be renamed. Remove it to save unnecessary maintenance effort. Signed-off-by: Enrico Leto <[email protected]>
2023-11-22Merge branch '2023-11-22-TI-K3-cleanups' into nextTom Rini
This brings in a large number of cleanups and reorganizations to the TI K3 family of SoCs. We get DTS resyncs for most of the SoCs under that umbrella as well, and a few enhancements too.
2023-11-22arm: dts: k3-am68*: Sync with kernel v6.7-rc1Manorit Chawdhry
Sync devicetree with kernel v6.7-rc1 Signed-off-by: Manorit Chawdhry <[email protected]>
2023-11-22arm: dts: k3-j721s2*: Sync with kernel v6.7-rc1Manorit Chawdhry
Sync devicetree with kernel v6.7-rc1 Signed-off-by: Manorit Chawdhry <[email protected]>
2023-11-22arm: dts: k3-*-binman: Move to using templated FITsNeha Malcom Francis
Reduce redundancy in code by using templates to generate the A72 boot binaries (tispl.bin and u-boot.img) as well as R5 boot binary sysfw.itb (for legacy boot following devices J721E and AM65x). Signed-off-by: Neha Malcom Francis <[email protected]> Acked-by: Andrew Davis <[email protected]> Reviewed-by: Simon Glass <[email protected]> Reviewed-by: Manorit Chawdhry <[email protected]>
2023-11-22arm: dts: k3-binman: Add support for FIT templatesNeha Malcom Francis
Add templates for FIT images used extensively across K3 boards with most of the code common. This includes the FIT portions of: - tispl.bin - u-boot.img - sysfw.itb (in case of legacy boot flow) Signed-off-by: Neha Malcom Francis <[email protected]> Reviewed-by: Simon Glass <[email protected]>
2023-11-22arm: dts: k3-am625-sk-r5/u-boot: Drop duplicate bootph-nodesNishanth Menon
Kernel dts import now provides bootph-all and bootph-pre-ram properties for the properties we have been overriding so far. Drop the same. While at this enable the DM and TIFS UARTs for programming pinmux since they are marked reserved by board.dts Reviewed-by: Dhruva Gole <[email protected]> Tested-by: Dhruva Gole <[email protected]> Signed-off-by: Nishanth Menon <[email protected]>
2023-11-22arm: dts: k3-am625-beagleplay-u-boot: drop duplicate bootph-nodesNishanth Menon
Kernel dts import now provides bootph-all and bootph-pre-ram properties for the properties we have been overriding so far. Drop the same. Reviewed-by: Dhruva Gole <[email protected]> Tested-by: Dhruva Gole <[email protected]> Signed-off-by: Nishanth Menon <[email protected]>
2023-11-22arm: k3: Enable instruction cache for main domain SPLJoao Paulo Goncalves
Change spl_enable_dcache so it also enable icache on SPL initialization for the main domain part of the boot flow. This improves bootloader booting time. Link: https://lore.kernel.org/all/[email protected]/ Signed-off-by: Joao Paulo Goncalves <[email protected]> Tested-by: Nishanth Menon <[email protected]>
2023-11-22arm: dts: k3-am625: Drop SoC provided bootph params from board u-boot/r5 dtsiNishanth Menon
k3-am62* SoC dtsi files now provide the following: bootph-all: dmss secure_proxy_main dmsc k3_pds k3_clks k3_reset main_pmx0 main_timer0 mcu_pmx0 wkup_conf chipid bootph-pre-ram: secure_proxy_sa3 main_esm mcu_esm Drop these from board r5 and u-boot.dtsi files as these are duplicate in them now. Acked-by: Francesco Dolcini <[email protected]> Tested-by: Dhruva Gole <[email protected]> Signed-off-by: Nishanth Menon <[email protected]>
2023-11-22doc: board: ti: Add AM62A documentationJai Luthra
Add generic boot-flow diagrams, and SoC-specific info around build steps. Signed-off-by: Jai Luthra <[email protected]> Signed-off-by: Nishanth Menon <[email protected]>
2023-11-22arm: dts: k3-am625*: Sync with kernel v6.7-rc1Nishanth Menon
Sync with kernel v6.7-rc1 and sync up the u-boot dts files accordingly. Tested-by: Dhruva Gole <[email protected]> Signed-off-by: Nishanth Menon <[email protected]>
2023-11-22arm: dts: k3-am625-verdin-wifi-dev-u-boot.dtsi: Fix DMA with BCDMARoger Quadros
BCDMA can be used at SPL for OSPI boot and mem-to-mem DMA so add "bootph-all" to BCDMA node. Suggested-by: Nishanth Menon <[email protected]> Fixes: 9a3f2b6798b0 ("arm: dts: k3-am625-verdin-wifi-dev-u-boot.dtsi: Fix DMA/Ethernet") Signed-off-by: Roger Quadros <[email protected]> Reviewed-by: Nishanth Menon <[email protected]> Tested-by: Marcel Ziswiler <[email protected]>
2023-11-22arm: dts: k3-j7200: Sync with Linux 6.7-rc1Reid Tonking
Sync u-boot device tree with Linux kernel 6.7-rc1 Signed-off-by: Reid Tonking <[email protected]>
2023-11-22configs: am62ax_evm_a53_defconfig: switch to stdbootNishanth Menon
Switch over to stdboot Signed-off-by: Nishanth Menon <[email protected]>
2023-11-22board: ti: am62ax: env: Set the boot_targetsNishanth Menon
Set the default boot_targets to map up SD card as priority followed by emmc and so on. Signed-off-by: Nishanth Menon <[email protected]>
2023-11-22board: ti: am62ax: env: Use default findfdtNishanth Menon
Use the default findfdt instead of local logic. Signed-off-by: Nishanth Menon <[email protected]>
2023-11-22configs: am62ax_evm_a53_defconfig: Enable networkingNishanth Menon
Enable networking Signed-off-by: Nishanth Menon <[email protected]>
2023-11-22dma: ti: k3-udma: Introduce DMA support for the am62axVignesh Raghavendra
In preparation for enabling ethernet for the am62ax family of SoCs, introduce the initial DMA channel settings for the am62ax Signed-off-by: Vignesh Raghavendra <[email protected]> [[email protected]: expanded on commit message] Signed-off-by: Bryan Brattlof <[email protected]> Signed-off-by: Nishanth Menon <[email protected]>
2023-11-22arm: dts: k3-am62a*: Sync with kernel v6.7-rc1Nishanth Menon
Sync with kernel v6.7-rc1 and sync up the u-boot dts files accordingly. Signed-off-by: Nishanth Menon <[email protected]>
2023-11-22arm: mach-k3: am62a: Add main_timer0 id to the dev listNishanth Menon
main_timer0 is used by u-boot as the tick-timer. Add it to the soc devices list so it an be enabled via the k3 power controller. Signed-off-by: Nishanth Menon <[email protected]> Reviewed-by: Neha Malcom Francis <[email protected]>
2023-11-22arm: dts: k3-j721e-*: Sync with kernel v6.7-rc1Neha Malcom Francis
Sync the U-Boot DTS files with those of Kernel v6.7-rc1. Signed-off-by: Neha Malcom Francis <[email protected]>
2023-11-22dt-bindings: misc: Move esm-k3.txt to ti,j721e-esm.yamlNeha Malcom Francis
Move esm-k3.txt to ti,j721e-esm.yaml in line with the devicetree documentation in kernel. Signed-off-by: Neha Malcom Francis <[email protected]> Reviewed-by: Tom Rini <[email protected]>
2023-11-22doc: board: beagle: Add BeagleBone AI-64 documentationNishanth Menon
Add base documentation for BeagleBone AI-64. Signed-off-by: Nishanth Menon <[email protected]>
2023-11-22configs: Add j721e_beagleboneai64_* configsNishanth Menon
Add basic support for mmc/emmc and networking support for BeagleBone AI-64. Signed-off-by: Nishanth Menon <[email protected]>
2023-11-22board: beagle: Add BeagleBone AI-64 supportNishanth Menon
Add base support for BeagleBone AI-64 board support. Further information at https://beagleboard.org/ai-64 Signed-off-by: Nishanth Menon <[email protected]>