]> git.ipfire.org Git - people/ms/u-boot.git/commit
fdt: Fix handling of paths with options in them
authorHans de Goede <hdegoede@redhat.com>
Mon, 20 Apr 2015 09:13:37 +0000 (11:13 +0200)
committerSimon Glass <sjg@chromium.org>
Fri, 24 Apr 2015 04:54:32 +0000 (22:54 -0600)
commit77d7fff8cec2652be8c2494b6b66d14a398ec860
treec881b66285953df51bff45b2a3d9bc02162a25af
parentd8c1d5d5fb6eafbc532982125f006e49f2c40e71
fdt: Fix handling of paths with options in them

After syncing the sunxi dts files with the upstream kernel dm/fdt sunxi
builds would no longer boot.

The problem is that stdout-path is now set like this in the upstream dts
files: stdout-path = "serial0:115200n8". The use of options in of-paths,
either after an alias name, or after a full path, e.g. stdout-path =
"/soc@01c00000/serial@01c28000:115200", is standard of usage, but something
which the u-boot dts code so far did not handle.

This commit fixes this, adding support for both path formats.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Simon Glass <sjg@chromium.org>
lib/libfdt/fdt_ro.c