u-boot/lib/libfdt
Maxime Ripard e6628ad7b9 cmd: fdt: add fdt overlay application subcommand
The device tree overlays are a good way to deal with user-modifyable
boards or boards with some kind of an expansion mechanism where we can
easily plug new board in (like the BBB or the raspberry pi).

However, so far, the usual mechanism to deal with it was to have in Linux
some driver detecting the expansion boards plugged in and then request
these overlays using the firmware interface.

That works in most cases, but in some cases, you might want to have the
overlays applied before the userspace comes in. Either because the new
board requires some kind of an early initialization, or because your root
filesystem is accessed through that expansion board.

The easiest solution in such a case is to simply have the component before
Linux applying that overlay, removing all these drawbacks.

Reviewed-by: Stefan Agner <stefan@agner.ch>
Acked-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
Acked-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
2016-08-20 11:35:05 -04:00
..
fdt.c lib/libfdt/: General aesthetic/style fixes. 2016-06-19 17:05:55 -06:00
fdt_addresses.c lib/libfdt/: General aesthetic/style fixes. 2016-06-19 17:05:55 -06:00
fdt_empty_tree.c lib/libfdt/: General aesthetic/style fixes. 2016-06-19 17:05:55 -06:00
fdt_overlay.c cmd: fdt: add fdt overlay application subcommand 2016-08-20 11:35:05 -04:00
fdt_region.c lib/libfdt/: General aesthetic/style fixes. 2016-06-19 17:05:55 -06:00
fdt_ro.c libfdt: Add fdt_path_offset_namelen 2016-08-20 11:35:02 -04:00
fdt_rw.c lib/libfdt/: General aesthetic/style fixes. 2016-06-19 17:05:55 -06:00
fdt_strerror.c lib/libfdt/: General aesthetic/style fixes. 2016-06-19 17:05:55 -06:00
fdt_sw.c lib/libfdt/: General aesthetic/style fixes. 2016-06-19 17:05:55 -06:00
fdt_wip.c libfdt: Add fdt_setprop_inplace_namelen_partial 2016-08-20 11:35:04 -04:00
libfdt.swig dm: Add a more efficient libfdt library 2016-07-14 20:40:24 -06:00
libfdt_internal.h fdt: Sync up with libfdt 2014-08-09 11:17:04 -04:00
Makefile libfdt: Add overlay application function 2016-08-20 11:35:04 -04:00
README lib/libfdt/: General aesthetic/style fixes. 2016-06-19 17:05:55 -06:00
setup.py dm: Add a more efficient libfdt library 2016-07-14 20:40:24 -06:00
test_libfdt.py dm: Add a more efficient libfdt library 2016-07-14 20:40:24 -06: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