]> git.dujemihanovic.xyz Git - u-boot.git/commit
spl: atf: Add missing ndepth initialization
authorMichal Simek <michal.simek@xilinx.com>
Thu, 19 Dec 2019 14:42:13 +0000 (15:42 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 14 Jan 2020 08:05:53 +0000 (09:05 +0100)
commit935568eecc4b3e9a493b6ba1517c1e066af63aef
tree634383ff4112722729a1a19823012ced7b643e87
parent53c69dec331ce8a6d0c57f0daed55d82f76d4fe6
spl: atf: Add missing ndepth initialization

ndepth needs to be initialized before it is used in fdt_next_node().
Uninitialized value is causing that node is found and depth increase but
won't pass condition below because initial state wasn't setup.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
common/spl/spl_atf.c