Skip to content

Commit

Permalink
configs: zynq-common: Fix mode 2r2t
Browse files Browse the repository at this point in the history
For AD9364 there is only mode 1r1t available but this condition was
enforced for all compatible devices. This patch fixes the mode option for
AD9361 and AD9363.

Fixes: e1eb71f ("configs: zynq-common: Fix SPI env update")
Signed-off-by: Mircea Caprioru <mircea.caprioru@analog.com>
  • Loading branch information
Mircea Caprioru committed Mar 18, 2021
1 parent d41a6a6 commit b15d169
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/configs/zynq-common.h
Expand Up @@ -311,7 +311,7 @@
"if test -n ${cs_gpio}; then " \
"fdt set /amba/axi_quad_spi@7C430000/ cs-gpios \"<0x06 ${cs_gpio} 0>\"; " \
"fi; " \
"if test -n ${compatible} = ad9364 || test -n ${attr_val} = ad9364; then " \
"if test \"${compatible}\" = ad9364 || test \"${attr_val}\" = ad9364; then " \
"fdt set /fpga-axi/cf-ad9361-dds-core-lpc@79024000 compatible adi,axi-ad9364-dds-6.00.a; " \
"if test ! ${mode} = 1r1t; then " \
"fdt rm /amba/spi@e0006000/ad9361-phy@0 adi,2rx-2tx-mode-enable; " \
Expand Down

0 comments on commit b15d169

Please sign in to comment.