Skip to content
Commit 812ff53c authored by Pankaj Bansal's avatar Pankaj Bansal Committed by Priyanka Jain
Browse files

fsl-layerscape: fix warning if no hwconfig is defined



While getting the 'subarg' of 'hwconfig' env variable in
config_core_prefetch(), if no hwconfig variable is defined,
below warning is received:
WARNING: Calling __hwconfig without a buffer and
	before environment is ready

Fix this by checking 'hwconfig' env variable.
If not found return without further processing.

Signed-off-by: default avatarPankaj Bansal <pankaj.bansal@nxp.com>
Signed-off-by: default avatarPriyanka Jain <priyanka.jain@nxp.com>
Tested-by: default avatarMichael Walle <michael@walle.cc>
parent 29a6617a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment