are exclueded by using zynqmp_qspi_update_stripe().
Also update copyright info for this file.
Signed-off-by: Ashok Reddy Soma
Signed-off-by: Venkatesh Yadav Abbarapu
---
drivers/spi/zynq_qspi.c | 139
include/spi.h | 3 +
2 files changed
commands are exclueded by using zynqmp_qspi_update_stripe().
Also update copyright info for this file.
Signed-off-by: Ashok Reddy Soma
Signed-off-by: Venkatesh Yadav Abbarapu
---
drivers/spi/zynqmp_gqspi.c | 146 -
include/spi.h | 12 +++
2 files
ned-off-by: Ashok Reddy Soma
Signed-off-by: Venkatesh Yadav Abbarapu
---
drivers/spi/spi-uclass.c | 21 -
drivers/spi/xilinx_spi.c | 4 ++--
drivers/spi/zynq_qspi.c | 6 +++---
drivers/spi/zynq_spi.c | 6 +++---
include/spi.h| 2 +-
5 files changed,
Add support for parallel memories flash configuration in read status
register and read flag status register functions.
Signed-off-by: Ashok Reddy Soma
Signed-off-by: Venkatesh Yadav Abbarapu
---
drivers/mtd/spi/spi-nor-core.c | 50 --
1 file changed, 36
Add support for parallel memories and stacked memories configuration
in read_bar and write_bar functions.
Signed-off-by: Ashok Reddy Soma
Signed-off-by: Venkatesh Yadav Abbarapu
---
drivers/mtd/spi/spi-nor-core.c | 55 +-
1 file changed, 47 insertions(+), 8
eration is performed at addr/2 flash offset,
where addr is the address specified by the user.
Similarly for read and erase operations it will read from both flashes,
so size and offset are divided by 2 and send to flash.
Signed-off-by: Ashok Reddy Soma
Signed-off-by: Venkatesh Yadav Abbarapu
---
drivers/
Add helper function to allow reading a single indexed u64 value from a
device-tree property containing multiple u64 values, that is an array of
u64's.
Signed-off-by: Ashok Reddy Soma
---
drivers/core/of_access.c | 22 ++
drivers/core/ofnode.c| 30
writing both the flashes. For doubling
the address space each operation is performed at addr/2 flash offset,
where addr is the address specified by the user.
Similarly for read and erase operations it will read from both flashes,
so size and offset are divided by 2 and send to flash.
Ashok Reddy
Add helper function to allow reading a single indexed u64 value from a
device-tree property containing multiple u64 values, that is an array of
u64's.
Signed-off-by: Ashok Reddy Soma
---
drivers/core/of_access.c | 22 ++
drivers/core/ofnode.c| 30
Add support to handle 'output-enable' and 'bias-high-impedance'
configurations in pinctrl driver.
Signed-off-by: Ashok Reddy Soma
---
drivers/pinctrl/pinctrl-zynqmp.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/pinctrl/pinctrl-zynqmp.c b/drivers/pinctrl/pinctrl
Add firmware API to check if given feature is supported.
Signed-off-by: Ashok Reddy Soma
---
drivers/firmware/firmware-zynqmp.c | 13 +
include/zynqmp_firmware.h | 3 +++
2 files changed, 16 insertions(+)
diff --git a/drivers/firmware/firmware-zynqmp.c
b/drivers
Reddy Soma
---
drivers/pinctrl/pinctrl-zynqmp.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/pinctrl/pinctrl-zynqmp.c b/drivers/pinctrl/pinctrl-zynqmp.c
index 02626a7561..e9857f5ed9 100644
--- a/drivers/pinctrl/pinctrl-zynqmp.c
+++ b/drivers/pinctrl/pinctrl-zynqmp.c
@@ -158,6
Add support for pinctrl driver to handle 'output-enable' and
'bias-high-impedance' configurations.
This support has been added in Xilinx ZynqMP Platform Management Firmware
recently, hence add a version check to avoid backward compatibility
issues.
Ashok Reddy Soma (3):
firmware: zynqmp: Add
Add gem_tsu and gem0_rx till gem3_rx to return proper register from
zynqmp_clk_get_register. Otherwise firmware won't be able to set clock
for these due to incorrect register address.
Signed-off-by: Ashok Reddy Soma
---
drivers/clk/clk_zynqmp.c | 5 +
1 file changed, 5 insertions(+)
diff
gem0_rx till gem3_rx and gem_tsu are missing from set rate function.
Add them, so that they can be set from pmu firmware via clock framework.
Signed-off-by: Ashok Reddy Soma
---
drivers/clk/clk_zynqmp.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/clk/clk_zynqmp.c b/drivers
There is a chance that assigned-clock-rates is given and assigned-clocks
could be empty. Dont return error in that case, because the probe of the
corresponding driver will not be called at all if this fails.
Better to continue to look for it and return 0.
Signed-off-by: Ashok Reddy Soma
Error 139
make: *** Deleting file 'u-boot'
Add dependency of CMD_USB for CONFIG_CMD_THOR_DOWNLOAD to fix the errors.
Signed-off-by: Ashok Reddy Soma
---
cmd/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 02e54f1e50..b44df9d67a 100644
--- a/cmd/Kconfig
DEFAULT_POLL_TIMEOUT and
CONFIG_THOR_RESET_OFF.
Remove CONFIG_ZYNQMP_USB from Kconfig and also from defconfig since it
is not used anywhere else.
Signed-off-by: Ashok Reddy Soma
---
arch/arm/mach-zynqmp/Kconfig | 3 ---
configs/xilinx_zynqmp_virt_defconfig | 1 -
include/configs/xilinx_zynqm
When USB device driver CONFIG_USB and CONFIG_CMD_USB are disabled, some
compilation issues are seen. Also CMD_THOR_DOWNLOAD should depend on
CONFIG_CMD_USB. Add dependencies to resolve those issues and compile
properly. Also remove unused config CONFIG_ZYNQMP_USB.
Ashok Reddy Soma (2):
cmd
target 'u-boot' failed
make: *** [u-boot] Error 139
make: *** Deleting file 'u-boot'
Add dependency of CONFIG_MMC for CONFIG_DFU_MMC config to fix the errors.
Signed-off-by: Ashok Reddy Soma
---
Changes in v2:
- Changed patch subject prefix to dfu from zynqmp: config
drivers/dfu/Kconfig | 1
target 'u-boot' failed
make: *** [u-boot] Error 139
make: *** Deleting file 'u-boot'
Add dependency of CONFIG_MMC for CONFIG_DFU_MMC config to fix the errors.
Signed-off-by: Ashok Reddy Soma
---
drivers/dfu/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/dfu/Kconfig b/d
both the
environments are not present.
Signed-off-by: Ashok Reddy Soma
---
env/common.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/env/common.c b/env/common.c
index 8beb8e6aa4..0ecdb248a0 100644
--- a/env/common.c
+++ b/env/common.c
@@ -353,6 +353,7 @@ int env_check_redund(const char
Add support for Versal NET mini eMMC 5.1 configuration. Add device tree
and defconfig.
Signed-off-by: Ashok Reddy Soma
---
arch/arm/dts/Makefile | 1 +
arch/arm/dts/versal-net-mini-emmc.dts | 64 +++
configs/xilinx_versal_net_mini_emmc_defconfig
Add support for Versal NET mini Octal SPI flash configuration. This runs
from onchip memory, so it has to be compact. Hence only Octal SPI
related settings are enabled.
Signed-off-by: Ashok Reddy Soma
---
arch/arm/dts/Makefile | 1 +
arch/arm/dts/versal-net-mini-ospi
Add support for Versal NET mini Quad SPI flash configuration. This runs
from onchip memory, so it has to be compact. Hence only Quad SPI
related settings are enabled.
Signed-off-by: Ashok Reddy Soma
---
arch/arm/dts/Makefile | 1 +
arch/arm/dts/versal-net-mini-qspi
In this patch series add support for Versal NET mini U-Boot
configurations for qspi, ospi and emmc flashes.
Ashok Reddy Soma (3):
xilinx: versal-net: Add mini qspi configuration
xilinx: versal-net: Add mini ospi configuration
xilinx: versal-net: Add mini eMMC 5.1 configuration
arch/arm
read_delay initialization for Versal NET also.
Signed-off-by: Ashok Reddy Soma
---
arch/arm/mach-versal-net/include/mach/hardware.h | 11 +++
drivers/spi/cadence_ospi_versal.c| 3 +--
drivers/spi/cadence_qspi.c | 13 +
3 files changed, 17
e ${scriptaddr}; echo XSPI: SCRIPT FAILED:
continuing...;
Signed-off-by: Ashok Reddy Soma
---
board/xilinx/versal-net/board.c | 24 +---
include/configs/xilinx_versal_net.h | 19 ---
2 files changed, 33 insertions(+), 10 deletions(-)
diff --git a/board/xilinx
off-by: Algapally Santosh Sagar
Reviewed-by: Michael Trimarchi
Signed-off-by: Ashok Reddy Soma
---
(no changes since v1)
drivers/mtd/nand/raw/zynq_nand.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/mtd/nand/raw/zynq_nand.c b/drivers/mtd/nand/raw/zynq_nand.c
in
Santosh Sagar
Signed-off-by: Ashok Reddy Soma
---
(no changes since v1)
board/xilinx/zynq/board.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/board/xilinx/zynq/board.c b/board/xilinx/zynq/board.c
index 9a59445b44..3b6581e304 100644
--- a/board/xilinx/zynq/board.c
+++ b/board/xilinx
From: Algapally Santosh Sagar
Pass missing argument type in the function definition to fix the
sparse warning, warning: old-style function definition
[-Wold-style-definition]
Signed-off-by: Algapally Santosh Sagar
Signed-off-by: Ashok Reddy Soma
---
Changes in v2:
- Added argument void
From: Algapally Santosh Sagar
Add missing prototype to fix the sparse warning, warning: no
previous prototype for 'zynq_qspi_mem_exec_op' [-Wmissing-prototypes].
Signed-off-by: Algapally Santosh Sagar
Signed-off-by: Ashok Reddy Soma
---
(no changes since v1)
drivers/spi/zynq_qspi.c | 4
From: Algapally Santosh Sagar
Add missing prototype to fix the below sparse warning
warning: no previous prototype for 'xilinx_qspi_mem_exec_op'
[-Wmissing-prototypes]
Signed-off-by: Algapally Santosh Sagar
Signed-off-by: Ashok Reddy Soma
---
(no changes since v1)
drivers/spi/xilinx_spi.c
From: Algapally Santosh Sagar
Add missing prototype to fix the sparse warning, warning: no
previous prototype for 'zynqmp_mmio_write' [-Wmissing-prototypes].
Signed-off-by: Algapally Santosh Sagar
Signed-off-by: Ashok Reddy Soma
---
Changes in v2:
- Move prototype declaration from
Fix below sparse warnings
- Add missing prototype for zynqmp_mmio_write
- Add missing prototype for zynq_qspi_mem_exec_op
- Change datatype of status and ecc_status from u32 to int
- Pass the missing argument type in function definition
- Add the missing function prototypes
- Add missing
Santosh Sagar
Signed-off-by: Ashok Reddy Soma
---
board/xilinx/zynq/board.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/board/xilinx/zynq/board.c b/board/xilinx/zynq/board.c
index 9a59445b44..3b6581e304 100644
--- a/board/xilinx/zynq/board.c
+++ b/board/xilinx/zynq/board.c
@@ -5,6
From: Algapally Santosh Sagar
Pass missing argument type in the function definition to fix the
sparse warning, warning: old-style function definition
[-Wold-style-definition]
Signed-off-by: Algapally Santosh Sagar
Signed-off-by: Ashok Reddy Soma
---
board/xilinx/zynq/zynq-zc706
off-by: Algapally Santosh Sagar
Signed-off-by: Ashok Reddy Soma
---
drivers/mtd/nand/raw/zynq_nand.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/mtd/nand/raw/zynq_nand.c b/drivers/mtd/nand/raw/zynq_nand.c
index 9e3ee7412d..545fdd7b69 100644
--- a/drivers/mtd/nand/
From: Algapally Santosh Sagar
Add missing prototype to fix the sparse warning, warning: no
previous prototype for 'zynq_qspi_mem_exec_op' [-Wmissing-prototypes].
Signed-off-by: Algapally Santosh Sagar
Signed-off-by: Ashok Reddy Soma
---
drivers/spi/zynq_qspi.c | 4 ++--
1 file changed, 2
From: Algapally Santosh Sagar
Add missing prototype to fix the sparse warning, warning: no
previous prototype for 'zynqmp_mmio_write' [-Wmissing-prototypes].
Signed-off-by: Algapally Santosh Sagar
Signed-off-by: Ashok Reddy Soma
---
arch/arm/mach-zynq/include/mach/sys_proto.h | 1 +
1 file
From: Algapally Santosh Sagar
Add missing prototype to fix the below sparse warning
warning: no previous prototype for 'xilinx_qspi_mem_exec_op'
[-Wmissing-prototypes]
Signed-off-by: Algapally Santosh Sagar
Signed-off-by: Ashok Reddy Soma
---
drivers/spi/xilinx_spi.c | 4 ++--
1 file
Fix below sparse warnings
- Add missing prototype for zynqmp_mmio_write
- Add missing prototype for zynq_qspi_mem_exec_op
- Change datatype of status and ecc_status from u32 to int
- Pass the missing argument type in function definition
- Add the missing function prototypes
- Add missing
for 'release_r5_reset'
[-Wmissing-prototypes]
4.warning: no previous prototype for 'enable_clock_r5'
[-Wmissing-prototypes]
Signed-off-by: Algapally Santosh Sagar
Signed-off-by: Ashok Reddy Soma
---
arch/arm/mach-versal/mp.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm
From: Algapally Santosh Sagar
Add the missing prototype pointed by below sparse warning
warning: no previous prototype for 'initialize_tcm'
[-Wmissing-prototypes]
Signed-off-by: Algapally Santosh Sagar
Signed-off-by: Ashok Reddy Soma
---
arch/arm/mach-versal/include/mach/sys_proto.h | 1
In this patch series, fix sparse warnings in below files
- arch/arm/mach-versal/mp.c
- arch/arm/mach-versal/include/mach/sys_proto.h
Algapally Santosh Sagar (2):
arm64: versal: Add missing prototype for initialize_tcm
arm64: versal: Add missing prototypes
for 'board_name_decode'
[-Wmissing-prototypes]
4. warning: no previous prototype for 'board_detection'
[-Wmissing-prototypes]
Signed-off-by: Algapally Santosh Sagar
Signed-off-by: Ashok Reddy Soma
---
board/xilinx/common/board.h | 7 +++
1 file changed, 7 insertions(+)
diff --git a/board/xilinx/common/board.h
Read boodmode register using versal_net_get_bootmode() in board_late_init
and prepare corresponding distro boot command sequence based on it.
versal_net_get_bootmode() will be changed to use smc calls later, but
for now directly reads the register.
Signed-off-by: Ashok Reddy Soma
---
Changes
.
Example:
ZynqMP> sf erase 0 0
ERROR: Invalid size 0
ZynqMP> sf write 1 0 0
ERROR: Invalid size 0
ZynqMP> sf read 1 0 0
ERROR: Invalid size 0
ZynqMP> sf update 1000 1 0
ERROR: Invalid size 0
ZynqMP>
Signed-off-by: Ashok Reddy Soma
---
Changes in v3:
- Change printf to deb
Read boodmode register using versal_net_get_bootmode() in board_late_init
and prepare corresponding distro boot command sequence based on it.
versal_net_get_bootmode() will be changed to use smc calls later, but
for now directly reads the register.
Signed-off-by: Ashok Reddy Soma
---
.../mach
-by: Ashok Reddy Soma
---
Changes in v2:
- Updated the missing mailids
- Removed the space after mail id
- Added closing brace for Vikhyat Goyal email id
.mailmap | 55 ---
1 file changed, 52 insertions(+), 3 deletions(-)
diff --git a/.mailmap b
From: Algapally Santosh Sagar
The mailmap ids are not arranged in the dictionary order. So, sort the
mailmap ids in the dictionary order.
Signed-off-by: Algapally Santosh Sagar
Signed-off-by: Ashok Reddy Soma
---
(no changes since v1)
.mailmap | 28 ++--
1 file
In this patch series
- Sort mailmap ids according to dictionary order
- Update all Xilinx users mail ids to AMD
Changes in v2:
- Updated the missing mailids
- Removed the space after mail id
- Added closing brace for Vikhyat Goyal email id
Algapally Santosh Sagar (2):
.mailmap: Sort the
-by: Ashok Reddy Soma
---
.mailmap | 54 +++---
1 file changed, 51 insertions(+), 3 deletions(-)
diff --git a/.mailmap b/.mailmap
index 80076f7206..46a8619d78 100644
--- a/.mailmap
+++ b/.mailmap
@@ -17,27 +17,46 @@
Alexander Graf
Allen Martin
From: Algapally Santosh Sagar
The mailmap ids are not arranged in the dictionary order. So, sort the
mailmap ids in the dictionary order.
Signed-off-by: Algapally Santosh Sagar
Signed-off-by: Ashok Reddy Soma
---
.mailmap | 28 ++--
1 file changed, 14 insertions
In this patch series
- Sort mailmap ids according to dictionary order
- Update all Xilinx users mail ids to AMD
Algapally Santosh Sagar (2):
.mailmap: Sort the mailmap ids in dictionary order
.mailmap: Map all Xilinx users mail ids to AMD
.mailmap | 80
Versal VEK280 board has Analog Devices ethernet phy. So, enable
CONFIG_PHY_ADIN config in Versal defconfig.
Signed-off-by: Ashok Reddy Soma
---
configs/xilinx_versal_virt_defconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/configs/xilinx_versal_virt_defconfig
b
Some of the Kria SOM and ZynqMP boards are using Analog Devices ethernet
phy. So, enable CONFIG_PHY_ADIN for all ZynqMP platforms.
Signed-off-by: Ashok Reddy Soma
---
configs/xilinx_zynqmp_virt_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/xilinx_zynqmp_virt_defconfig
In this patch series enable support for Analog Devices ethernet phy for
ZynqMP and Versal platforms.
Ashok Reddy Soma (2):
arm64: zynqmp: Enable ADIN ethernet phy
arm64: versal: Enable ADIN ethernet phy
configs/xilinx_versal_virt_defconfig | 3 ++-
configs/xilinx_zynqmp_virt_defconfig | 1
.
Example:
ZynqMP> sf erase 0 0
ERROR: Invalid size 0
ZynqMP> sf write 1 0 0
ERROR: Invalid size 0
ZynqMP> sf read 1 0 0
ERROR: Invalid size 0
ZynqMP> sf update 1000 1 0
ERROR: Invalid size 0
ZynqMP>
Signed-off-by: Ashok Reddy Soma
---
Changes in v2:
- Changed print
> sf erase 0 0
'size is 0'
ZynqMP> sf write 1 0 0
'size is 0'
ZynqMP> sf read 1 0 0
'size is 0'
ZynqMP> sf update 1000 1 0
'size is 0'
ZynqMP>
Signed-off-by: Ashok Reddy Soma
---
cmd/legacy-mtd-utils.c | 5 +
cmd/sf.c | 5 +
2 files changed, 10 inse
From: Algapally Santosh Sagar
Add missing prototype to fix the sparse warning, warning: no
previous prototype for 'board_boot_order' [-Wmissing-prototypes].
Signed-off-by: Algapally Santosh Sagar
Signed-off-by: Ashok Reddy Soma
---
Changes in v3:
- Replaced xilinx: zynqmp with just spl
From: Algapally Santosh Sagar
Add missing prototype to fix the sparse warning, warning: no
previous prototype for 'zynqmp_mmio_write' [-Wmissing-prototypes].
Signed-off-by: Algapally Santosh Sagar
Signed-off-by: Ashok Reddy Soma
---
(no changes since v1)
arch/arm/mach-versal-net/include
Run and fix sparse warnings in below files
-arch/arm/mach-zynqmp/include/mach/sys_proto.h
-common/spl/spl.c
-arch/arm/mach-versal-net/include/mach/sys_proto.h
-arch/arm/mach-versal/include/mach/sys_proto.h
-drivers/mmc/zynq_sdhci.c
-drivers/spi/zynqmp_gqspi.c
Changes in v3:
- Replaced
By default enable nand-on-flash-bbt DT flag, so that driver always refers
to the bad block table(bbt) present on the flash device.
Signed-off-by: Ashok Reddy Soma
---
arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts | 2 ++
arch/arm/dts/zynqmp-zc1751-xm017-dc3.dts | 2 ++
2 files changed, 4 insertions
DC3 nand node is not correct, it is showing all partitions under
controller node directly. Create two sub nand nodes with partitions for
each.
Signed-off-by: Ashok Reddy Soma
---
arch/arm/dts/zynqmp-zc1751-xm017-dc3.dts | 117 ++-
1 file changed, 70 insertions(+), 47
Ofnode value is not set, so all the DT properties are not being read
and due to this default values are being used.
Find nand node and set chip->flash_node value.
Signed-off-by: Ashok Reddy Soma
---
drivers/mtd/nand/raw/arasan_nfc.c | 4
1 file changed, 4 insertions(+)
diff --
Bad block table option is hardcoded to read from flash with
NAND_BBT_USE_FLASH option. This decision should be done based on DT
property. Remove this hardcoding, to be able to use DT property.
Signed-off-by: Ashok Reddy Soma
---
drivers/mtd/nand/raw/arasan_nfc.c | 1 -
1 file changed, 1
In this patch series
- Remove hardcoding of NAND_BBT_USE_FLASH in nand->bbt_options
- Find and update nand ofnode.
- Fix nand node in zynqmp-zc1751-xm017-dc3.dts file
- Enable nand-on-flash-bbt flag in zynqmp DT's by default
Ashok Reddy Soma (4):
mtd: nand: arasan: Remove hardcoded
From: Algapally Santosh Sagar
Add missing prototype to fix the sparse warning, warning: no
previous prototype for 'zynqmp_mmio_write' [-Wmissing-prototypes].
Signed-off-by: Algapally Santosh Sagar
Signed-off-by: Ashok Reddy Soma
---
(no changes since v1)
arch/arm/mach-versal-net/include
Run and fix sparse warnings in below files
-arch/arm/mach-zynqmp/include/mach/sys_proto.h
-common/spl/spl.c
-arch/arm/mach-versal-net/include/mach/sys_proto.h
-arch/arm/mach-versal/include/mach/sys_proto.h
-drivers/mmc/zynq_sdhci.c
-drivers/spi/zynqmp_gqspi.c
Changes in v2:
- Moved
From: Algapally Santosh Sagar
Add missing prototype to fix the sparse warning, warning: no
previous prototype for 'board_boot_order' [-Wmissing-prototypes].
Signed-off-by: Algapally Santosh Sagar
Signed-off-by: Ashok Reddy Soma
---
Changes in v2:
- Moved function prototype from sys_proto.h
From: Algapally Santosh Sagar
Add missing prototype to fix the sparse warning, warning: no
previous prototype for 'board_boot_order' [-Wmissing-prototypes].
Signed-off-by: Algapally Santosh Sagar
Signed-off-by: Ashok Reddy Soma
---
arch/arm/mach-zynqmp/include/mach/sys_proto.h | 1 +
common
From: Algapally Santosh Sagar
Add missing prototype to fix the sparse warning, warning: no
previous prototype for 'zynqmp_mmio_write' [-Wmissing-prototypes].
Signed-off-by: Algapally Santosh Sagar
Signed-off-by: Ashok Reddy Soma
---
arch/arm/mach-versal-net/include/mach/sys_proto.h | 7
Run and fix sparse warnings in below files
-arch/arm/mach-zynqmp/include/mach/sys_proto.h
-common/spl/spl.c
-arch/arm/mach-versal-net/include/mach/sys_proto.h
-arch/arm/mach-versal/include/mach/sys_proto.h
-drivers/mmc/zynq_sdhci.c
-drivers/spi/zynqmp_gqspi.c
Algapally Santosh Sagar (2):
d and also sdhci and gem drivers
didn't protect the code properly.
So, add the missing ZYNQMP_FIRMWARE dependencies.
Signed-off-by: Algapally Santosh Sagar
Signed-off-by: Ashok Reddy Soma
---
board/xilinx/zynqmp/Kconfig | 1 +
drivers/clk/Kconfig | 4 ++--
drivers/fpga/Kconfig
-off-by: Algapally Santosh Sagar
Signed-off-by: Ashok Reddy Soma
---
Changes in v2:
- Updated description
drivers/mmc/zynq_sdhci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mmc/zynq_sdhci.c b/drivers/mmc/zynq_sdhci.c
index 7dcf6ad842..be4075c97a 100644
From: Algapally Santosh Sagar
Add missing prototype to fix the sparse warning, warning: no
previous prototype for 'do_go_exec' [-Wmissing-prototypes].
Signed-off-by: Algapally Santosh Sagar
Signed-off-by: Ashok Reddy Soma
---
Changes in v2:
- Changed subject from missing prototype
From: Algapally Santosh Sagar
There is a unused variable ret, due to which we are getting sparse warning
as below.
warning: variable 'ret' set but not used [-Wunused-but-set-variable].
Return ret incase of error.
Signed-off-by: Algapally Santosh Sagar
Signed-off-by: Ashok Reddy Soma
Signed-off-by: Ashok Reddy Soma
---
Changes in v2:
- Included header file instead of declaring prototype
- Modified description to reflect the same
board/xilinx/common/board.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/board/xilinx/common/board.c b/board/xilinx/common/board.c
index
Run and fix sparse warnings in below files
-drivers/mmc/zynq_sdhci.c
-board/xilinx/common/board.h
-drivers/gpio/zynqmp_gpio_modepin.c
-board/xilinx/versal/board.c
Changes in v2:
- Included header file instead of declaring prototype
- Modified description to reflect the same
- Instead of
Add support for HS400 in mode2timing array.
Add a quirk for Versal NET platform to indicate that HS400 is supported
through bit63 of capability register.
Signed-off-by: Ashok Reddy Soma
---
drivers/mmc/zynq_sdhci.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/mmc
HS400 is indicated in bit63 of capability register in few IP's.
Add a quirk to check this and add HS400 to host capabilities.
Signed-off-by: Ashok Reddy Soma
---
drivers/mmc/sdhci.c | 4
include/sdhci.h | 3 +++
2 files changed, 7 insertions(+)
diff --git a/drivers/mmc/sdhci.c b
Check if the low level driver supports config_dll callback function and
call it if it does. Call with dll disable before calling set_clock and
with dll enable after it.
Signed-off-by: Ashok Reddy Soma
---
drivers/mmc/sdhci.c | 16
include/sdhci.h | 2 ++
2 files changed
-off-by: Ashok Reddy Soma
---
drivers/mmc/zynq_sdhci.c | 287 ++-
1 file changed, 284 insertions(+), 3 deletions(-)
diff --git a/drivers/mmc/zynq_sdhci.c b/drivers/mmc/zynq_sdhci.c
index 7dcf6ad842..8415da3373 100644
--- a/drivers/mmc/zynq_sdhci.c
+++ b/drivers
Ashok Reddy Soma (4):
mmc: zynq_sdhci: Add support for eMMC5.1 for Versal NET platform
mmc: sdhci: Check and call config_dll callback functions
mmc: sdhci: Enable HS400 support if available in caps
mmc: zynq_sdhci: Add support and quirk for HS400
drivers/mmc/sdhci.c | 20 +++
drivers
From: Algapally Santosh Sagar
tuning_loop_counter is of char type. Change to int to fix below warning.
warning: comparison is always false due to limited range of data type.
Signed-off-by: Algapally Santosh Sagar
Signed-off-by: Ashok Reddy Soma
---
drivers/mmc/zynq_sdhci.c | 2 +-
1 file
From: Algapally Santosh Sagar
Add missing prototype to fix the sparse warning, warning: no
previous prototype for 'do_go_exec' [-Wmissing-prototypes].
Signed-off-by: Algapally Santosh Sagar
Signed-off-by: Ashok Reddy Soma
---
board/xilinx/versal/board.c | 1 +
1 file changed, 1 insertion
From: Algapally Santosh Sagar
There is a unused variable ret, due to which we are getting sparse warning
as below.
warning: variable 'ret' set but not used [-Wunused-but-set-variable].
Remove variable ret.
Signed-off-by: Algapally Santosh Sagar
Signed-off-by: Ashok Reddy Soma
---
drivers
From: Algapally Santosh Sagar
Add missing prototype to fix the sparse warning, warning: no previous
prototype for 'board_get_usable_ram_top' [-Wmissing-prototypes].
Signed-off-by: Algapally Santosh Sagar
Signed-off-by: Ashok Reddy Soma
---
board/xilinx/common/board.h | 4
1 file
Run and fix sparse warnings in below files
-drivers/mmc/zynq_sdhci.c
-board/xilinx/common/board.h
-drivers/gpio/zynqmp_gpio_modepin.c
-board/xilinx/versal/board.c
Algapally Santosh Sagar (4):
xilinx: common: Add missing prototype for board_get_usable_ram_top
gpio: zynqmp: Remove unused
served)
0x1ff40(bbt reserved)
0x1ff80(bbt reserved)
0x1ffc00000(bbt reserved)
Signed-off-by: Ashok Reddy Soma
Reviewed-by: Michael Trimarchi
---
Changes in v2:
- Changed "Reserved for bbt" to (bbt reserved)
- Updated description and the log in the description
0x11680
0x116c0
0x1ff00<--- Reserved for bbt
0x1ff40<--- Reserved for bbt
0x1ff80<--- Reserved for bbt
0x1ffc0<--- Reserved for bbt
Signed-off-by: Ashok Reddy Soma
---
cmd/nand.c | 9 ++---
drivers/mtd/nand/raw/nand_bbt.
cadence_qspi_apb_enable_linear_mode() has a weak function defined, so no
need to gaurd this under if (CONFIG_IS_ENABLED(ARCH_VERSAL)).
In cadence_qspi_apb_write_execute(), enable linear mode is called twice by
mistake, remove extra one.
Signed-off-by: Ashok Reddy Soma
---
drivers/spi
From: T Karthik Reddy
The driver was using an incorrect value for GQSPI_LPBK_DLY_ADJ_DLY_1
tapdelay for Versal for frequencies above 100MHz. Change it from 2 to 1
based on the recommended value in IP spec.
Signed-off-by: T Karthik Reddy
Signed-off-by: Ashok Reddy Soma
---
Changes in v2
From: T Karthik Reddy
Update GQSPI_LPBK_DLY_ADJ_DLY_1 tapdelay value for Versal for
frequencies above 100MHz.
Signed-off-by: T Karthik Reddy
Signed-off-by: Ashok Reddy Soma
---
drivers/spi/zynqmp_gqspi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/spi
ck to work properly.
Signed-off-by: Algapally Santosh Sagar
Signed-off-by: Ashok Reddy Soma
---
drivers/mtd/spi/spi-nor-core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mtd/spi/spi-nor-core.c b/drivers/mtd/spi/spi-nor-core.c
index 78de3c5281..1ea8363
.
Signed-off-by: Ashok Reddy Soma
---
Changes in v3:
- Add dts files for octal flash mini u-boot.
- Add below configs to fix compilation error.
CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0xFFFE
Changes in v2:
- Run savedefconfig and updated mini config for ospi
When cadence_qspi_versal_flash_reset() function is called in mini
u-boot where there is no firmware support, it is missing defines for
macro's BOOT_MODE_POR_0 & BOOT_MODE_POR_1. Remove them and replace with
already define macro's which have same values as these.
Signed-off-by: Ashok Reddy
-by: Ashok Reddy Soma
---
Changes in v3:
- Added dts files for qspi mini configuration
- Added CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0xfffe
to fix compilation error.
Changes in v2:
- Removed configs/xilinx_* from MAINTAINERS as, it is already taken
configs/xilinx_* from MAINTAINERS as, it is already taken care.
- Run savedefconfig and updated mini config to align with latest Kconfig
layout
- Run savedefconfig and updated mini config for ospi to align with
latest Kconfig layout
Ashok Reddy Soma (3):
arm64: versal: Add qspi flash mini u
1 - 100 of 282 matches
Mail list logo