Re: [U-Boot] [PATCH] dtoc: make generated platdata structs const

2019-01-21 Thread Simon Goldschmidt
Hi Simon, Am 20.01.2019 um 21:23 schrieb Simon Glass: Hi Simon, On Tue, 8 Jan 2019 at 08:29, Simon Goldschmidt wrote: The platdata initialization structs are currently generated into .rwdata. Make sure the are put into .rodata by generating them as const. Signed-off-by: Simon Goldschmidt

Re: [U-Boot] [PATCH] dtoc: make generated platdata structs const

2019-01-20 Thread Simon Glass
Hi Simon, On Tue, 8 Jan 2019 at 08:29, Simon Goldschmidt wrote: > > The platdata initialization structs are currently generated into .rwdata. > Make sure the are put into .rodata by generating them as const. > > Signed-off-by: Simon Goldschmidt Unfortunately this breaks the dtoc and binman test

Re: [U-Boot] [PATCH] dtoc: make generated platdata structs const

2019-01-16 Thread Philipp Tomsich
> On 07.01.2019, at 20:29, Simon Goldschmidt > wrote: > > The platdata initialization structs are currently generated into .rwdata. > Make sure the are put into .rodata by generating them as const. > > Signed-off-by: Simon Goldschmidt Reviewed-by: Philipp Tomsich

Re: [U-Boot] [PATCH] dtoc: make generated platdata structs const

2019-01-10 Thread Simon Glass
On Mon, 7 Jan 2019 at 12:29, Simon Goldschmidt wrote: > > The platdata initialization structs are currently generated into .rwdata. > Make sure the are put into .rodata by generating them as const. > > Signed-off-by: Simon Goldschmidt > --- > > tools/dtoc/dtb_platdata.py | 2 +- > 1 file changed

[U-Boot] [PATCH] dtoc: make generated platdata structs const

2019-01-07 Thread Simon Goldschmidt
The platdata initialization structs are currently generated into .rwdata. Make sure the are put into .rodata by generating them as const. Signed-off-by: Simon Goldschmidt --- tools/dtoc/dtb_platdata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/dtoc/dtb_platdata.p