[PATCH 14/16] arch: arm: fsl-layerscape: allow "opt-out" of fsl_setenv_bootcmd

Peng Fan peng.fan at oss.nxp.com
Fri Jul 21 10:07:02 CEST 2023



On 7/21/2023 12:39 PM, Mathew McBride wrote:
> Allow individual Layerscape boards to opt-out of fsl_setenv_bootcmd
> by declaring the original function as weak.
> 
> fsl_setenv_bootcmd is used to change the bootcmd based on the
> TF-A boot source (e.g QSPI vs SD/MMC) for reasons including
> secure boot / integrity measurements and DPAA2 configuration loading.
> See previous discussion at [1].
> 
> On the Ten64 board, our bootcmd is the same across
> all TF-A boot sources so we don't want this behaviour.
> 
> Signed-off-by: Mathew McBride<matt at traverse.com.au>

Reviewed-by: Peng Fan <peng.fan at nxp.com>


More information about the U-Boot mailing list