- Oct 11, 2024
-
-
Rename this function to indicate that it refers to any xPL phase. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
This name fits better with the new naming scheme, so update it. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
This is a better name for this function, so update it. Tidy up the function comment to mention VPL. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
This now appears in the code base, so add it to the list of ignored symbols in qconfig Signed-off-by:
Simon Glass <sjg@chromium.org>
-
The new name 'xPL' is intended to indicate a build of any phase which is not U-Boot proper. Define it for all such phases. Note that we also define CONFIG_SPL_BUILD for all xPL builds. This preserves existing behaviour, but future patches will adjust that. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Now that the conversion of all CONFIG options to Kconfig is complete, these files only contain the xPL_BUILD defines. Add a comment to make this clear. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Rename this file to indicate that it refers to any non-U-Boot-proper phase, not just SPL, which is the phase immediately before U-Boot proper. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
This is always enabled for U-Boot proper, so simplify the condition in the common Makefile. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
This is always enabled for U-Boot proper, so simplify the condition in the common Makefile. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
SPL_BUILD is not a Kconfig symbol. Perhaps the intent here is to use SPL instead. However, this causes build errors, e.g. with T1024RDB_NAND So drop the dependency on !SPL_BUILD since it does nothing. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
SPL_BUILD is not a Kconfig symbol so perhaps the intent here is to use SPL instead. But that changes the output size. So drop the dependency on !SPL_BUILD since it does nothing. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Use the normal SPL_TPL_ approach for this option. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Create this file for VPL as well, for consistency. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
- Sep 20, 2024
-
-
Padmarao Begari authored
U-Boot is not picking boot.scr script address from device tree rather it's using default address for Microblaze platform, and it's picking for other platforms. Remove conditional check for Microblaze platform, so that u-boot pick up boot.scr script address for all platforms from device tree. Signed-off-by:
Padmarao Begari <padmarao.begari@amd.com> Link: https://lore.kernel.org/r/20240913093231.2343528-1-padmarao.begari@amd.com Signed-off-by:
Michal Simek <michal.simek@amd.com>
-
Padmarao Begari authored
There are lot of device_is_compatible() present in the driver. Remove them and replace with a variables "SDHCI_COMPATIBLE_SDHCI_89A" and "SDHCI_COMPATIBLE_VERSAL_NET_EMMC" with match data. This change saves the space and reduce the execution time. Signed-off-by:
Padmarao Begari <padmarao.begari@amd.com> Link: https://lore.kernel.org/r/20240913093157.2343476-1-padmarao.begari@amd.com Signed-off-by:
Michal Simek <michal.simek@amd.com>
-
Prasad Kummari authored
Remove device tree overlay (DTBO) entries for the ZynqMP target from the Makefile. Add new device tree binaries (DTBs) for the zynqmp-sm-k24-revA and zynqmp-smk-k24-revA configurations. Signed-off-by:
Prasad Kummari <prasad.kummari@amd.com> Signed-off-by:
Michal Simek <michal.simek@amd.com> Link: https://lore.kernel.org/r/20240906070808.1045991-3-prasad.kummari@amd.com
-
Prasad Kummari authored
Linux commits: 15d16d6dadf6 kbuild: Add generic rule to apply fdtoverlay 44f87191d105 kbuild: parameterize the .o part of suffix-search The Linux commit 15d16d6dadf6 adds a generic rule in Makefile.lib to automatically apply fdtoverlay, so that each platform doesn't need to include a complex rule. This also automatically appends DTC_FLAGS_foo_base += -@ to all base files The platform's Makefile only needs to have this now: foo-dtbs := foo_base.dtb foo_overlay1.dtbo foo_overlay2.dtbo dtb-y := foo.dtb Signed-off-by:
Prasad Kummari <prasad.kummari@amd.com> Reviewed-by:
Tom Rini <trini@konsulko.com> Signed-off-by:
Michal Simek <michal.simek@amd.com> Link: https://lore.kernel.org/r/20240906070808.1045991-2-prasad.kummari@amd.com
-
Michal Simek authored
Add missing vc7_xin fixed clock as clock input for some clock generators. Signed-off-by:
Michal Simek <michal.simek@amd.com> Link: https://lore.kernel.org/r/4904f5e0aab8a0b0c2fcc1912be493d4185e6173.1725881047.git.michal.simek@amd.com
-
Sean Anderson authored
Set NIDEN, enabling non-invasive debug for the CCI-400 PMU. Otherwise, the PMU is effectively disabled. Signed-off-by:
Sean Anderson <sean.anderson@linux.dev> Reviewed-by:
Michal Simek <michal.simek@amd.com> Link: https://lore.kernel.org/r/20240905171833.325548-3-sean.anderson@linux.dev Signed-off-by:
Michal Simek <michal.simek@amd.com>
-
Sean Anderson authored
Boot devices (QSPI, MMC, NAND, and Ethernet) use secure access for DMA by default. As this causes problems when using the SMMU [1], configure them for normal access instead. [1] https://support.xilinx.com/s/article/72164 Signed-off-by:
Sean Anderson <sean.anderson@linux.dev> Link: https://lore.kernel.org/r/20240905171833.325548-2-sean.anderson@linux.dev Signed-off-by:
Michal Simek <michal.simek@amd.com>
-
Michal Simek authored
Enable simple-pm-bus driver to handle case where axi bus coming between PS (fixed) part to PL (programmable) part has own clock or power domain. That's why enable driver to be ready for this configuration. Signed-off-by:
Michal Simek <michal.simek@amd.com> Link: https://lore.kernel.org/r/b9f4bb85be502616edf3be2b79e52a0e2c03e821.1725349691.git.michal.simek@amd.com
-
Prasad Kummari authored
To boot into the firmware recovery tool, the user currently needs to press a button on the board while powering the system up. To simplify this process, a U-Boot command was added to allow booting directly into the recovery tool. For example: ZynqMP> zynqmp reboot <multiboot offset in hex> Co-develop-by:
Prasad Kummari <prasad.kummari@amd.com> Signed-off-by:
Prasad Kummari <prasad.kummari@amd.com> Co-develop-by:
Michal Simek <michal.simek@amd.com> Signed-off-by:
Michal Simek <michal.simek@amd.com> Link: https://lore.kernel.org/r/20240827115529.2931334-1-prasad.kummari@amd.com
-
Prasad Kummari authored
Included the SPI header to resolve the no previous prototypes for function. Removed unused mode variable. sparse warnings warning: no previous prototype for 'spi_get_env_dev' [-Wmissing-prototypes] warning: variable 'mode' set but not used [-Wunused-but-set-variable] Signed-off-by:
Prasad Kummari <prasad.kummari@amd.com> Link: https://lore.kernel.org/r/20240905115758.999936-1-prasad.kummari@amd.com Signed-off-by:
Michal Simek <michal.simek@amd.com>
-
- Sep 19, 2024
-
-
This patch fixes timeout issues seen on large NOR flash. For full-chip erase, where we use the SPINOR_OP_CHIP_ERASE (0xc7) opcode. Use a different timeout for full-chip erase than for other commands. [Ported from Linux kernel commit 09b6a377687b ("mtd: spi-nor: scale up timeout for full-chip erase") ] Signed-off-by:
Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
-
Tom Rini authored
Merge tag 'u-boot-imx-next-20240919' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx into next CI: https://source.denx.de/u-boot/custodians/u-boot-imx/-/pipelines/22363 - Several updates to i.MX9 SOC and i.MX93 EVK. - Power domain fixes. - TRDC cleanup and update. - MAC address layout update. - Add support for the i.MX9301/9302 variants. - Add runtime detection of voltage mode. - Generalize some code for i.MX8M and i.MX9. - Add support for Comvetia imx6q-lxr board.
-
https://source.denx.de/u-boot/custodians/u-boot-tpmTom Rini authored
This PR contains various improvements in the A/B update logic for EFI - Read both copies of metadata, in case one of the is corrupted - Check the metadata version against the running firmware to make sure it's allowed - Limit the use of a revert capsule if the board is on a trial state and make sure it's not applied if the max counter has expired
-
When dealing with processing of the empty capsule, the capsule gets applied only when the checks for the empty capsule pass. Print a message to highlight if empty capsule checks fail, and return an error value, similar to the normal capsules. Signed-off-by:
Sughosh Ganu <sughosh.ganu@linaro.org> Tested-by:
Michal Simek <michal.simek@amd.com> Signed-off-by:
Ilias Apalodimas <ilias.apalodimas@linaro.org>
-
When in Trial State, the platform keeps a count of the number of times it has booted in the Trial State. Once the threshold of the maximum allowed count exceeds, the platform reverts to boot from a different bank on subsequent boot, thus coming out of the Trial State. It is expected that all the updated images would be accepted or rejected while the platform is in Trial State. Put in checks so that it is not possible to apply an empty capsule once the max Trial Count exceeds. Signed-off-by:
Sughosh Ganu <sughosh.ganu@linaro.org> Tested-by:
Michal Simek <michal.simek@amd.com> Signed-off-by:
Ilias Apalodimas <ilias.apalodimas@linaro.org>
-
The FWU code supports both versions of the FWU metadata, i.e. v1 and v2. A platform can then select one of the two versions through a config symbol. Put a dependency in the FWU metadata version selection config symbol to ensure that both versions of the metadata cannot be enabled. Signed-off-by:
Sughosh Ganu <sughosh.ganu@linaro.org> Reviewed-by:
Michal Simek <michal.simek@amd.com> Tested-by:
Michal Simek <michal.simek@amd.com> Signed-off-by:
Ilias Apalodimas <ilias.apalodimas@linaro.org>
-
The platform transitions out of Trial State into the Regular State only when all the images in the update bank have been accepted. Check for this condition before transitioning out of Trial State. Signed-off-by:
Sughosh Ganu <sughosh.ganu@linaro.org> Tested-by:
Michal Simek <michal.simek@amd.com> Signed-off-by:
Ilias Apalodimas <ilias.apalodimas@linaro.org>
-
Do a sanity check that the version of the FWU metadata that has been read aligns with the version enabled in the image. This allows to indicate an early failure as part of the FWU module initialisation. Signed-off-by:
Sughosh Ganu <sughosh.ganu@linaro.org> Tested-by:
Michal Simek <michal.simek@amd.com> Signed-off-by:
Ilias Apalodimas <ilias.apalodimas@linaro.org>
-
In the version 2 of the FWU metadata, the metadata is broken into two parts, a top-level structure, which provides information on the total size of the structure among other things. Try reading the primary partition first, and if that fails, try reading the secondary partition. This will help in the scenario where the primary metadata partition has been corrupted, but the secondary partition is intact. Signed-off-by:
Sughosh Ganu <sughosh.ganu@linaro.org> Tested-by:
Michal Simek <michal.simek@amd.com> Signed-off-by:
Ilias Apalodimas <ilias.apalodimas@linaro.org>
-
Fabio Estevam authored
Add support for the Comvetia i.MX6Q LXR2 board, which is uses the Phytec PFLA02 SoM. Based on the original work from Stefano Babic <sbabic@denx.de>. The Phytec PFLA02 devicetrees are taken from kernel 6.11-rc7. The imx6q-lxr.dts has been submitted upstream: https://lore.kernel.org/linux-devicetree/20240913200906.1753458-3-festevam@gmail.com/ After it gets accepted in mainline (most likely in kernel 6.13), the lxr2 board can then be switched to OF_UPSTREAM and these device trees can be removed from U-Boot. Signed-off-by:
Fabio Estevam <festevam@denx.de>
-
Peng Fan authored
Add back low drive mode 1866mts ddr timing file, no need CONFIG_IMX9_LOW_DRIVE_MODE anymore, using runtime selection. Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Peng Fan authored
Remove unused CONFIG_IMX9_LOW_DRIVE_MODE kconfig and imx93_11x11_evk_ld_defconfig. Remove the ld timing file. The LD mode support will be added back with runtime detection later. Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Peng Fan authored
1. Use runtime voltage selection for LD/OD/ND mode. 2. According to latest PE/TE report, the voltages of VDD_SOC for LD and ND mode need add 50mv margin, so LD voltage is 0.75v->0.8v, ND voltage is 0.8v->0.85v. 3. Use TOFF_DEB to differentiate new trimmed pmic and old pmic Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Peng Fan authored
Add trdc_mbc_blk_num to get num blks in a MBC mem slot, then drop the hardcoded value '40' for NIC OCRAM configuration. Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Peng Fan authored
Replace magic number with meaningful macros. Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Peng Fan authored
i.MX8M and i.MX9 have duplicated fixup_thermal_trips, so move it to arch/arm/mach-imx/fdt.c to avoid duplicated code. The critial temperature point for i.MX9 set to "maxc - 5" back to give some margin. Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Ye Li authored
Add support for iMX93 low performance parts 9302 and 9301 which restrict to low drive voltage only. The parts run A55 max speed at 900Mhz and M33 at 133Mhz, have NPU and A55 core1 (9301) disabled. Reviewed-by:
Peng Fan <peng.fan@nxp.com> Signed-off-by:
Ye Li <ye.li@nxp.com> Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-