]> git.sur5r.net Git - u-boot/commit
cmd: fdt: Narrow the check for fdt addr
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 5 Jul 2016 08:26:34 +0000 (10:26 +0200)
committerTom Rini <trini@konsulko.com>
Sat, 20 Aug 2016 15:34:58 +0000 (11:34 -0400)
commitf0ed68e21f219c1bee52b73183660e5e88b06e0f
treea3189a140322f9f914f52fbc0ef52303b13cd2f4
parent793fd86f722f5c5e13290be2074816b001359b76
cmd: fdt: Narrow the check for fdt addr

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.

Acked-by: Simon Glass <sjg@chromium.org>
Acked-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
cmd/fdt.c