Re: [U-Boot] [PATCH 2/2] dtoc: Handle nodes with phandles that depend on the same

2017-05-02 Thread sjg
Hi Simon, On 04/23/2017 08:42 AM, Simon Glass wrote: > At present dtoc assumes that nodes which are phandles do not themselves > reference other phandle nodes. Unfortunately this is not necessarilly > true. As a result we can currently output C code which does not compile > because a node

Re: [U-Boot] [PATCH 2/2] dtoc: Handle nodes with phandles that depend on the same

2017-04-23 Thread Kever Yang
Hi Simon, On 04/23/2017 08:42 AM, Simon Glass wrote: At present dtoc assumes that nodes which are phandles do not themselves reference other phandle nodes. Unfortunately this is not necessarilly true. As a result we can currently output C code which does not compile because a node declaration

[U-Boot] [PATCH 2/2] dtoc: Handle nodes with phandles that depend on the same

2017-04-22 Thread Simon Glass
At present dtoc assumes that nodes which are phandles do not themselves reference other phandle nodes. Unfortunately this is not necessarilly true. As a result we can currently output C code which does not compile because a node declaration can be referenced before it is declared. Adjust the code