coreboot/src/lib
Julius Werner f36d53c653 device_tree: Drop sub-node path lookup from dt_find_node_by_path()
Besides looking up a node with an absolute path dt_find_node_by_path()
currently also supports finding a sub-node of a non-root node. All
callers of the function pass the root node though, so it seems there
is no real need for this functionality. Also it is planned to support
DT path names with aliases, which would become messy in combination with
the lookup from a sub-node.

Change the interface of dt_find_node_by_path() to receive the DT tree
object instead of a parent node and adapt all callers accordingly.

This patch was adapted from depthcharge's http://crosreview.com/1252769

Change-Id: Iff56be4da2461ae73a7301dcaa315758d2a8c999
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32864
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2019-06-04 11:23:12 +00:00
..
gnat lib/gnat: Drop Restriction No_Exception_Propagation 2018-05-19 20:39:09 +00:00
b64_decode.c
boot_device.c boot_device: Constify argument 2019-05-12 07:47:45 +00:00
bootblock.c lib/bootblock: Sanitize CMOS after bootblock_*_early_init() 2019-05-23 08:47:59 +00:00
bootmem.c symbols.h: Add macro to define memlayout region symbols 2019-02-22 06:44:02 +00:00
bootmode.c Remove unnecessary ENV_RAMSTAGE guard 2019-05-14 06:56:59 +00:00
cb.ads Hook up Kconfig Ada spec file 2019-02-06 16:20:35 +00:00
cbfs.c src: Use include <console/console.h> when appropriate 2019-04-23 10:01:21 +00:00
cbmem_common.c symbols.h: Add macro to define memlayout region symbols 2019-02-22 06:44:02 +00:00
cbmem_console.c src: Use include <console/console.h> when appropriate 2019-04-23 10:01:21 +00:00
cbmem_stage_cache.c
compute_ip_checksum.c
coreboot_table.c commonlib: fix typo LB_TAB_* (instead of LB_TAG_*) 2019-05-29 20:12:57 +00:00
decompressor.c coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
delay.c
device_tree.c device_tree: Drop sub-node path lookup from dt_find_node_by_path() 2019-06-04 11:23:12 +00:00
dimm_info_util.c src/*: normalize Google copyright headers 2018-09-28 07:13:00 +00:00
edid.c lib/edid.c: Add missing break statement 2019-03-29 06:35:55 +00:00
edid_fill_fb.c
ext_stage_cache.c buildsystem: Promote rules.h to default include 2019-01-16 11:51:07 +00:00
fallback_boot.c coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
fit.c device_tree: Add version checks 2019-06-04 11:22:47 +00:00
fit_payload.c src: Drop unused 'include <cbfs.h>' 2019-03-19 17:14:39 +00:00
fmap.c lib/fmap: Add area read/write functions 2019-04-23 10:22:54 +00:00
gcc.c
gcov-glue.c coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
gcov-io.c
gcov-io.h
gcov-iov.h
generic_dump_spd.c src: Add missing include 'console.h' 2019-04-23 10:00:39 +00:00
gpio.c src: include <assert.h> when appropriate 2019-04-23 10:01:36 +00:00
halt.c
hardwaremain.c src: Use include <reset.h> when appropriate 2019-03-29 20:00:20 +00:00
hexdump.c lib/hexdump: Drop redundant isprint() implementation 2019-05-13 09:14:55 +00:00
hexstrtobin.c
hw-time-timer.adb
imd.c Move compiler.h to commonlib 2018-10-08 16:57:27 +00:00
imd_cbmem.c Move calls to quick_ram_check() before CBMEM init 2019-03-27 08:26:16 +00:00
jpeg.c
jpeg.h
Kconfig src/Kconfig: Move DRAM section to src/lib/Kconfig 2019-05-20 10:58:56 +00:00
libgcc.c coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
libgcov.c {src,util}: Use NULL instead of 0 for pointer 2018-06-11 08:52:08 +00:00
list.c lib/devicetree: Integrate flattened devicetree support 2018-04-30 09:33:32 +00:00
lzma.c src: Drop unused include <timestamp.h> 2019-03-07 17:17:12 +00:00
lzmadecode.c src/{include,arch,cpu,lib}: Add missing 'include <types.h>' 2019-05-29 20:27:18 +00:00
lzmadecode.h
Makefile.inc Makefile.inc: Remove unnecessary CONFIG dependency 2019-06-02 04:11:29 +00:00
malloc.c coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
memchr.c
memcmp.c
memcpy.c
memmove.c
memrange.c lib/memrange: Introduce method to clone memrange 2018-04-11 15:11:04 +00:00
memset.c
nhlt.c lib/nhlt: Use common function to set NHLT version 2018-08-27 15:54:34 +00:00
primitive_memtest.c
prog_loaders.c post_code: add post code for failure to load next stage 2019-05-22 14:21:57 +00:00
prog_ops.c Move compiler.h to commonlib 2018-10-08 16:57:27 +00:00
program.ld coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
ramtest.c Move calls to quick_ram_check() before CBMEM init 2019-03-27 08:26:16 +00:00
reg_script.c coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
region_file.c src/lib: Fix typo 2018-08-09 15:56:42 +00:00
reset.c coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
rmodule.c src: Remove unneeded include <lib.h> 2018-11-16 09:50:51 +00:00
rmodule.ld src: Fix typo 2018-08-10 21:25:53 +00:00
romstage_handoff.c buildsystem: Promote rules.h to default include 2019-01-16 11:51:07 +00:00
romstage_stack.c
rtc.c rtc: Fix rtc_calc_weekday 2019-02-27 11:07:11 +00:00
selfboot.c src/lib/selfboot: Remove unused variables 2019-04-25 15:55:21 +00:00
spd_bin.c coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
stack.c symbols.h: Add macro to define memlayout region symbols 2019-02-22 06:44:02 +00:00
string.c string.h: Move common string functions into .c file 2019-05-31 18:22:11 +00:00
thread.c src: Use #include <timer.h> when appropriate 2019-04-06 16:02:49 +00:00
timer.c Move compiler.h to commonlib 2018-10-08 16:57:27 +00:00
timer_queue.c
timestamp.c timestamp: Update TIMESTAMP_CACHE_IN_BSS to include ENV_POSTCAR 2019-05-19 18:13:26 +00:00
trace.c
ubsan.c complier.h: add __noreturn and use it in code base 2018-09-10 15:02:51 +00:00
version.c ACPI: Correct asl_compiler_revision value 2019-02-21 19:07:31 +00:00
wrdd.c Move compiler.h to commonlib 2018-10-08 16:57:27 +00:00