configs: zynqmp: don't remove power-domains for spl device tree
Subsystems (3)
PATCH 1/5 configs: zynqmp: don't remove power-domains for spl device tree
From: Steffen Dirkwinkel <[email protected]>
These are used during sdhci initialization as functions are called with node_id even if we're not talking to the firmware.
---
configs/xilinx_zynqmp_virt_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
configs/xilinx_zynqmp_virt_defconfig +1 -1
@@ -107,7 +107,7 @@ CONFIG_PARTITION_TYPE_GUID=y CONFIG_SPL_OF_CONTROL=y CONFIG_OF_BOARD=y CONFIG_OF_LIST="avnet-ultra96-rev1 zynqmp-a2197-revA zynqmp-e-a2197-00-revA zynqmp-e-a2197-00-revB zynqmp-g-a2197-00-revA zynqmp-m-a2197-01-revA zynqmp-m-a2197-02-revA zynqmp-m-a2197-03-revA zynqmp-p-a2197-00-revA zynqmp-zc1232-revA zynqmp-zc1254-revA zynqmp-zc1751-xm015-dc1 zynqmp-zc1751-xm016-dc2 zynqmp-zc1751-xm017-dc3 zynqmp-zc1751-xm018-dc4 zynqmp-zc1751-xm019-dc5 zynqmp-zcu100-revC zynqmp-zcu102-rev1.1 zynqmp-zcu102-rev1.0 zynqmp-zcu102-revA zynqmp-zcu102-revB zynqmp-zcu104-revA zynqmp-zcu104-revC zynqmp-zcu106-revA zynqmp-zcu106-rev1.0 zynqmp-zcu111-revA zynqmp-zcu1275-revA zynqmp-zcu1275-revB zynqmp-zcu1285-revA zynqmp-zcu208-revA zynqmp-zcu216-revA zynqmp-topic-miamimp-xilinx-xdp-v1r1 zynqmp-sm-k26-revA zynqmp-smk-k26-revA zynqmp-dlc21-revA" -CONFIG_OF_SPL_REMOVE_PROPS="pinctrl-0 pinctrl-names interrupt-parent interrupts iommus power-domains" +CONFIG_OF_SPL_REMOVE_PROPS="pinctrl-0 pinctrl-names interrupt-parent interrupts iommus" CONFIG_ENV_IS_NOWHERE=y CONFIG_ENV_IS_IN_FAT=y CONFIG_ENV_IS_IN_NAND=y
Signature · 1 line
2.39.2
PATCH 2/5 mmc: zynq-sdhci: refactor tapdelay settings
From: Steffen Dirkwinkel <[email protected]>
Previously we were setting in tapdelay for SD1 every time even if SD0 was requested.
The SD tapdelay settings are shifted by 16 bits between SD0 and SD1. We can use that to make our tapdelay setup simpler. This is also how it currently works in arm-trusted-firmware.
---
drivers/mmc/zynq_sdhci.c | 65 +++++++++++++++++----------------------- 1 file changed, 28 insertions(+), 37 deletions(-)
drivers/mmc/zynq_sdhci.c +28 -37
@@ -42,14 +42,11 @@#define SD_OTAP_DLY 0xFF180318#define SD0_DLL_RST BIT(2)#define SD1_DLL_RST BIT(18) +#define SD1_TAP_OFFSET 16#define SD0_ITAPCHGWIN BIT(9) -#define SD1_ITAPCHGWIN BIT(25)#define SD0_ITAPDLYENA BIT(8) -#define SD1_ITAPDLYENA BIT(24)#define SD0_ITAPDLYSEL_MASK GENMASK(7, 0) -#define SD1_ITAPDLYSEL_MASK GENMASK(23, 16)#define SD0_OTAPDLYSEL_MASK GENMASK(5, 0) -#define SD1_OTAPDLYSEL_MASK GENMASK(21, 16)#define MIN_PHY_CLK_HZ 50000000
@@ -275,44 +272,32 @@ static int arasan_sdhci_config_dll(struct sdhci_host *host, unsigned int clock,static inline int arasan_zynqmp_set_in_tapdelay (u32 node_id,u32 itap_delay) {int ret; +u32 shift; -if (IS_ENABLED (CONFIG_SPL_BUILD ) ||current_el () ==3 ) { -if (node_id ==NODE_SD_0 ) { - ret =zynqmp_mmio_write (SD_ITAP_DLY ,SD0_ITAPCHGWIN , -SD0_ITAPCHGWIN ); -if (ret) -return ret; - - ret =zynqmp_mmio_write (SD_ITAP_DLY ,SD0_ITAPDLYENA , -SD0_ITAPDLYENA ); -if (ret) -return ret; - - ret =zynqmp_mmio_write (SD_ITAP_DLY ,SD0_ITAPDLYSEL_MASK , - itap_delay); -if (ret) -return ret; +if (node_id ==NODE_SD_0 ) + shift =0 ; +else if (node_id ==NODE_SD_1 ) + shift =SD1_TAP_OFFSET ; +else +return -EINVAL ; - ret =zynqmp_mmio_write (SD_ITAP_DLY ,SD0_ITAPCHGWIN ,0 ); -if (ret) -return ret; - } - ret =zynqmp_mmio_write (SD_ITAP_DLY ,SD1_ITAPCHGWIN , -SD1_ITAPCHGWIN ); +if (IS_ENABLED (CONFIG_SPL_BUILD ) ||current_el () ==3 ) { + ret =zynqmp_mmio_write (SD_ITAP_DLY ,SD0_ITAPCHGWIN << shift, +SD0_ITAPCHGWIN << shift);if (ret)return ret; - ret =zynqmp_mmio_write (SD_ITAP_DLY ,SD1_ITAPDLYENA , -SD1_ITAPDLYENA ); + ret =zynqmp_mmio_write (SD_ITAP_DLY ,SD0_ITAPDLYENA << shift, +SD0_ITAPDLYENA << shift);if (ret)return ret; - ret =zynqmp_mmio_write (SD_ITAP_DLY ,SD1_ITAPDLYSEL_MASK , - (itap_delay <<16 )); + ret =zynqmp_mmio_write (SD_ITAP_DLY ,SD0_ITAPDLYSEL_MASK << shift, + itap_delay << shift);if (ret)return ret; - ret =zynqmp_mmio_write (SD_ITAP_DLY ,SD1_ITAPCHGWIN ,0 ); + ret =zynqmp_mmio_write (SD_ITAP_DLY ,SD0_ITAPCHGWIN << shift,0 );if (ret)return ret; }else {
@@ -326,14 +311,20 @@ static inline int arasan_zynqmp_set_in_tapdelay(u32 node_id, u32 itap_delay)static inline int arasan_zynqmp_set_out_tapdelay (u32 node_id,u32 otap_delay) { +u32 shift; + +if (node_id ==NODE_SD_0 ) + shift =0 ; +else if (node_id ==NODE_SD_1 ) + shift =SD1_TAP_OFFSET ; +else +return -EINVAL ; +if (IS_ENABLED (CONFIG_SPL_BUILD ) ||current_el () ==3 ) { -if (node_id ==NODE_SD_0 ) -return zynqmp_mmio_write (SD_OTAP_DLY , -SD0_OTAPDLYSEL_MASK , - otap_delay); +return zynqmp_mmio_write (SD_OTAP_DLY , +SD0_OTAPDLYSEL_MASK << shift, + otap_delay << shift); -return zynqmp_mmio_write (SD_OTAP_DLY ,SD1_OTAPDLYSEL_MASK , - (otap_delay <<16 )); }else { return xilinx_pm_request(PM_IOCTL, node_id, IOCTL_SET_SD_TAPDELAY,
Signature · 1 line
2.39.2
Re: [PATCH 2/5] mmc: zynq-sdhci: refactor tapdelay settings
Hi,
When we run in el3 for zynqmp board, we are seeing below issue with this patch:
Model: ZynqMP MINI EMMC0 Board: Xilinx ZynqMP DRAM: 512 MiB EL Level: EL3 Secure Boot: not authenticated, not encrypted Multiboot: 0 Core: 10 devices, 9 uclasses, devicetree: embed MMC: sdhci@ff160000: 0 Loading Environment from <NULL>... OK In: dcc Out: dcc Err: dcc
ZynqMP> mmc list
sdhci@ff160000: 0
ZynqMP> mmc dev 0 0arasan_sdhci sdhci@ff160000: Error setting Input Tap Delaysdhci_set_clock: Error while setting tap delaysdhci_send_command: Timeout for status update: 00000000 00000001 ZynqMP>
Regards,
Love Kumar
Quoted 121 lines · Steffen Dirkwinkel
From: Steffen Dirkwinkel <[email protected]>
Previously we were setting in tapdelay for SD1 every time even if SD0 was requested.
The SD tapdelay settings are shifted by 16 bits between SD0 and SD1. We can use that to make our tapdelay setup simpler. This is also how it currently works in arm-trusted-firmware.Signed-off-by Steffen Dirkwinkel <[email protected]>---
drivers/mmc/zynq_sdhci.c | 65 +++++++++++++++++----------------------- 1 file changed, 28 insertions(+), 37 deletions(-)drivers/mmc/zynq_sdhci.c +28
-37@@ -42,14 +42,11 @@#define SD_OTAP_DLY 0xFF180318#define SD0_DLL_RST BIT(2)#define SD1_DLL_RST BIT(18) +#define SD1_TAP_OFFSET 16#define SD0_ITAPCHGWIN BIT(9) -#define SD1_ITAPCHGWIN BIT(25)#define SD0_ITAPDLYENA BIT(8) -#define SD1_ITAPDLYENA BIT(24)#define SD0_ITAPDLYSEL_MASK GENMASK(7, 0) -#define SD1_ITAPDLYSEL_MASK GENMASK(23, 16)#define SD0_OTAPDLYSEL_MASK GENMASK(5, 0) -#define SD1_OTAPDLYSEL_MASK GENMASK(21, 16)#define MIN_PHY_CLK_HZ 50000000@@ -275,44 +272,32 @@ static int arasan_sdhci_config_dll(struct sdhci_host *host, unsigned int clock,static inline int arasan_zynqmp_set_in_tapdelay (u32 node_id,u32 itap_delay) {int ret; +u32 shift; -if (IS_ENABLED (CONFIG_SPL_BUILD ) ||current_el () ==3 ) { -if (node_id ==NODE_SD_0 ) { - ret =zynqmp_mmio_write (SD_ITAP_DLY ,SD0_ITAPCHGWIN , -SD0_ITAPCHGWIN ); -if (ret) -return ret; - - ret =zynqmp_mmio_write (SD_ITAP_DLY ,SD0_ITAPDLYENA , -SD0_ITAPDLYENA ); -if (ret) -return ret; - - ret =zynqmp_mmio_write (SD_ITAP_DLY ,SD0_ITAPDLYSEL_MASK , - itap_delay); -if (ret) -return ret; +if (node_id ==NODE_SD_0 ) + shift =0 ; +else if (node_id ==NODE_SD_1 ) + shift =SD1_TAP_OFFSET ; +else +return -EINVAL ; - ret =zynqmp_mmio_write (SD_ITAP_DLY ,SD0_ITAPCHGWIN ,0 ); -if (ret) -return ret; - } - ret =zynqmp_mmio_write (SD_ITAP_DLY ,SD1_ITAPCHGWIN , -SD1_ITAPCHGWIN ); +if (IS_ENABLED (CONFIG_SPL_BUILD ) ||current_el () ==3 ) { + ret =zynqmp_mmio_write (SD_ITAP_DLY ,SD0_ITAPCHGWIN << shift, +SD0_ITAPCHGWIN << shift);if (ret)return ret; - ret =zynqmp_mmio_write (SD_ITAP_DLY ,SD1_ITAPDLYENA , -SD1_ITAPDLYENA ); + ret =zynqmp_mmio_write (SD_ITAP_DLY ,SD0_ITAPDLYENA << shift, +SD0_ITAPDLYENA << shift);if (ret)return ret; - ret =zynqmp_mmio_write (SD_ITAP_DLY ,SD1_ITAPDLYSEL_MASK , - (itap_delay <<16 )); + ret =zynqmp_mmio_write (SD_ITAP_DLY ,SD0_ITAPDLYSEL_MASK << shift, + itap_delay << shift);if (ret)return ret; - ret =zynqmp_mmio_write (SD_ITAP_DLY ,SD1_ITAPCHGWIN ,0 ); + ret =zynqmp_mmio_write (SD_ITAP_DLY ,SD0_ITAPCHGWIN << shift,0 );if (ret)return ret; }else {@@ -326,14 +311,20 @@ static inline int arasan_zynqmp_set_in_tapdelay(u32 node_id, u32 itap_delay)static inline int arasan_zynqmp_set_out_tapdelay (u32 node_id,u32 otap_delay) { +u32 shift; + +if (node_id ==NODE_SD_0 ) + shift =0 ; +else if (node_id ==NODE_SD_1 ) + shift =SD1_TAP_OFFSET ; +else +return -EINVAL ; +if (IS_ENABLED (CONFIG_SPL_BUILD ) ||current_el () ==3 ) { -if (node_id ==NODE_SD_0 ) -return zynqmp_mmio_write (SD_OTAP_DLY , -SD0_OTAPDLYSEL_MASK , - otap_delay); +return zynqmp_mmio_write (SD_OTAP_DLY , +SD0_OTAPDLYSEL_MASK << shift, + otap_delay << shift); -return zynqmp_mmio_write (SD_OTAP_DLY ,SD1_OTAPDLYSEL_MASK , - (otap_delay <<16 )); }else { return xilinx_pm_request(PM_IOCTL, node_id, IOCTL_SET_SD_TAPDELAY,
Re: [PATCH 2/5] mmc: zynq-sdhci: refactor tapdelay settings
Hi Love,
Quoted 17 lines · Love Kumar
Hi,
When we run in el3 for zynqmp board, we are seeing below issue with this patch:
Model: ZynqMP MINI EMMC0
Board: Xilinx ZynqMP
DRAM: 512 MiB
EL Level: EL3
Secure Boot: not authenticated, not encrypted Multiboot: 0
Core: 10 devices, 9 uclasses, devicetree: embed MMC: sdhci@ff160000: 0
Loading Environment from <NULL>... OK
In: dcc
Out: dcc
Quoted 8 lines
Err: dcc
ZynqMP> mmc list
sdhci@ff160000: 0
ZynqMP> mmc dev 0 0arasan_sdhcisdhci@ff160000: Error setting Input Tap Delaysdhci_set_clock: Error while setting tap delaysdhci_send_command: Timeout for status update: 00000000 00000001 ZynqMP>
Thank you for testing this.
It looks like the zynqmp-mini-emmc0 device lacks the power-domain node and doesn't have a sd node id. The code before my change would have ignored the unknown node id, applied settings for sdhci1 instead of sdhci0 and returned without an error. Maybe there's a different way to find out which sdhci we want to operate on?
Can you try setting the node id in device tree?
Something like this:
arch/arm/dts/zynqmp-mini-emmc0.dts +9 -0
@@ -7,6 +7,8 @@ * Siva Durga Prasad Paladugu <[email protected]> */ +#include <dt-bindings/power/xlnx-zynqmp-power.h> + /dts-v1/; / {
@@ -41,6 +43,12 @@ clock-frequency = <200000000>; }; + firmware { + zynqmp_firmware: zynqmp-firmware { + #power-domain-cells = <1>; + }; + }; + amba: amba { compatible = "simple-bus"; #address-cells = <2>;
@@ -56,6 +64,7 @@ reg = <0x0 0xff160000 0x0 0x1000>; clock-names = "clk_xin", "clk_ahb"; clocks = <&clk_xin &clk_xin>; + power-domains = <&zynqmp_firmware PD_SD_0>; }; }; };
Thanks,
Steffen
Quoted 126 lines
Regards,
Love KumarQuoted 121 lines · Steffen Dirkwinkel
From: Steffen Dirkwinkel <[email protected]>
Previously we were setting in tapdelay for SD1 every time even if SD0 was requested.
The SD tapdelay settings are shifted by 16 bits between SD0 and SD1. We can use that to make our tapdelay setup simpler. This is also how it currently works in arm-trusted-firmware.Signed-off-by Steffen Dirkwinkel <[email protected]>---
drivers/mmc/zynq_sdhci.c| 65 +++++++++++++++++-----------------------1 file changed, 28 insertions(+), 37 deletions(-)drivers/mmc/zynq_sdhci.c +1
-4@@ -42,14 +42,11 @@ #define SD_OTAP_DLY 0xFF180318 #define SD0_DLL_RST BIT(2) #define SD1_DLL_RST BIT(18) +#define SD1_TAP_OFFSET 16 #define SD0_ITAPCHGWIN BIT(9) -#define SD1_ITAPCHGWIN BIT(25) #define SD0_ITAPDLYENA BIT(8) -#define SD1_ITAPDLYENA BIT(24) #define SD0_ITAPDLYSEL_MASK GENMASK(7, 0) -#define SD1_ITAPDLYSEL_MASK GENMASK(23, 16) #define SD0_OTAPDLYSEL_MASK GENMASK(5, 0) -#define SD1_OTAPDLYSEL_MASK GENMASK(21, 16)
#defineMIN_PHY_CLK_HZ50000000drivers/mmc/zynq_sdhci.c +1
-0@@ -275,44 +272,32 @@ static int arasan_sdhci_config_dll(struct sdhci_host *host, unsigned int clock, static inline int arasan_zynqmp_set_in_tapdelay(u32 node_id, u32 itap_delay) { int ret; +u32 shift;drivers/mmc/zynq_sdhci.c +6
-16-if (IS_ENABLED (CONFIG_SPL_BUILD ) ||current_el () ==3 ) { -if (node_id ==NODE_SD_0 ) { - ret =zynqmp_mmio_write (SD_ITAP_DLY ,SD0_ITAPCHGWIN , -SD0_ITAPCHGWIN ); -if (ret) -return ret; - - ret =zynqmp_mmio_write (SD_ITAP_DLY ,SD0_ITAPDLYENA , -SD0_ITAPDLYENA ); -if (ret) -return ret; - - ret =zynqmp_mmio_write (SD_ITAP_DLY ,SD0_ITAPDLYSEL_MASK , - itap_delay); -if (ret) -return ret; +if (node_id ==NODE_SD_0 ) + shift =0 ; +else if (node_id ==NODE_SD_1 ) + shift =SD1_TAP_OFFSET ; +else +return -EINVAL ;drivers/mmc/zynq_sdhci.c +3
-6- ret =zynqmp_mmio_write (SD_ITAP_DLY ,SD0_ITAPCHGWIN ,0 ); -if (ret) -return ret; - } - ret =zynqmp_mmio_write (SD_ITAP_DLY ,SD1_ITAPCHGWIN , -SD1_ITAPCHGWIN ); +if (IS_ENABLED (CONFIG_SPL_BUILD ) ||current_el () ==3 ) { + ret =zynqmp_mmio_write (SD_ITAP_DLY ,SD0_ITAPCHGWIN << shift, +SD0_ITAPCHGWIN << shift);if (ret)
return ret;drivers/mmc/zynq_sdhci.c +2
-2- ret =zynqmp_mmio_write (SD_ITAP_DLY ,SD1_ITAPDLYENA , -SD1_ITAPDLYENA ); + ret =zynqmp_mmio_write (SD_ITAP_DLY ,SD0_ITAPDLYENA << shift, +SD0_ITAPDLYENA << shift);if (ret)
return ret;drivers/mmc/zynq_sdhci.c +2
-2- ret =zynqmp_mmio_write (SD_ITAP_DLY ,SD1_ITAPDLYSEL_MASK , - (itap_delay <<16 )); + ret =zynqmp_mmio_write (SD_ITAP_DLY ,SD0_ITAPDLYSEL_MASK << shift, + itap_delay << shift);if (ret)
return ret;drivers/mmc/zynq_sdhci.c +1
-1- ret =zynqmp_mmio_write (SD_ITAP_DLY ,SD1_ITAPCHGWIN ,0 ); + ret =zynqmp_mmio_write (SD_ITAP_DLY ,SD0_ITAPCHGWIN << shift,0 );if (ret)
return ret;
} else {drivers/mmc/zynq_sdhci.c +0
-0@@ -326,14 +311,20 @@ static inline int arasan_zynqmp_set_in_tapdelay(u32 node_id, u32 itap_delay)
static inline intarasan_zynqmp_set_out_tapdelay(u32 node_id, u32 otap_delay){drivers/mmc/zynq_sdhci.c +9
-0+u32 shift; + +if (node_id ==NODE_SD_0 ) + shift =0 ; +else if (node_id ==NODE_SD_1 ) + shift =SD1_TAP_OFFSET ; +else +return -EINVAL ; +if (
IS_ENABLED(CONFIG_SPL_BUILD)||current_el()== 3) {drivers/mmc/zynq_sdhci.c +3
-4-if (node_id ==NODE_SD_0 ) -return zynqmp_mmio_write (SD_OTAP_DLY , -SD0_OTAPDLYSEL_MASK , - otap_delay); +return zynqmp_mmio_write (SD_OTAP_DLY , +SD0_OTAPDLYSEL_MASK << shift, + otap_delay << shift);drivers/mmc/zynq_sdhci.c +0
-2-return zynqmp_mmio_write (SD_OTAP_DLY ,SD1_OTAPDLYSEL_MASK , - (otap_delay <<16 ));} else {
return xilinx_pm_request(PM_IOCTL,node_id,IOCTL_SET_SD_TAPDELAY,
RE: [PATCH 2/5] mmc: zynq-sdhci: refactor tapdelay settings
Hi Steffen,
For mini u-boot cases ZYNQMP_FIRMWARE config is disabled as there won't be any ATF(TF-A) present.
Thanks
Venkatesh
Quoted 234 lines
-----Original Message-----
From: Steffen Dirkwinkel <[email protected]>
Sent: Thursday, March 14, 2024 1:23 PM
To: Kumar, Love <[email protected]>; [email protected]
Cc: Algapally Santosh Sagar <[email protected]>; Ashok Reddy Soma <[email protected]>; Jaehoon Chung <[email protected]>; Johan Jonker <[email protected]>; Simek, Michal <[email protected]>; Peng Fan <[email protected]>; Tom Rini <[email protected]>; Abbarapu, Venkatesh <[email protected]>
Subject: Re: [PATCH 2/5] mmc: zynq-sdhci: refactor tapdelay settingsHi Love,
Quoted 18 lines · Love Kumar
Hi,
When we run in el3 for zynqmp board, we are seeing below issue with this
patch:Model: ZynqMP MINI EMMC0
Board: Xilinx ZynqMP
DRAM: 512 MiB
EL Level: EL3
Secure Boot: not authenticated, not encrypted Multiboot: 0
Core: 10 devices, 9 uclasses, devicetree: embed MMC: sdhci@ff160000: 0
Loading Environment from <NULL>... OK
In: dcc
Out: dccQuoted 8 lines
Err: dcc
ZynqMP> mmc list
sdhci@ff160000: 0
ZynqMP> mmc dev 0 0arasan_sdhcisdhci@ff160000: Error setting Input Tap Delaysdhci_set_clock: Error while setting tap delaysdhci_send_command: Timeout for status update: 00000000 00000001 ZynqMP>Thank you for testing this.
It looks like the zynqmp-mini-emmc0 device lacks the power-domain node and doesn't have a sd node id. The code before my change would have ignored the unknown node id, applied settings for sdhci1 instead of sdhci0 and returned without an error. Maybe there's a different way to find out which sdhci we want to operate on?Can you try setting the node id in device tree?
Something like this:arch/arm/dts/zynqmp- renamed from arch/arm/dts/zynqmp-mini-emmc0.dts +0
-0
mini-emmc0.dts
index02e80bd85e1..87c4a1b6ad0100644arch/arm/dts/zynqmp-mini-emmc0.dts +9
-0@@ -7,6 +7,8 @@ * Siva Durga Prasad Paladugu <[email protected]> */ +#include <dt-bindings/power/xlnx-zynqmp-power.h> + /dts-v1/; / {@@ -41,6 +43,12 @@ clock-frequency = <200000000>; }; + firmware { + zynqmp_firmware: zynqmp-firmware { + #power-domain-cells = <1>; + }; + }; + amba: amba { compatible = "simple-bus"; #address-cells = <2>;@@ -56,6 +64,7 @@ reg = <0x0 0xff160000 0x0 0x1000>; clock-names = "clk_xin", "clk_ahb"; clocks = <&clk_xin &clk_xin>; + power-domains = <&zynqmp_firmware PD_SD_0>; }; }; };Thanks,
SteffenQuoted 48 lines
Regards,
Love KumarQuoted 43 lines · Steffen Dirkwinkel
From: Steffen Dirkwinkel <[email protected]>
Previously we were setting in tapdelay for SD1 every time even if SD0 was requested.
The SD tapdelay settings are shifted by 16 bits between SD0 and SD1. We can use that to make our tapdelay setup simpler. This is also how it currently works in arm-trusted-firmware.Signed-off-by Steffen Dirkwinkel <[email protected]>---
drivers/mmc/zynq_sdhci.c| 65
+++++++++++++++++-----------------------1 file changed, 28 insertions(+), 37 deletions(-)drivers/mmc/zynq_sdhci.c +1
-4@@ -42,14 +42,11 @@ #define SD_OTAP_DLY 0xFF180318 #define SD0_DLL_RST BIT(2) #define SD1_DLL_RST BIT(18) +#define SD1_TAP_OFFSET 16 #define SD0_ITAPCHGWIN BIT(9) -#define SD1_ITAPCHGWIN BIT(25) #define SD0_ITAPDLYENA BIT(8) -#define SD1_ITAPDLYENA BIT(24) #define SD0_ITAPDLYSEL_MASK GENMASK(7, 0) -#define SD1_ITAPDLYSEL_MASK GENMASK(23, 16) #define SD0_OTAPDLYSEL_MASK GENMASK(5, 0) -#define SD1_OTAPDLYSEL_MASK GENMASK(21, 16) #define MIN_PHY_CLK_HZ 50000000@@ -275,44 +272,32 @@ static int arasan_sdhci_config_dll(struct sdhci_host *host, unsigned int clock,static inline int
arasan_zynqmp_set_in_tapdelay(u32 node_id, u32 itap_delay)
{
int ret;drivers/mmc/zynq_sdhci.c +1
-0+u32 shift;Quoted 3 lines
drivers/mmc/zynq_sdhci.c
Quoted 3 lines
drivers/mmc/zynq_sdhci.c +0
-3-if (IS_ENABLED (CONFIG_SPL_BUILD ) ||current_el () ==3 ) { -if (node_id ==NODE_SD_0 ) { - ret = zynqmp_mmio_write(SD_ITAP_DLY,
SD0_ITAPCHGWIN,Quoted 5 lines
drivers/mmc/zynq_sdhci.c
Quoted 5 lines
drivers/mmc/zynq_sdhci.c +0
-5- SD0_ITAPCHGWIN); -if (ret) -return ret; - - ret = zynqmp_mmio_write(SD_ITAP_DLY,
SD0_ITAPDLYENA,Quoted 5 lines
drivers/mmc/zynq_sdhci.c
Quoted 5 lines
drivers/mmc/zynq_sdhci.c +0
-5- SD0_ITAPDLYENA); -if (ret) -return ret; - - ret = zynqmp_mmio_write(SD_ITAP_DLY,
SD0_ITAPDLYSEL_MASK,Quoted 11 lines
drivers/mmc/zynq_sdhci.c
Quoted 11 lines
drivers/mmc/zynq_sdhci.c +6
-4- itap_delay); -if (ret) -return ret; +if (node_id ==NODE_SD_0 ) + shift =0 ; +else if (node_id ==NODE_SD_1 ) + shift =SD1_TAP_OFFSET ; +else +return -EINVAL ; - ret = zynqmp_mmio_write(SD_ITAP_DLY,
SD0_ITAPCHGWIN, 0);Quoted 7 lines
drivers/mmc/zynq_sdhci.c
Quoted 7 lines
drivers/mmc/zynq_sdhci.c +2
-5-if (ret) -return ret; - } - ret =zynqmp_mmio_write (SD_ITAP_DLY ,SD1_ITAPCHGWIN , -SD1_ITAPCHGWIN ); +if (IS_ENABLED (CONFIG_SPL_BUILD ) ||current_el () ==3 ) { + ret = zynqmp_mmio_write(SD_ITAP_DLY, SD0_ITAPCHGWIN<< shift,
Quoted 7 lines
drivers/mmc/zynq_sdhci.c
Quoted 7 lines
drivers/mmc/zynq_sdhci.c +1
-0+ SD0_ITAPCHGWIN << shift);if (ret)
return ret;drivers/mmc/zynq_sdhci.c +1
-2- ret =zynqmp_mmio_write (SD_ITAP_DLY ,SD1_ITAPDLYENA , -SD1_ITAPDLYENA ); + ret = zynqmp_mmio_write(SD_ITAP_DLY, SD0_ITAPDLYENA <<shift,
Quoted 5 lines
drivers/mmc/zynq_sdhci.c
Quoted 5 lines
drivers/mmc/zynq_sdhci.c +1
-0+ SD0_ITAPDLYENA << shift);if (ret)
return ret;drivers/mmc/zynq_sdhci.c +0
-1- ret = zynqmp_mmio_write(SD_ITAP_DLY,
SD1_ITAPDLYSEL_MASK,Quoted 2 lines
drivers/mmc/zynq_sdhci.c
Quoted 2 lines
drivers/mmc/zynq_sdhci.c +1
-1- (itap_delay << 16)); + ret = zynqmp_mmio_write(SD_ITAP_DLY,
SD0_ITAPDLYSEL_MASK<< shift,Quoted 5 lines
drivers/mmc/zynq_sdhci.c
Quoted 5 lines
drivers/mmc/zynq_sdhci.c +1
-0+ itap_delay << shift);if (ret)
return ret;drivers/mmc/zynq_sdhci.c +0
-1- ret = zynqmp_mmio_write(SD_ITAP_DLY, SD1_ITAPCHGWIN,0);
Quoted 1 line
drivers/mmc/zynq_sdhci.c
Quoted 1 line
drivers/mmc/zynq_sdhci.c +1
-0+ ret = zynqmp_mmio_write(SD_ITAP_DLY, SD0_ITAPCHGWIN<< shift, 0);
Quoted 17 lines
Quoted 17 lines
if (ret)
return ret;
} else {drivers/mmc/zynq_sdhci.c +0
-0@@ -326,14 +311,20 @@ static inline int arasan_zynqmp_set_in_tapdelay(u32 node_id, u32 itap_delay)static inline int
arasan_zynqmp_set_out_tapdelay(u32 node_id, u32 otap_delay)
{drivers/mmc/zynq_sdhci.c +8
-0+u32 shift; + +if (node_id ==NODE_SD_0 ) + shift =0 ; +else if (node_id ==NODE_SD_1 ) + shift =SD1_TAP_OFFSET ; +else +return -EINVAL ;Quoted 8 lines
drivers/mmc/zynq_sdhci.c
Quoted 8 lines
+
if (IS_ENABLED(CONFIG_SPL_BUILD)||current_el()== 3) {drivers/mmc/zynq_sdhci.c +2
-4-if (node_id ==NODE_SD_0 ) -return zynqmp_mmio_write (SD_OTAP_DLY , -SD0_OTAPDLYSEL_MASK , - otap_delay); + return zynqmp_mmio_write(SD_OTAP_DLY, + SD0_OTAPDLYSEL_MASK <<shift,
Quoted 3 lines
drivers/mmc/zynq_sdhci.c
Quoted 3 lines
drivers/mmc/zynq_sdhci.c +1
-1+ otap_delay << shift); - return zynqmp_mmio_write(SD_OTAP_DLY,
SD1_OTAPDLYSEL_MASK,Quoted 4 lines
Quoted 4 lines
drivers/mmc/zynq_sdhci.c +0
-1- (otap_delay << 16));} else {
return xilinx_pm_request(PM_IOCTL,node_id,IOCTL_SET_SD_TAPDELAY,
Re: [PATCH 2/5] mmc: zynq-sdhci: refactor tapdelay settings
Hi Venkatesh,
we're not using the firmware when running in el3, so that should still work. The sdhci driver needs to know which controller it's operating on and uses the power-domain node for that. I can't add the power domain node without a firmware node (i think?), but the firmware node without a compatible shouldn't be used by anything?
Alternatively we could exit without an error from these functions if our node id doesn't match sd0 or sd1. That wouldn't apply any settings, but that's the current behaviour already.
Thanks
Steffen
Quoted 272 lines · Venkatesh
Hi Steffen,
For mini u-boot casesZYNQMP_FIRMWAREconfig is disabled as there won't be any ATF(TF-A) present.Thanks
VenkateshQuoted 264 lines
-----Original Message-----
From: Steffen Dirkwinkel <[email protected]>
Sent: Thursday, March 14, 2024 1:23 PM
To: Kumar, Love <[email protected]>; [email protected]
Cc: Algapally Santosh Sagar <[email protected]>; Ashok Reddy Soma <[email protected]>; Jaehoon Chung <[email protected]>; Johan Jonker <[email protected]>; Simek, Michal <[email protected]>; Peng Fan <[email protected]>; Tom Rini
<[email protected]>; Abbarapu, Venkatesh <[email protected]>
Subject: Re: [PATCH 2/5] mmc: zynq-sdhci: refactor tapdelay settingsHi Love,
Quoted 19 lines · Love Kumar
Hi,
When we run in el3 for zynqmp board, we are seeing below issue with
this
patch:Model: ZynqMP MINI EMMC0
Board: Xilinx ZynqMP
DRAM: 512 MiB
EL Level: EL3
Secure Boot: not authenticated, not encrypted Multiboot: 0
Core: 10 devices, 9 uclasses, devicetree: embed MMC: sdhci@ff160000: 0
Loading Environment from <NULL>... OK
In: dcc
Out: dccQuoted 8 lines
Err: dcc
ZynqMP> mmc list
sdhci@ff160000: 0
ZynqMP> mmc dev 0 0arasan_sdhcisdhci@ff160000: Error setting Input Tap Delaysdhci_set_clock: Error while setting tap delaysdhci_send_command: Timeout for status update: 00000000 00000001 ZynqMP>Thank you for testing this.
It looks like the zynqmp-mini-emmc0 device lacks the power-domain node
and doesn't have a sd node id. The code before my change would have ignored the unknown node id, applied settings for sdhci1 instead of sdhci0
and returned without an error. Maybe there's a different way to find out
which sdhci we want to operate on?Can you try setting the node id in device tree?
Something like this:arch/arm/dts/zynqmp- renamed from arch/arm/dts/zynqmp-mini-emmc0.dts +0
-0
mini-emmc0.dts
index02e80bd85e1..87c4a1b6ad0100644arch/arm/dts/zynqmp-mini-emmc0.dts +9
-0@@ -7,6 +7,8 @@ * Siva Durga Prasad Paladugu <[email protected]> */ +#include <dt-bindings/power/xlnx-zynqmp-power.h> + /dts-v1/; / {@@ -41,6 +43,12 @@ clock-frequency = <200000000>; }; + firmware { + zynqmp_firmware: zynqmp-firmware { + #power-domain-cells = <1>; + }; + }; + amba: amba { compatible = "simple-bus"; #address-cells = <2>;@@ -56,6 +64,7 @@ reg = <0x0 0xff160000 0x0 0x1000>; clock-names = "clk_xin", "clk_ahb"; clocks = <&clk_xin &clk_xin>; + power-domains = <&zynqmp_firmware PD_SD_0>; }; }; };Thanks,
SteffenQuoted 53 lines
Regards,
Love KumarQuoted 48 lines · Steffen Dirkwinkel
From: Steffen Dirkwinkel <[email protected]>
Previously we were setting in tapdelay for SD1 every time even if
SD0 was requested.
The SD tapdelay settings are shifted by 16 bits between SD0 and SD1.
We can use that to make our tapdelay setup simpler. This is also how
it currently works in arm-trusted-firmware.Signed-off-by Steffen Dirkwinkel <[email protected]>---
drivers/mmc/zynq_sdhci.c| 65
+++++++++++++++++-----------------------1 file changed, 28 insertions(+), 37 deletions(-)drivers/mmc/zynq_sdhci.c +1
-4@@ -42,14 +42,11 @@ #define SD_OTAP_DLY 0xFF180318 #define SD0_DLL_RST BIT(2) #define SD1_DLL_RST BIT(18) +#define SD1_TAP_OFFSET 16 #define SD0_ITAPCHGWIN BIT(9) -#define SD1_ITAPCHGWIN BIT(25) #define SD0_ITAPDLYENA BIT(8) -#define SD1_ITAPDLYENA BIT(24) #define SD0_ITAPDLYSEL_MASK GENMASK(7, 0) -#define SD1_ITAPDLYSEL_MASK GENMASK(23, 16) #define SD0_OTAPDLYSEL_MASK GENMASK(5, 0) -#define SD1_OTAPDLYSEL_MASK GENMASK(21, 16) #define MIN_PHY_CLK_HZ 50000000@@ -275,44 +272,32 @@ static int arasan_sdhci_config_dll(struct sdhci_host *host, unsigned int clock, static inline int arasan_zynqmp_set_in_tapdelay(u32 node_id,u32
itap_delay)
{
int ret;drivers/mmc/zynq_sdhci.c +1
-0+u32 shift;Quoted 4 lines
drivers/mmc/zynq_sdhci.c
Quoted 4 lines
drivers/mmc/zynq_sdhci.c +0
-1-if (IS_ENABLED (CONFIG_SPL_BUILD ) ||current_el () ==3 ){
drivers/mmc/zynq_sdhci.c +0
-2-if (node_id ==NODE_SD_0 ) { - ret = zynqmp_mmio_write(SD_ITAP_DLY,
SD0_ITAPCHGWIN,Quoted 6 lines
drivers/mmc/zynq_sdhci.c
Quoted 6 lines
-
SD0_ITAPCHGWIN);drivers/mmc/zynq_sdhci.c +0
-4-if (ret) -return ret; - - ret = zynqmp_mmio_write(SD_ITAP_DLY,
SD0_ITAPDLYENA,Quoted 6 lines
drivers/mmc/zynq_sdhci.c
Quoted 6 lines
-
SD0_ITAPDLYENA);drivers/mmc/zynq_sdhci.c +0
-4-if (ret) -return ret; - - ret = zynqmp_mmio_write(SD_ITAP_DLY,
SD0_ITAPDLYSEL_MASK,Quoted 11 lines
drivers/mmc/zynq_sdhci.c
Quoted 11 lines
drivers/mmc/zynq_sdhci.c +6
-4- itap_delay); -if (ret) -return ret; +if (node_id ==NODE_SD_0 ) + shift =0 ; +else if (node_id ==NODE_SD_1 ) + shift =SD1_TAP_OFFSET ; +else +return -EINVAL ; - ret = zynqmp_mmio_write(SD_ITAP_DLY,
SD0_ITAPCHGWIN, 0);Quoted 10 lines
Quoted 10 lines
drivers/mmc/zynq_sdhci.c +0
-4-if (ret) -return ret; - } - ret = zynqmp_mmio_write(SD_ITAP_DLY,
SD1_ITAPCHGWIN,drivers/mmc/zynq_sdhci.c +1
-1- SD1_ITAPCHGWIN); +if (IS_ENABLED (CONFIG_SPL_BUILD ) ||current_el () ==3 ){
drivers/mmc/zynq_sdhci.c +1
-0+ ret = zynqmp_mmio_write(SD_ITAP_DLY,
SD0_ITAPCHGWIN<< shift,
Quoted 10 lines
Quoted 10 lines
drivers/mmc/zynq_sdhci.c +1
-0+ SD0_ITAPCHGWIN <<shift);
if (ret)
return ret;drivers/mmc/zynq_sdhci.c +0
-1- ret = zynqmp_mmio_write(SD_ITAP_DLY,
SD1_ITAPDLYENA,drivers/mmc/zynq_sdhci.c +1
-1- SD1_ITAPDLYENA); + ret = zynqmp_mmio_write(SD_ITAP_DLY,
SD0_ITAPDLYENA<<shift,
Quoted 6 lines
drivers/mmc/zynq_sdhci.c
Quoted 6 lines
drivers/mmc/zynq_sdhci.c +1
-0+ SD0_ITAPDLYENA <<shift);
if (ret)
return ret;drivers/mmc/zynq_sdhci.c +0
-1- ret = zynqmp_mmio_write(SD_ITAP_DLY,
SD1_ITAPDLYSEL_MASK,Quoted 2 lines
drivers/mmc/zynq_sdhci.c
Quoted 2 lines
drivers/mmc/zynq_sdhci.c +1
-1- (itap_delay << 16)); + ret = zynqmp_mmio_write(SD_ITAP_DLY,
SD0_ITAPDLYSEL_MASK<< shift,Quoted 6 lines
Quoted 6 lines
drivers/mmc/zynq_sdhci.c +1
-0+ itap_delay << shift);if (ret)
return ret;drivers/mmc/zynq_sdhci.c +0
-1- ret = zynqmp_mmio_write(SD_ITAP_DLY,
SD1_ITAPCHGWIN,0);
Quoted 2 lines
Quoted 2 lines
drivers/mmc/zynq_sdhci.c +1
-0+ ret = zynqmp_mmio_write(SD_ITAP_DLY,
SD0_ITAPCHGWIN<< shift, 0);
Quoted 21 lines
Quoted 21 lines
if (ret)
return ret;
} else {drivers/mmc/zynq_sdhci.c +0
-0@@ -326,14 +311,20 @@ static inline int arasan_zynqmp_set_in_tapdelay(u32 node_id, u32 itap_delay) static inline int arasan_zynqmp_set_out_tapdelay(u32 node_id,u32
otap_delay)
{drivers/mmc/zynq_sdhci.c +9
-0+u32 shift; + +if (node_id ==NODE_SD_0 ) + shift =0 ; +else if (node_id ==NODE_SD_1 ) + shift =SD1_TAP_OFFSET ; +else +return -EINVAL ; +if (
IS_ENABLED(CONFIG_SPL_BUILD)||current_el()== 3) {Quoted 8 lines
Quoted 8 lines
drivers/mmc/zynq_sdhci.c +0
-3-if (node_id ==NODE_SD_0 ) - return zynqmp_mmio_write(SD_OTAP_DLY, -
SD0_OTAPDLYSEL_MASK,drivers/mmc/zynq_sdhci.c +2
-1- otap_delay); +return zynqmp_mmio_write (SD_OTAP_DLY , + SD0_OTAPDLYSEL
_MASK<<shift,
Quoted 4 lines
drivers/mmc/zynq_sdhci.c
Quoted 4 lines
drivers/mmc/zynq_sdhci.c +1
-0+ otap_delay <<shift);
drivers/mmc/zynq_sdhci.c +0
-1- return zynqmp_mmio_write(SD_OTAP_DLY,
SD1_OTAPDLYSEL_MASK,Quoted 5 lines
Quoted 5 lines
drivers/mmc/zynq_sdhci.c +0
-1- (otap_delay << 16));} else {
return xilinx_pm_request(PM_IOCTL,node_id,IOCTL_SET_SD_TAPDELAY,
PATCH 3/5 mmc: zynq_sdhci: disable ITAPDLYENA for zero itap_delay
In reply to Steffen DirkwinkelFrom: Steffen Dirkwinkel <[email protected]>
This ports a change from arm-trusted-firmware:
commit: fe1fa205fca4d1dd4a1b1755942956dbca65d573 in arm-trusted-firmware
(https://github.com/ARM-software/arm-trusted-firmware/commit/fe1fa205fca4d1dd4a1b1755942956dbca65d573)
The OTAPDLYENA change from there will be in another commit.
We shouldn't have different behavior for u-boot-SPL and u-boot so let's use the same logic here.
Message from arm-trusted-firmware:
plat: zynqmp: Disable ITAPDLYENA bit for zero ITAP delay
This patch disable the ITAPDLYENA bit for ITAP delay value zero. As per IP design, it is recommended to disable the ITAPDLYENA bit before auto-tuning.
Also disable OTAPDLYENA bit always as there is one issue in RTL where SD0_OTAPDLYENA has been wrongly connected to both SD0 and SD1 controllers. Hence it is recommended to disable OTAPDLYENA bit always for both the controllers.
---
drivers/mmc/zynq_sdhci.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-)
drivers/mmc/zynq_sdhci.c +7 -2
@@ -287,8 +287,13 @@ static inline int arasan_zynqmp_set_in_tapdelay(u32 node_id, u32 itap_delay)if (ret)return ret; - ret =zynqmp_mmio_write (SD_ITAP_DLY ,SD0_ITAPDLYENA << shift, -SD0_ITAPDLYENA << shift); +if (itap_delay ==0 ) + ret =zynqmp_mmio_write (SD_ITAP_DLY ,SD0_ITAPDLYENA << shift, +0 ); +else + ret =zynqmp_mmio_write (SD_ITAP_DLY ,SD0_ITAPDLYENA << shift, +SD0_ITAPDLYENA << shift); +if (ret)return ret;
Signature · 1 line
2.39.2
PATCH 4/5 mmc: zynq_sdhci: disable OTAPDLYENA
In reply to Steffen DirkwinkelFrom: Steffen Dirkwinkel <[email protected]>
This ports a change from arm-trusted-firmware:
commit: fe1fa205fca4d1dd4a1b1755942956dbca65d573 in arm-trusted-firmware
(https://github.com/ARM-software/arm-trusted-firmware/commit/fe1fa205fca4d1dd4a1b1755942956dbca65d573)
The ITAPDLYENA change is in another commit.
We shouldn't have different behavior for u-boot-SPL and u-boot so let's use the same logic here.
Message from arm-trusted-firmware:
plat: zynqmp: Disable ITAPDLYENA bit for zero ITAP delay
This patch disable the ITAPDLYENA bit for ITAP delay value zero. As per IP design, it is recommended to disable the ITAPDLYENA bit before auto-tuning.
Also disable OTAPDLYENA bit always as there is one issue in RTL where SD0_OTAPDLYENA has been wrongly connected to both SD0 and SD1 controllers. Hence it is recommended to disable OTAPDLYENA bit always for both the controllers.
---
drivers/mmc/zynq_sdhci.c | 8 ++++++++ 1 file changed, 8 insertions(+)
drivers/mmc/zynq_sdhci.c +8 -0
@@ -45,6 +45,7 @@#define SD1_TAP_OFFSET 16#define SD0_ITAPCHGWIN BIT(9)#define SD0_ITAPDLYENA BIT(8) +#define SD0_OTAPDLYENA BIT(6)#define SD0_ITAPDLYSEL_MASK GENMASK(7, 0)#define SD0_OTAPDLYSEL_MASK GENMASK(5, 0)
@@ -316,6 +317,7 @@ static inline int arasan_zynqmp_set_in_tapdelay(u32 node_id, u32 itap_delay)static inline int arasan_zynqmp_set_out_tapdelay (u32 node_id,u32 otap_delay) { +int ret;u32 shift;if (node_id ==NODE_SD_0 )
@@ -326,6 +328,12 @@ static inline int arasan_zynqmp_set_out_tapdelay(u32 node_id, u32 otap_delay)return -EINVAL ;if (IS_ENABLED (CONFIG_SPL_BUILD ) ||current_el () ==3 ) { + ret =zynqmp_mmio_write (SD_OTAP_DLY , +SD0_OTAPDLYENA << shift, +0 ); +if (ret) +return ret; +return zynqmp_mmio_write (SD_OTAP_DLY ,SD0_OTAPDLYSEL_MASK << shift, otap_delay << shift);
Signature · 1 line
2.39.2
PATCH 5/5 zynqmp: boot without delay in psu_uboot_init
In reply to Steffen DirkwinkelFrom: Steffen Dirkwinkel <[email protected]>
This seems to have been required for sd init. I don't need it anymore with correct tapdelay / dll reset handling, but can't be sure this works on all platforms.
---
board/xilinx/zynqmp/zynqmp.c | 3 --- 1 file changed, 3 deletions(-)
board/xilinx/zynqmp/zynqmp.c +0 -3
@@ -72,9 +72,6 @@ int __maybe_unused psu_uboot_init(void)writel (ZYNQMP_PS_SYSMON_ANALOG_BUS_VAL ,ZYNQMP_AMS_PS_SYSMON_ANALOG_BUS ); -/* Delay is required for clocks to be propagated */ -udelay (1000000 ); -return 0 ; }
Signature · 1 line
2.39.2
Michal Simek
maintainerQuoted 16 lines · Steffen Dirkwinkel
From: Steffen Dirkwinkel <[email protected]>
These are used during sdhci initialization as functions are called with
node_ideven if we're not talking to the firmware.Signed-off-by Steffen Dirkwinkel <[email protected]>---
configs/xilinx_zynqmp_virt_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)configs/xilinx_zynqmp_virt_defconfig +0
-0
configs/xilinx_zynqmp_virt_defconfig CONFIG_PARTITION_TYPE_GUID=y · line 113
Quoted 8 lines
configs/xilinx_zynqmp_virt_defconfig +1
-1@@ -107,7 +107,7 @@ CONFIG_PARTITION_TYPE_GUID=y CONFIG_SPL_OF_CONTROL=y CONFIG_OF_BOARD=y CONFIG_OF_LIST="avnet-ultra96-rev1 zynqmp-a2197-revA zynqmp-e-a2197-00-revA zynqmp-e-a2197-00-revB zynqmp-g-a2197-00-revA zynqmp-m-a2197-01-revA zynqmp-m-a2197-02-revA zynqmp-m-a2197-03-revA zynqmp-p-a2197-00-revA zynqmp-zc1232-revA zynqmp-zc1254-revA zynqmp-zc1751-xm015-dc1 zynqmp-zc1751-xm016-dc2 zynqmp-zc1751-xm017-dc3 zynqmp-zc1751-xm018-dc4 zynqmp-zc1751-xm019-dc5 zynqmp-zcu100-revC zynqmp-zcu102-rev1.1 zynqmp-zcu102-rev1.0 zynqmp-zcu102-revA zynqmp-zcu102-revB zynqmp-zcu104-revA zynqmp-zcu104-revC zynqmp-zcu106-revA zynqmp-zcu106-rev1.0 zynqmp-zcu111-revA zynqmp-zcu1275-revA zynqmp-zcu1275-revB zynqmp-zcu1285-revA zynqmp-zcu208-revA zynqmp-zcu216-revA zynqmp-topic-miamimp-xilinx-xdp-v1r1 zynqmp-sm-k26-revA zynqmp-smk-k26-revA zynqmp-dlc21-revA" -CONFIG_OF_SPL_REMOVE_PROPS="pinctrl-0 pinctrl-names interrupt-parent interrupts iommus power-domains" +CONFIG_OF_SPL_REMOVE_PROPS="pinctrl-0 pinctrl-names interrupt-parent interrupts iommus" CONFIG_ENV_IS_NOWHERE=y CONFIG_ENV_IS_IN_FAT=y CONFIG_ENV_IS_IN_NAND=y
just FYI. I have asked my colleague to take this to regression and see if there is any issue. I will let you know when I know more.
Thanks,
Michal