Commit e5d08b4d authored by's avatar Committed by York Sun
Browse files

drivers/crypto/fsl: fix "era" property value on LE platforms

Use fdt_setprop_u32() instead of fdt_setprop().

Fixes: 0181937f

 ("crypto/fsl: Add fixup for crypto node")
Signed-off-by: default avatarHoria Geantă <>
Reviewed-by: default avatarMingkai Hu <>
Acked-by: Ruchika Gupta<>
Reviewed-by: default avatarYork Sun <>
parent 01cafced
......@@ -155,8 +155,7 @@ static void fdt_fixup_crypto_era(void *blob, u32 era)
err = fdt_setprop(blob, crypto_node, "fsl,sec-era", &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",
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment