platform_external_dtc/libfdt
Nicholas Piggin ce01b21098 libfdt: Add FDT_CREATE_FLAG_NO_NAME_DEDUP flag that trades size for speed
Searching for duplicate names scales O(n^2) with the number of names
added to a fdt, which can cause a noticable slowdown with larger device
trees and very slow CPU cores.

Add FDT_CREATE_FLAG_NO_NAME_DEDUP that allow the caller to trade fdt size
for speed in the creation process.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Message-Id: <20190509094122.834-4-npiggin@gmail.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2019-05-10 11:53:10 +10:00
..
.gitignore Link tools and tests against libfdt shared library 2019-03-29 17:20:16 +11:00
fdt.c libfdt: Add fdt_header_size() 2018-06-07 11:49:14 +10:00
fdt.h libfdt: Remove leading underscores from identifiers 2017-10-26 09:25:14 +02:00
fdt_addresses.c libfdt: add fdt_append_addrrange() 2019-03-29 12:12:29 +11:00
fdt_empty_tree.c Fix a few whitespace and style nits 2017-04-09 20:56:37 +10:00
fdt_overlay.c libfdt: Use fdt_find_max_phandle() 2019-03-29 13:31:16 +11:00
fdt_ro.c libfdt: Make fdt_get_max_phandle() an inline 2019-03-29 13:59:04 +11:00
fdt_rw.c libfdt: Ensure fdt_add_property frees allocated name string on failure 2019-05-10 11:53:10 +10:00
fdt_strerror.c libfdt: Introduce fdt_create_with_flags() 2019-05-10 11:53:10 +10:00
fdt_sw.c libfdt: Add FDT_CREATE_FLAG_NO_NAME_DEDUP flag that trades size for speed 2019-05-10 11:53:10 +10:00
fdt_wip.c libfdt: Remove leading underscores from identifiers 2017-10-26 09:25:14 +02:00
libfdt.h libfdt: Add FDT_CREATE_FLAG_NO_NAME_DEDUP flag that trades size for speed 2019-05-10 11:53:10 +10:00
libfdt_env.h libfdt: Add new maximum phandle lookup function 2019-03-29 13:29:51 +11:00
libfdt_internal.h libfdt: Clean up header checking functions 2018-06-07 11:45:44 +10:00
Makefile.libfdt Link tools and tests against libfdt shared library 2019-03-29 17:20:16 +11:00
TODO dtc: Update TODO files 2007-12-19 08:20:26 -06:00
version.lds libfdt: Introduce fdt_create_with_flags() 2019-05-10 11:53:10 +10:00