[PATCH 1/4] crypto/fsl: make SEC%u status line consistent

Heinrich Schuchardt xypron.glpk at gmx.de
Wed Jun 3 19:10:26 CEST 2020


On 6/3/20 12:05 AM, Michael Walle wrote:
> Align the status line with all the other output in U-Boot.
>
> Before the change:
> DDR    3.9 GiB (DDR3, 32-bit, CL=11, ECC on)
> SEC0: RNG instantiated
> WDT:   Started with servicing (60s timeout)
>
> After the change:
> DDR    3.9 GiB (DDR3, 32-bit, CL=11, ECC on)
> SEC0:  RNG instantiated
> WDT:   Started with servicing (60s timeout)
>
> Signed-off-by: Michael Walle <michael at walle.cc>
> ---
>  drivers/crypto/fsl/jr.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/crypto/fsl/jr.c b/drivers/crypto/fsl/jr.c
> index e2d9216cfc..612e86818b 100644
> --- a/drivers/crypto/fsl/jr.c
> +++ b/drivers/crypto/fsl/jr.c
> @@ -657,7 +657,7 @@ int sec_init_idx(uint8_t sec_idx)
>  			printf("SEC%u: RNG instantiation failed\n", sec_idx);

And how about this line?

>  			return -1;
>  		}
> -		printf("SEC%u: RNG instantiated\n", sec_idx);
> +		printf("SEC%u:  RNG instantiated\n", sec_idx);
>  	}
>  #endif
>  	return ret;
>



More information about the U-Boot mailing list