Re: [U-Boot] [PATCH RESEND 1/2] cmd: fdt: Narrow the check for fdt addr

2016-04-09 Thread Simon Glass
On 4 April 2016 at 12:25, Maxime Ripard wrote: > The current code only checks if the fdt subcommand is fdt addr by checking > whether it starts with 'a'. > > Since this is a pretty widely used letter, narrow down that check a bit. > > Signed-off-by: Maxime Ripard > --- > cmd/fdt.c | 2 +- > 1 fi

[U-Boot] [PATCH RESEND 1/2] cmd: fdt: Narrow the check for fdt addr

2016-04-04 Thread Maxime Ripard
The current code only checks if the fdt subcommand is fdt addr by checking whether it starts with 'a'. Since this is a pretty widely used letter, narrow down that check a bit. Signed-off-by: Maxime Ripard --- cmd/fdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/fdt.