Re: [PATCH v2 07/33] dtoc: Support scanning of structs in header files

2021-02-06 Thread Simon Glass
Drivers can have private / platform data contained in structs and these struct definitions are generally kept in header files. In order to generate build-time devices, dtoc needs to generate code that declares the data contained in those structs. This generated code must include the relevant header

[PATCH v2 07/33] dtoc: Support scanning of structs in header files

2021-02-03 Thread Simon Glass
Drivers can have private / platform data contained in structs and these struct definitions are generally kept in header files. In order to generate build-time devices, dtoc needs to generate code that declares the data contained in those structs. This generated code must include the relevant header