u-boot/lib/libfdt
Hans de Goede 77d7fff8ce 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>
2015-04-23 22:54:32 -06:00
..
fdt_addresses.c fdt: Sync up with libfdt 2014-08-09 11:17:04 -04:00
fdt_empty_tree.c Coding Style cleanup: remove trailing empty lines 2013-10-14 16:06:54 -04:00
fdt_ro.c fdt: Fix handling of paths with options in them 2015-04-23 22:54:32 -06:00
fdt_rw.c fdt: Sync up with libfdt 2014-08-09 11:17:04 -04:00
fdt_strerror.c libfdt: SPDX-License-Identifier: GPL-2.0+ BSD-2-Clause 2013-08-10 09:04:25 -04:00
fdt_sw.c fdt: Sync up with libfdt 2014-08-09 11:17:04 -04:00
fdt_wip.c libfdt: SPDX-License-Identifier: GPL-2.0+ BSD-2-Clause 2013-08-10 09:04:25 -04:00
fdt.c libfdt: SPDX-License-Identifier: GPL-2.0+ BSD-2-Clause 2013-08-10 09:04:25 -04:00
libfdt_internal.h fdt: Sync up with libfdt 2014-08-09 11:17:04 -04:00
Makefile libfdt: move CONFIG_OF_LIBFDT and CONFIG_FIT to lib/Makefile 2014-12-08 09:35:47 -05:00
README Move libfdt/ into lib/ 2010-04-13 09:13:04 +02:00

The libfdt functionality was written by David Gibson.  The original
source came from the git repository:

URL:		git://ozlabs.org/home/dgibson/git/libfdt.git

author		David Gibson <dgibson@sneetch.(none)>
		Fri, 23 Mar 2007 04:16:54 +0000 (15:16 +1100)
committer	David Gibson <dgibson@sneetch.(none)>
		Fri, 23 Mar 2007 04:16:54 +0000 (15:16 +1100)
commit		857f54e79f74429af20c2b5ecc00ee98af6a3b8b
tree		2f648f0f88225a51ded452968d28b4402df8ade0
parent		07a12a08005f3b5cd9337900a6551e450c07b515

To adapt for u-boot usage, only the applicable files were copied and
imported into the u-boot git repository.
Omitted:
* GPL - u-boot comes with a copy of the GPL license
* test subdirectory - not directly useful for u-boot

After importing, other customizations were performed.  See the git log
for details.

Jerry Van Baren