public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/3] crypto/fsl: fix "era" property value on LE platforms
@ 2015-07-08 14:24 Horia Geantă
  2015-07-08 14:24 ` [U-Boot] [PATCH 2/3] crypto/fsl: fix snooping for write transactions Horia Geantă
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Horia Geantă @ 2015-07-08 14:24 UTC (permalink / raw)
  To: u-boot

Use fdt_setprop_u32() instead of fdt_setprop().

Fixes: 0181937fa371a ("crypto/fsl: Add fixup for crypto node")
Signed-off-by: Horia Geant? <horia.geanta@freescale.com>
Reviewed-by: Mingkai Hu <Mingkai.Hu@freescale.com>
---
 drivers/crypto/fsl/sec.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/crypto/fsl/sec.c b/drivers/crypto/fsl/sec.c
index 443ee964feae..b25b1a4052d2 100644
--- a/drivers/crypto/fsl/sec.c
+++ b/drivers/crypto/fsl/sec.c
@@ -155,8 +155,7 @@ static void fdt_fixup_crypto_era(void *blob, u32 era)
 		return;
 	}
 
-	err = fdt_setprop(blob, crypto_node, "fsl,sec-era", &era,
-			  sizeof(era));
+	err = fdt_setprop_u32(blob, crypto_node, "fsl,sec-era", era);
 	if (err < 0) {
 		printf("ERROR: could not set fsl,sec-era property: %s\n",
 		       fdt_strerror(err));
-- 
2.4.4

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-08-04 15:56 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-08 14:24 [U-Boot] [PATCH 1/3] crypto/fsl: fix "era" property value on LE platforms Horia Geantă
2015-07-08 14:24 ` [U-Boot] [PATCH 2/3] crypto/fsl: fix snooping for write transactions Horia Geantă
     [not found]   ` <55AACF9F.8090601@freescale.com>
2015-07-22 16:38     ` Ruchika Gupta
2015-08-04 15:56   ` York Sun
2015-07-08 14:24 ` [U-Boot] [PATCH 3/3] crypto/fsl: clean-up - use fdt_setprop_u32 helper Horia Geantă
     [not found]   ` <55AACFAC.5080902@freescale.com>
2015-07-22 16:38     ` Ruchika Gupta
2015-08-04 15:56   ` York Sun
     [not found] ` <55AACF92.9070508@freescale.com>
2015-07-22 16:38   ` [U-Boot] [PATCH 1/3] crypto/fsl: fix "era" property value on LE platforms Ruchika Gupta
2015-08-04 15:56 ` York Sun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox