Tom Rini
dbf7fd557a
Merge patch series "Consistent Kconfig environment options CONFIG_ENV_ prefix"
...
Marek Vasut <marek.vasut+renesas@mailbox.org > says:
Rename the environment related variables and add ENV_ prefix, so that
all configuration options which are related to environment would have
an CONFIG_ENV_ prefix. No functional change.
Link: https://lore.kernel.org/r/20250609192701.20260-1-marek.vasut+renesas@mailbox.org
2025-06-20 12:57:47 -06:00
Marek Vasut
123682c765
env: Rename SYS_RELOC_GD_ENV_ADDR to ENV_RELOC_GD_ENV_ADDR
...
Rename the variable and add ENV_ prefix, so that all configuration
options which are related to environment would have an CONFIG_ENV_
prefix. No functional change.
Reviewed-by: Tom Rini <trini@konsulko.com >
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org >
2025-06-20 12:15:08 -06:00
Marek Vasut
5fb88fa725
env: Rename SYS_REDUNDAND_ENVIRONMENT to ENV_REDUNDANT
...
Rename the variable and add ENV_ prefix, so that all configuration
options which are related to environment would have an CONFIG_ENV_
prefix. No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org >
2025-06-20 12:15:08 -06:00
Tom Rini
89ee2ce3f9
configs: Resync with savedefconfig
...
Resync all defconfig files using qconfig.py
Signed-off-by: Tom Rini <trini@konsulko.com >
2025-06-09 09:32:19 -06:00
Padmarao Begari
799eaf090c
arm64: versal2: Remove dtb reselect and multi dtb
...
Presently the multi dtb's are not using on versal Gen 2
platform, so remove CONFIG_DTB_RESELECT and CONFIG_MULTI_DTB_FIT
from defconfig.
Signed-off-by: Padmarao Begari <padmarao.begari@amd.com >
Link: https://lore.kernel.org/r/20250409162639.588487-2-padmarao.begari@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com >
2025-04-16 15:39:48 +02:00
Venkatesh Yadav Abbarapu
142a7c6cdf
amd: versal2: Add support for saving env based on bootmode
...
Enable saving variables to MMC(FAT) and SPI based on primary
bootmode. If bootmode is JTAG, dont save env anywhere(NOWHERE).
Enable ENV_FAT_DEVICE_AND_PART="0:auto" for Versal Gen 2 platform.
Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com >
Link: https://lore.kernel.org/r/20250411154612.107136-1-venkatesh.abbarapu@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com >
2025-04-16 15:39:48 +02:00
Venkatesh Yadav Abbarapu
b09a611016
arm64: versal2: Update the number of DRAM banks to 36
...
HBM stands for high bandwidth memory and is a type of memory interface used
in 3D-stacked DRAM (dynamic random access memory) in some AMD GPUs (aka
graphics cards), as well as the server, high-performance computing (HPC)
and networking and client space. High Bandwidth Memory(HBM) has total 16
channels, one channel is divided into two pseudo channels which makes its
32 banks each with some amount of memory.
And then we have DDR_LOW PS low, DDR_HIGH0 PS high, DDR_HIGH1 PS very high
and pretty much there should be also place for PL DDR. So maximum number of
memory banks will be 36, updating the CONFIG_NR_DRAM_BANKS to 36.
Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com >
Link: https://lore.kernel.org/r/20250410092528.3713904-1-venkatesh.abbarapu@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com >
2025-04-16 13:44:44 +02:00
Michal Simek
c7c738e30a
amd: versal2: Enable NVMEM framework
...
Enable NVMEM framework to be able to for example read MAC address from
eeprom. For more information please look at commit 5db5b7e2a3 ("xilinx:
Enable NVMEM framework for all platforms").
Signed-off-by: Michal Simek <michal.simek@amd.com >
Link: https://lore.kernel.org/r/b6714165aee393528812ddbfc3cd18a3bbcf202e.1744270647.git.michal.simek@amd.com
2025-04-16 13:44:44 +02:00
Michal Simek
ecfecff3c3
amd: versal2: Enable SMBIOS command
...
Enabel SMBIOS command as was done by commit aa815e6c76 ("xilinx: Enable
SMBIOS command") for our other platforms.
Signed-off-by: Michal Simek <michal.simek@amd.com >
Link: https://lore.kernel.org/r/c1e236003c6ec250dbcc5178c873c171fffccd29.1744270535.git.michal.simek@amd.com
2025-04-16 13:44:44 +02:00
Prasad Kummari
44a26da8d9
arm64: versal2: Add PL bit stream load support
...
Add support for loading the secure & non-secure pdi images and PL
bitstream on the Versal Gen2 platform. The FPGA driver is enabled
to load the bitstream in PDI format on the AMD Versal Gen2 device.
PDI is the new programmable device image format for Versal Gen2,
and the bitstream for the Versal Gen2 platform is generated exclusively
in this format.
With the enhanced SMC format in TF-A ensuring transparent payload
forwarding for Versal Gen2, the u-boot driver must now handle the
word swapping of PDI address that was previously done in TF-A for
this API. The source code for the Versal2 loadpdi command and the
CONFIG_CMD_VERSAL2 configuration has been removed. It now utilizes
the fpga load <dev> <address> <length> command to load secure &
non-secure pdi images.
Signed-off-by: Prasad Kummari <prasad.kummari@amd.com >
Link: https://lore.kernel.org/r/20250327105200.1262615-3-prasad.kummari@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com >
2025-04-16 13:44:44 +02:00
Venkatesh Yadav Abbarapu
d688b0c1bd
arm64: versal2: Update the text base and dtb address
...
Update the TEXT_BASE and DTB address as per the new memory map.
Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com >
Signed-off-by: Michal Simek <michal.simek@amd.com >
Link: https://lore.kernel.org/r/3ffb6f1f7ff418f01ccc2eccf8a834441f9f0b74.1742461498.git.michal.simek@amd.com
2025-04-16 13:42:06 +02:00
Michal Simek
cad8f6a506
arm64: versal2: Disable debug console
...
Platforms can use uart0, uart1, dcc or even any other console that's why
disable debug console. It should be used for debugging purpose only.
Signed-off-by: Michal Simek <michal.simek@amd.com >
Link: https://lore.kernel.org/r/aa122482cf5b32ded4497469cac1829c6944f0fa.1741868926.git.michal.simek@amd.com
2025-04-16 13:42:06 +02:00
Venkatesh Yadav Abbarapu
6af08ed0c3
amd: versal2: Enable reset and power domain drivers
...
Enable power domain driver to request node for all the IP's that are
enabled in DT. Add CONFIG_RESET_ZYNQMP config in versal2 default
configuration to enable support for reset driver for versal2
platform.
Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com >
Link: https://lore.kernel.org/r/20250206110152.1532673-1-venkatesh.abbarapu@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com >
2025-04-16 13:42:06 +02:00
Padmarao Begari
8d2d615f14
xilinx: Remove tftp block size 4096
...
The zynqmp gem driver support max MTU size 1536, so remove tftp
block size 4096 from defconfig and use default tftp block size.
Fixes: a33b4b96b3 ("xilinx: Enable MBEDTLS/LWIP/WGET and WGET_HTTPS")
Signed-off-by: Padmarao Begari <padmarao.begari@amd.com >
Link: https://lore.kernel.org/r/20250304043030.2344536-1-padmarao.begari@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com >
2025-03-05 12:42:34 +01:00
Michal Simek
a33b4b96b3
xilinx: Enable MBEDTLS/LWIP/WGET and WGET_HTTPS
...
Enable lwip and https on our platforms to be able to use it in a boot.
Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org >
Signed-off-by: Michal Simek <michal.simek@amd.com >
Link: https://lore.kernel.org/r/cb05adaf0758c2c4f1361f8665169897493638e7.1738164681.git.michal.simek@amd.com
2025-02-05 16:22:55 +01:00
Michal Simek
8bca6c3de9
xilinx: Enable meminfo command with mapping
...
Enable meminfo command to be able to see where things are mapped.
Signed-off-by: Michal Simek <michal.simek@amd.com >
Link: https://lore.kernel.org/r/b7f9f5e18e16a945277d4b8cfde5a7f057e77676.1737976295.git.michal.simek@amd.com
2025-02-05 16:22:55 +01:00
Michal Simek
e6f779999a
xilinx: Enable mkfwumdata tool for a/b update
...
Build mkfwumdata tool by default for building ab mdata structure.
Signed-off-by: Michal Simek <michal.simek@amd.com >
Link: https://lore.kernel.org/r/6d82c9a2db30e12ea17fa125c68a555d7f070851.1737723845.git.michal.simek@amd.com
2025-02-05 16:22:55 +01:00
Venkatesh Yadav Abbarapu
a1319b5487
arm64: versal2: Enable the OPTEE command
...
Enable the command OPTEE which runs the basic 'hello world ta'.
Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com >
Link: https://lore.kernel.org/r/20250117064556.673369-1-venkatesh.abbarapu@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com >
2025-02-05 16:22:55 +01:00
Venkatesh Yadav Abbarapu
06ecbaae33
configs: versal2: Enable OPTEE support
...
Add OPTEE support for versal2 platform.
Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com >
Link: https://lore.kernel.org/r/20241127043745.249580-1-venkatesh.abbarapu@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com >
2024-11-29 13:21:17 +01:00
Tom Rini
867e16ae05
configs: Resync with savedefconfig
...
Rsync all defconfig files using moveconfig.py
Signed-off-by: Tom Rini <trini@konsulko.com >
2024-11-12 15:00:36 -06:00
Venkatesh Yadav Abbarapu
d3c32f2c76
configs: versal2: Add support for AMD UFS platform driver
...
Enable AMD UFS platform driver.
Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com >
Acked-by: Michal Simek <michal.simek@amd.com >
Link: https://lore.kernel.org/r/20240920041651.18173-4-venkatesh.abbarapu@amd.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org >
2024-10-14 08:55:35 +02:00
Tom Rini
d892702080
configs: Resync with savedefconfig
...
Rsync all defconfig files using moveconfig.py
Signed-off-by: Tom Rini <trini@konsulko.com >
2024-10-08 09:28:10 -06:00
Michal Simek
8ef2deefc5
xilinx: Enable SIMPLE_PM_BUS
...
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
2024-09-20 08:31:57 +02:00
Prasad Kummari
a484d4e3ee
amd: Enable the NFS command for Versal Gen 2
...
Enabled the default utilization of the NFS command on Versal Gen 2
platform to facilitate booting images through the network using
the NFS protocol
Signed-off-by: Prasad Kummari <prasad.kummari@amd.com >
Link: https://lore.kernel.org/r/20240711165734.1561933-1-prasad.kummari@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com >
2024-08-05 16:10:36 +02:00
Michal Simek
510faea376
arm64: versal2: Remove UARTLITE from defconfig
...
UARTLITE can be used as console but none is testing it that's why removing
it not to pop up there.
Signed-off-by: Michal Simek <michal.simek@amd.com >
Link: https://lore.kernel.org/r/c9b66495bbdef3fe94467ae43c50a74adaaeacae.1718716833.git.michal.simek@amd.com
2024-08-05 16:10:36 +02:00
Venkatesh Yadav Abbarapu
9ae5bbf08a
config: Enable the config CONFIG_MMC_SPEED_MODE_SET
...
Enable setting speed mode using mmc dev commands.
The speed mode is provided as the last argument in these commands
(ex: mmc dev 0 0 10) and is indicated using the index from enum
bus_mode in include/mmc.h. A speed mode can be set if it is enabled
from device tree or from capabilities register
Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com >
Link: https://lore.kernel.org/r/20240708091755.5021-1-venkatesh.abbarapu@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com >
2024-08-05 16:10:36 +02:00
Michal Simek
e4a11e984d
xilinx: Enable FF-A for all our arm64 SoCs
...
Enable FFA_TRANSPORT which also enable FFA command.
Signed-off-by: Michal Simek <michal.simek@amd.com >
Link: https://lore.kernel.org/r/5a850b1558fad0f05c61de82110abe4c0e7fd2e4.1718104009.git.michal.simek@amd.com
2024-06-17 16:02:30 +02:00
Michal Simek
9bf522cd5c
spi: versal2: Enable spi drivers for Versal Gen 2
...
Enable and update OSPI/QSPI/GQSPI drivers to support Versal Gen 2 SoCs.
Signed-off-by: Michal Simek <michal.simek@amd.com >
Link: https://lore.kernel.org/r/691782470f56f7d49a3204f6757296f2752d4156.1716994063.git.michal.simek@amd.com
2024-06-17 16:02:29 +02:00
Michal Simek
4950a98d14
mmc: versal2: Update zynq_sdhci driver to support AMD Versal Gen 2
...
Enable tap delay programming for new SoC and also enable it via defconfig.
Signed-off-by: Michal Simek <michal.simek@amd.com >
Link: https://lore.kernel.org/r/f07daded9704cbc393657b65a28933c34a8cec25.1716994063.git.michal.simek@amd.com
2024-06-17 16:02:29 +02:00
Michal Simek
96cec1bbc9
soc: versal2: Add SoC driver for AMD Versal Gen 2
...
Communication is happening via firmware interface (SMC) or via direct
register reading if firmware driver is not available.
Also enable it via defconfig.
Signed-off-by: Michal Simek <michal.simek@amd.com >
Link: https://lore.kernel.org/r/22cf9c765e47ab03dbf2b8363e6626e809113432.1716994063.git.michal.simek@amd.com
2024-06-17 16:02:29 +02:00
Michal Simek
40f5046c22
arm64: versal2: Add support for AMD Versal Gen 2
...
Add support for AMD Versal Gen 2. SoC is based on Cortex-a78ae 4 cluster/2
cpu core each. A lot of IPs are shared with previous families. There are
couple of new IP blocks where the most interesting from user point of view
is UFS.
Signed-off-by: Michal Simek <michal.simek@amd.com >
Link: https://lore.kernel.org/r/bc2b70831ce1031bd0fac32357bff84936e1310f.1716994063.git.michal.simek@amd.com
2024-06-17 16:02:29 +02:00