dtoc: Support multiple compatible strings in a node
authorSimon Glass <sjg@chromium.org>
Wed, 14 Jun 2017 03:10:06 +0000 (21:10 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 11 Jul 2017 16:08:19 +0000 (10:08 -0600)
commit2cce586651bbeb0489c6cc6f04489f65bd039b9e
treeb83684261b3ad2ecebc49ae37010e98a145c45af
parent564cf25d5b1b90ae790e2b7619292935f40b13e6
dtoc: Support multiple compatible strings in a node

Sometimes a node will have multiple compatible strings. Drivers may use
one or the other so the best approach seems to be to #define them to be
equivalent.

Update dtoc to support this.

Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Kever Yang <kever.yang@rock-chips.com>
doc/driver-model/of-plat.txt
tools/dtoc/dtoc.py