xilinx: zynqmp: fix ZYNQMP_RESTORE_JTAG check
PATCH 1/1 xilinx: zynqmp: fix ZYNQMP_RESTORE_JTAG check
Config check should be done without the SPL_ prefix.
Signed-off-by Ricardo Salveti <[email protected]>
--- board/xilinx/zynqmp/zynqmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
board/xilinx/zynqmp/zynqmp.c +1 -1
@@ -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 ))
Signature · 1 line
2.33.0
Quoted 4 lines · Ricardo Salveti
Config check should be done without the
SPL_prefix.Signed-off-by Ricardo Salveti <[email protected]>
Reviewed-by Oleksandr Suvorov <[email protected]>
Quoted 20 lines
--- board/xilinx/zynqmp/zynqmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)board/xilinx/zynqmp/zynqmp.c +1
-2@@ -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 )) --2.33.0
Signature · 7 lines
Best regards, Oleksandr Suvorov Software Engineer T: +380 63 8489656 E: [email protected] W: www.foundries.io
Michal Simek
AppliedQuoted 13 lines · Ricardo Salveti
Config check should be done without the
SPL_prefix.Signed-off-by Ricardo Salveti <[email protected]>--- board/xilinx/zynqmp/zynqmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)board/xilinx/zynqmp/zynqmp.c +0
-0
board/xilinx/zynqmp/zynqmp.c int board_init(void) · line 400
Quoted 8 lines
board/xilinx/zynqmp/zynqmp.c +1
-1@@ -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 ))
applied.
M