Message ID | 20211104192802.3093811-1-ricardo@foundries.io |
---|---|
State | Accepted |
Commit | 11c0255cd8a7177e2b714040efcfd51844cb5d8e |
Delegated to: | Michal Simek |
Headers | show |
Series | xilinx: zynqmp: fix ZYNQMP_RESTORE_JTAG check | expand |
On Thu, Nov 4, 2021 at 9:28 PM Ricardo Salveti <ricardo@foundries.io> wrote: > > 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> > --- > board/xilinx/zynqmp/zynqmp.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c > index dfb5dab7afa..2b5239ccb47 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)) > -- > 2.33.0 >
On 11/4/21 20:28, Ricardo Salveti wrote: > Config check should be done without the SPL_ prefix. > > Signed-off-by: Ricardo Salveti <ricardo@foundries.io> > --- > board/xilinx/zynqmp/zynqmp.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c > index dfb5dab7afa..2b5239ccb47 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)) > applied. M
diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c index dfb5dab7afa..2b5239ccb47 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))
Config check should be done without the SPL_ prefix. Signed-off-by: Ricardo Salveti <ricardo@foundries.io> --- board/xilinx/zynqmp/zynqmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)