RE: [PATCH] armv8: fsl-layerscape: Fix automatic setting of bootmcd with TF-A

2020-12-10 Thread Priyanka Jain
>-Original Message- >From: Alban Bedel >Sent: Tuesday, November 17, 2020 8:50 PM >To: u-boot@lists.denx.de >Cc: Priyanka Jain ; Pankit Garg >; Bedel, Alban >Subject: [PATCH] armv8: fsl-layerscape: Fix automatic setting of bootmcd with >TF-A > >When booting f

[PATCH] armv8: fsl-layerscape: Fix automatic setting of bootmcd with TF-A

2020-11-17 Thread Alban Bedel
When booting from TF-A there is a logic that attempt to detect if the default environment is used, if this is the case it then set the `bootcmd` and `mcinitcmd` depending of the device we booted from. This detection logic is dubious as it access internals of the env implementation and it doesn't al