[U-Boot] [PATCH 6/6] pxe: additionaly check for fdt_file env variable

Stephen Warren
2014-03-25T20:45:02Z

On 03/20/2014 04:13 PM, Dennis Gilmore wrote:
> some boards have used fdt_file while others have used fdtfile to
> define the name of the fdt file. If we do notget a fdtfile environment
> variable, additionally check for fdt_file.

Is this variable typically set by the user or by the default
environment? If the default environment, perhaps the variable name could
simply be changed?

Still, this change is fine by me,
Acked-by: Stephen Warren <swarren@nvidia.com

> diff --git a/common/cmd_pxe.c b/common/cmd_pxe.c
> + if (!f1) {
> + f1 = getenv("fdt_file");
> + }

Doesn't checkpatch say to remove the {} there?