summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-04-24arm: mach-k3: am642: move do_dt_magic() after sysfw loadingChristian Gmeiner
Makes it possible to use e.g mcu_spi0 for custom board detection. Signed-off-by: Christian Gmeiner <[email protected]> Reviewed-by: Bryan Brattlof <[email protected]>
2023-04-24include: configs: j721e_evm: Fix name_fdt for J7200Neha Malcom Francis
Currently, name_fdt is not set for J7200, fix this so right DTB is picked during boot. Signed-off-by: Neha Malcom Francis <[email protected]>
2023-04-24arm: mach-k3: common: re-locate authentication for atf/opteeManorit Chawdhry
For setting up the master firewalls present in the K3 SoCs, the arm64 clusters need to be powered on. Re-locates the code for atf/optee authentication. Signed-off-by: Manorit Chawdhry <[email protected]>
2023-04-24remoteproc: ti_k3_arm64: Change the startup of arm64 coreManorit Chawdhry
Configuring master firewalls require the power of the cluster to be enabled before configuring them, change the load of rproc to configure the gtc clocks and start the cluster along with configuring the boot vector. The start of rproc will only start the core. Signed-off-by: Manorit Chawdhry <[email protected]>
2023-04-24arm: dts: k3-am625-r5-sk: add a53 cluster powerManorit Chawdhry
adds a53 cluster to control from the rproc driver Signed-off-by: Manorit Chawdhry <[email protected]>
2023-04-24arm: dts: k3-am62a7-r5-sk: add a53 cluster power domain nodeManorit Chawdhry
adds a53 cluster to control from the rproc driver Signed-off-by: Manorit Chawdhry <[email protected]>
2023-04-24arm: dts: k3-am642-r5: add a53 cluster power domain nodeManorit Chawdhry
adds a53 cluster to control from the rproc driver Signed-off-by: Manorit Chawdhry <[email protected]>
2023-04-24arm: dts: k3-am642-r5-sk: add a53 cluster power domain nodeManorit Chawdhry
adds a53 cluster to control from the rproc driver Signed-off-by: Manorit Chawdhry <[email protected]>
2023-04-24arm: dts: k3-j7200-r5: add a72 cluster power domain nodeManorit Chawdhry
adds a72 cluster to control from the rproc driver Signed-off-by: Manorit Chawdhry <[email protected]>
2023-04-24arm: dts: k3-j721e-r5: add a72 cluster power domain nodeManorit Chawdhry
adds a72 cluster to control from the rproc driver Signed-off-by: Manorit Chawdhry <[email protected]>
2023-04-24arm: dts: k3-j721e-r5-sk: add a72 cluster power domain nodeManorit Chawdhry
adds a72 cluster to control from the rproc driver Signed-off-by: Manorit Chawdhry <[email protected]>
2023-04-24arm: dts: k3-j721s2-r5: add a72 cluster power domain nodeManorit Chawdhry
adds a72 cluster to control from the rproc driver Signed-off-by: Manorit Chawdhry <[email protected]>
2023-04-24arm: mach-k3: Remove empty sys_proto.h includeAndrew Davis
This header file is now empty, remove it. Signed-off-by: Andrew Davis <[email protected]> Reviewed-by: Christian Gmeiner <[email protected]>
2023-04-24arm: mach-k3: Move J721s2 SPL init functions to mach-k3Andrew Davis
This matches AM64 and J721e and removes the need to forward declare k3_spl_init(), k3_mem_init(), and check_rom_loaded_sysfw() in sys_proto.h. Signed-off-by: Andrew Davis <[email protected]> Reviewed-by: Christian Gmeiner <[email protected]>
2023-04-24arm: mach-k3: Move sdelay() and wait_on_value() declarationAndrew Davis
These probably should be in some system wide header given their use. Until then move them out of K3 sys_proto.h so we can finish cleaning that header out. Signed-off-by: Andrew Davis <[email protected]> Reviewed-by: Christian Gmeiner <[email protected]>
2023-04-24arm: mach-k3: Remove unused fdt_disable_node()Andrew Davis
This function is not used currently; remove it. Signed-off-by: Andrew Davis <[email protected]> Reviewed-by: Christian Gmeiner <[email protected]>
2023-04-24arm: mach-k3: Add weak do_board_detect() to common fileAndrew Davis
This matches how it was done for pre-K3 TI platforms and it allows us to move the forward declaration out of sys_proto.h. It also removes the need for K3_BOARD_DETECT as one is free to simply override the weak function in their board files as needed. Signed-off-by: Andrew Davis <[email protected]> Reviewed-by: Christian Gmeiner <[email protected]>
2023-04-24arm: mach-k3: Move sysfw-loader.h out of mach includesAndrew Davis
This header is only used locally by K3 init files, no need to have it up with the global mach includes. Move into local includes. Signed-off-by: Andrew Davis <[email protected]> Reviewed-by: Christian Gmeiner <[email protected]>
2023-04-24arm: mach-k3: Make release_resources_for_core_shutdown() commonAndrew Davis
This function is the same for each device when it needs to shutdown the R5 core. Move this to the common section and move the remaining device specific ID list to the device hardware include. Signed-off-by: Andrew Davis <[email protected]> Reviewed-by: Christian Gmeiner <[email protected]>
2023-04-24configs: j721s2_evm.h: Remove refrences to J7200 EVMAndrew Davis
The J7200 EVM will not include this file, this J7200 checks look to be a copy/paste errora from j721e_evm.h, which J7200 *can* include. Signed-off-by: Andrew Davis <[email protected]> Reviewed-by: Christian Gmeiner <[email protected]>
2023-04-24configs: j721x_evm: Remove unneeded check for SYS_K3_SPL_ATFAndrew Davis
The TARGET_x_R5_EVM check is already enough to limit these defines to only the correct builds. Remove the extra outer check. Signed-off-by: Andrew Davis <[email protected]> Reviewed-by: Christian Gmeiner <[email protected]>
2023-04-24soc: soc_ti_k3: Use hardware.h to remove definition duplicationAndrew Davis
The K3 JTAG and SoC ID information is already stored in the K3 arch hardware file, include that and use its definitions here. Signed-off-by: Andrew Davis <[email protected]> Reviewed-by: Christian Gmeiner <[email protected]>
2023-04-24arm: mach-k3: Move J721e SoC detection out of common sectionAndrew Davis
This belongs in the J721e specific file as it is the only place this is used. Any board level users should use the SOC driver. While here, move the J721e and J7200 SoC IDs out of sys_proto.h and into hardware.h. Use a macro borrowed from Rockchip and add the rest of the SoC IDs for completeness and later use. Signed-off-by: Andrew Davis <[email protected]> Reviewed-by: Christian Gmeiner <[email protected]>
2023-04-24arm: mach-k3: Move MSMC fixup to SoC levelAndrew Davis
The MSMC fixup is something we do based on SoC, not based on the board. So this fixup does not belong in the board files. Move this to the mach-k3 common file so that it does not have to be done in each board that uses these SoCs. We use ft_system_setup() here instead of ft_board_setup() since it is no longer board level. Enable OF_SYSTEM_SETUP in the configurations that use this to keep functionality the same. Signed-off-by: Andrew Davis <[email protected]> Reviewed-by: Christian Gmeiner <[email protected]>
2023-04-24Revert "arm: dts: dra7*/am57xx-idk-evm-u-boot: Add ipu early boot DT changes"Andrew Davis
This reverts commit 5717294230bc3578959960003be8984bbbb33642. This does not exist in upstream kernel.org and breaks boot on DRA7-EVMs. Drop the same. Signed-off-by: Andrew Davis <[email protected]>
2023-04-24arm: dts: keystone: Non-functional changes sync with v6.3-rc6Andrew Davis
This is a collection of all the whitespace, renames, comment, and other changes that should not change the DT functionality from Linux v6.3-rc6. Signed-off-by: Andrew Davis <[email protected]>
2023-04-24arm: dts: omap: Non-functional changes sync with v6.3-rc6Andrew Davis
This is a collection of all the whitespace, renames, comment, and other changes that should not change the DT functionality from Linux v6.3-rc6. Signed-off-by: Andrew Davis <[email protected]>
2023-04-24arm: dts: dm8x: Non-functional changes sync with v6.3-rc6Andrew Davis
This is a collection of all the whitespace, renames, comment, and other changes that should not change the DT functionality from Linux v6.3-rc6. Signed-off-by: Andrew Davis <[email protected]>
2023-04-24arm: dts: dra7x: Non-functional changes sync with v6.3-rc6Andrew Davis
This is a collection of all the whitespace, renames, comment, and other changes that should not change the DT functionality from Linux v6.3-rc6. Signed-off-by: Andrew Davis <[email protected]>
2023-04-24arm: dts: am3x: Non-functional changes sync with v6.3-rc6Andrew Davis
This is a collection of all the whitespace, renames, comment, and other changes that should not change the DT functionality from Linux v6.3-rc6. Signed-off-by: Andrew Davis <[email protected]>
2023-04-24arm: dts: am437x: Update to IOPAD to sync with v6.3-rc6Andrew Davis
Several DTS files have been updated in the Linux kernel with a new IOPAD macro. Sync for the same here. Signed-off-by: Andrew Davis <[email protected]>
2023-04-24arm: dts: am3x: Update IOPAD to PADCONF to sync with v6.3-rc6Andrew Davis
Several DTS files have been updated in the Linux kernel with a new PADCONF macro replacing the IOPAD version. Sync for the same here. Signed-off-by: Andrew Davis <[email protected]>
2023-04-24arm: dts: keystone: Update devicetree header comments to sync with v6.3-rc6Andrew Davis
Signed-off-by: Andrew Davis <[email protected]>
2023-04-24arm: dts: omap5x: Update devicetree header comments to sync with v6.3-rc6Andrew Davis
Signed-off-by: Andrew Davis <[email protected]>
2023-04-24arm: dts: omap4x: Update devicetree header comments to sync with v6.3-rc6Andrew Davis
Signed-off-by: Andrew Davis <[email protected]>
2023-04-24arm: dts: omap3x: Update devicetree header comments to sync with v6.3-rc6Andrew Davis
Signed-off-by: Andrew Davis <[email protected]>
2023-04-24arm: dts: dra7x: Update devicetree header comments to sync with v6.3-rc6Andrew Davis
Signed-off-by: Andrew Davis <[email protected]>
2023-04-24arm: dts: dm8x: Update devicetree header comments to sync with v6.3-rc6Andrew Davis
Signed-off-by: Andrew Davis <[email protected]>
2023-04-24arm: dts: am57x: Update devicetree header comments to sync with v6.3-rc6Andrew Davis
Signed-off-by: Andrew Davis <[email protected]>
2023-04-24arm: dts: am43x: Update devicetree header comments to sync with v6.3-rc6Andrew Davis
Signed-off-by: Andrew Davis <[email protected]>
2023-04-24arm: dts: am3x: Update devicetree header comments to sync with v6.3-rc6Andrew Davis
Signed-off-by: Andrew Davis <[email protected]>
2023-04-23patman: Declare the future Series memorySimon Glass
This member is used in series.MakeCcFile() so should be declared in the Series class. Add a declaration to silence the warning. Signed-off-by: Simon Glass <[email protected]>
2023-04-23Merge tag 'u-boot-rockchip-20230421' of ↵Tom Rini
https://source.denx.de/u-boot/custodians/u-boot-rockchip - Add rk3588 evb support; - Update pinctrl for rk3568 and rk3588; - Update rk3288 dts; - Update mmc support for rk3568 and rk3588; - Add rng support for rk3588; - Add DSI support for rk3568; - Some other misc fixes in dts, config, driver;
2023-04-22Merge tag 'efi-2023-07-rc1-2' of ↵Tom Rini
https://source.denx.de/u-boot/custodians/u-boot-efi Pull request for efi-2023-07-rc1-2 Documentation: * Describe Python coding style UEFI: * Enable tests for authenticated capsules on the sandbox * Fix pylint warnings * Correct struct efi_hii_keyboard_layout definition
2023-04-22Merge https://source.denx.de/u-boot/custodians/u-boot-riscvTom Rini
* Add StarFive VisionFive v2 Board support * Support CONFIG_REMAKE_ELF * Code cleanups for RISC-V architecture
2023-04-22Merge https://source.denx.de/u-boot/custodians/u-boot-watchdogTom Rini
- watchdog: arm_smc_wdt: add watchdog support (Lionel) - watchdog: ftwdt010: return a previously deleted driver now ported to DM (Sergei) - watchdog: Add a watchdog driver for Raspberry Pi boards (Etienne)
2023-04-22Merge tag 'u-boot-stm32-20230419' of ↵Tom Rini
https://source.denx.de/u-boot/custodians/u-boot-stm configs: _ Add usb_pgood_delay for ST boards _ increase malloc size for pre-reloc for stm32mp15 _ Set CONFIG_USB_HUB_DEBOUNCE_TIMEOUT=2s for stm32mp15 dts: _ Add QSPI support on STM32MP13x SoC family _ Add FMC support on STM32MP13x SoC family drivers/machine: _ pinctrl_stm32: Add slew rate support for stm32_pinctrl_get_pin_muxing() _ spi: stm32_qspi: Remove useless struct stm32_qspi_flash _ rawnand: stm32_fmc2: remove unsupported EDO mode _ stm32mp: fix various array bounds checks
2023-04-22Merge tag 'u-boot-nand-20230422' of ↵Tom Rini
https://source.denx.de/u-boot/custodians/u-boot-nand-flash Pull request for u-boot-nand-20230422 Replaces a patch by Linus Walleij merged with pull request u-boot-nand-20230417, with a newer version that contains fixes for tests run by Tom Rini.
2023-04-22mtd: rawnand: nand_base: Handle algorithm selectionLinus Walleij
For BRCMNAND with 1-bit BCH ECC (BCH-1) such as used on the D-Link DIR-885L and DIR-890L routers, we need to explicitly select the ECC like this in the device tree: nand-ecc-algo = "bch"; nand-ecc-strength = <1>; nand-ecc-step-size = <512>; This is handled by the Linux kernel but U-Boot core does not respect this. Fix it up by parsing the algorithm and preserve the behaviour using this property to select software BCH as far as possible. Reviewed-by: Michael Trimarchi <[email protected]> Acked-by: William Zhang <[email protected]> Signed-off-by: Linus Walleij <[email protected]> Tested-by: Tom Rini <[email protected]> [am335x_evm] Link: https://lore.kernel.org/all/[email protected]/ Signed-off-by: Dario Binacchi <[email protected]>
2023-04-22Revert "mtd: rawnand: nand_base: Handle algorithm selection"Dario Binacchi
It will be replaced by a more recent version which contains fixes for tests run by Tom Rini. This reverts commit ff33d3c87c2a1ab576607c2f67a9cb7690a4e7ca. Signed-off-by: Dario Binacchi <[email protected]>