kernel-fxtec-pro1x/scripts/dtc
Stephen Warren 205a8eb7ce dtc: fix for_each_*() to skip first object if deleted
The previous definition of for_each_*() would always include the very
first object within the list, irrespective of whether it was marked
deleted, since the deleted flag was not checked on the first object,
but only on any "next" object.

Fix for_each_*() to check the deleted flag in the loop body every
iteration to correct this.

(upstream dtc commit 1762ab42ef77db7ab2776d0d6cba3515150f518a)

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
2012-10-17 15:53:04 -05:00
..
libfdt dtc: import latest upstream dtc 2012-10-01 11:11:35 -05:00
.gitignore
checks.c dtc: import latest upstream dtc 2012-10-01 11:11:35 -05:00
data.c dtc: import latest upstream dtc 2012-10-01 11:11:35 -05:00
dtc-lexer.l dtc: import latest upstream dtc 2012-10-01 11:11:35 -05:00
dtc-lexer.lex.c_shipped dtc: import latest upstream dtc 2012-10-01 11:11:35 -05:00
dtc-parser.tab.c_shipped dtc: import latest upstream dtc 2012-10-01 11:11:35 -05:00
dtc-parser.tab.h_shipped dtc: import latest upstream dtc 2012-10-01 11:11:35 -05:00
dtc-parser.y dtc: import latest upstream dtc 2012-10-01 11:11:35 -05:00
dtc.c dtc: import latest upstream dtc 2012-10-01 11:11:35 -05:00
dtc.h dtc: fix for_each_*() to skip first object if deleted 2012-10-17 15:53:04 -05:00
fdtdump.c dtc: import latest upstream dtc 2012-10-01 11:11:35 -05:00
fdtget.c dtc: import latest upstream dtc 2012-10-01 11:11:35 -05:00
fdtput.c dtc: import latest upstream dtc 2012-10-01 11:11:35 -05:00
flattree.c dtc: import latest upstream dtc 2012-10-01 11:11:35 -05:00
fstree.c of/flattree: Update dtc to current mainline. 2011-01-03 16:02:49 -07:00
livetree.c dtc: import latest upstream dtc 2012-10-01 11:11:35 -05:00
Makefile dtc: migrate parser to implicit rules 2011-06-09 14:04:46 -04:00
Makefile.dtc dtc: import latest upstream dtc 2012-10-01 11:11:35 -05:00
srcpos.c dtc: import latest upstream dtc 2012-10-01 11:11:35 -05:00
srcpos.h dtc: import latest upstream dtc 2012-10-01 11:11:35 -05:00
treesource.c dtc: import latest upstream dtc 2012-10-01 11:11:35 -05:00
util.c dtc: import latest upstream dtc 2012-10-01 11:11:35 -05:00
util.h dtc: import latest upstream dtc 2012-10-01 11:11:35 -05:00
version_gen.h of/flattree: Update dtc to current mainline. 2011-01-03 16:02:49 -07:00