summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorRicardo Salveti <ricardo@foundries.io>2021-11-04 22:28:02 +0300
committerMichal Simek <michal.simek@xilinx.com>2021-11-15 17:59:33 +0300
commit11c0255cd8a7177e2b714040efcfd51844cb5d8e (patch)
tree70cd728b80ac2a9212996e22a4ad5a0e0bf39358 /board
parent412ab133286af968732c2ff3cc2b615e078d8da1 (diff)
downloadu-boot-11c0255cd8a7177e2b714040efcfd51844cb5d8e.tar.xz
xilinx: zynqmp: fix ZYNQMP_RESTORE_JTAG check
Config check should be done without the SPL_ prefix. Signed-off-by: Ricardo Salveti <ricardo@foundries.io> Reviewed-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io> Link: https://lore.kernel.org/r/20211104192802.3093811-1-ricardo@foundries.io Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'board')
-rw-r--r--board/xilinx/zynqmp/zynqmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c
index dfb5dab7af..2b5239ccb4 100644
--- a/board/xilinx/zynqmp/zynqmp.c
+++ b/board/xilinx/zynqmp/zynqmp.c
@@ -394,7 +394,7 @@ int board_init(void)
printf("Silicon version:\t%d\n", zynqmp_get_silicon_version());
/* the CSU disables the JTAG interface when secure boot is enabled */
- if (CONFIG_IS_ENABLED(SPL_ZYNQMP_RESTORE_JTAG))
+ if (CONFIG_IS_ENABLED(ZYNQMP_RESTORE_JTAG))
restore_jtag();
#else
if (CONFIG_IS_ENABLED(DM_I2C) && CONFIG_IS_ENABLED(I2C_EEPROM))