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

Simon Glass sjg at chromium.org
Sat Apr 9 20:36:10 CEST 2016


On 4 April 2016 at 12:25, Maxime Ripard
<maxime.ripard at free-electrons.com> 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 <maxime.ripard at free-electrons.com>
> ---
>  cmd/fdt.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list