* [U-Boot] [PATCH] SECURE_BOOT: Correct reading of ITS bit
@ 2015-10-12 16:35 Aneesh Bansal
2015-10-30 16:21 ` York Sun
0 siblings, 1 reply; 2+ messages in thread
From: Aneesh Bansal @ 2015-10-12 16:35 UTC (permalink / raw)
To: u-boot
The ITS bit was being read incorrectly beacause of operator
precedence. The same ahs been corrected.
Signed-off-by: Lawish Deshmukh <lawish.deshmukh@freescale.com>
Signed-off-by: Aneesh Bansal <aneesh.bansal@freescale.com>
---
board/freescale/common/fsl_validate.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/board/freescale/common/fsl_validate.c b/board/freescale/common/fsl_validate.c
index 5283648..b528fb7 100644
--- a/board/freescale/common/fsl_validate.c
+++ b/board/freescale/common/fsl_validate.c
@@ -246,7 +246,7 @@ static void fsl_secboot_image_verification_failure(void)
struct ccsr_sfp_regs *sfp_regs = (void *)(CONFIG_SYS_SFP_ADDR);
u32 sts = sec_mon_in32(&sec_mon_regs->hp_stat);
- u32 its = sfp_in32(&sfp_regs->ospr) & ITS_MASK >> ITS_BIT;
+ u32 its = (sfp_in32(&sfp_regs->ospr) & ITS_MASK) >> ITS_BIT;
/*
* Read the SEC_MON status register
--
1.8.1.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [PATCH] SECURE_BOOT: Correct reading of ITS bit
2015-10-12 16:35 [U-Boot] [PATCH] SECURE_BOOT: Correct reading of ITS bit Aneesh Bansal
@ 2015-10-30 16:21 ` York Sun
0 siblings, 0 replies; 2+ messages in thread
From: York Sun @ 2015-10-30 16:21 UTC (permalink / raw)
To: u-boot
On 10/12/2015 09:35 AM, Aneesh Bansal wrote:
> The ITS bit was being read incorrectly beacause of operator
> precedence. The same ahs been corrected.
>
> Signed-off-by: Lawish Deshmukh <lawish.deshmukh@freescale.com>
> Signed-off-by: Aneesh Bansal <aneesh.bansal@freescale.com>
> ---
Applied to u-boot-fsl-qoriq. Awaiting upstream. Thanks.
York
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-10-30 16:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-12 16:35 [U-Boot] [PATCH] SECURE_BOOT: Correct reading of ITS bit Aneesh Bansal
2015-10-30 16:21 ` York Sun
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox