]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
xilinx: zynqmp: fix ZYNQMP_RESTORE_JTAG check
authorRicardo Salveti <ricardo@foundries.io>
Thu, 4 Nov 2021 19:28:02 +0000 (16:28 -0300)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 15 Nov 2021 14:59:33 +0000 (15:59 +0100)
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>
board/xilinx/zynqmp/zynqmp.c

index dfb5dab7afa3a2095467258d698d6b0e08ea114a..2b5239ccb4752dbbe1af490d8c139d8652f41438 100644 (file)
@@ -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))