[U-Boot] [PATCH v2 1/2] dtoc: Support multiple compatible strings in a node

sjg at google.com sjg at google.com
Thu Jun 15 19:21:17 UTC 2017


Hi Simon,


On 06/14/2017 11:10 AM, Simon Glass wrote:
> 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 at chromium.org>

This patch works on firefly-rk3399 board,

Tested-by: Kever Yang <kever.yang at rock-chips.com>

Thanks,
- Kever
> ---
>
> Changes in v2:
> - Put the #defines in the header file
> - Add the required dtd_ prefix to the #defines
>
>   doc/driver-model/of-plat.txt |  5 +++++
>   tools/dtoc/dtoc.py           | 28 +++++++++++++++++++++-------
>   2 files changed, 26 insertions(+), 7 deletions(-)
>
Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list