Skip to content
Commit 77d7fff8 authored by Hans de Goede's avatar Hans de Goede Committed by Simon Glass
Browse files

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: default avatarHans de Goede <hdegoede@redhat.com>
Acked-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
parent d8c1d5d5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment