]> git.baikalelectronics.ru Git - uboot.git/commit
dtoc: make generated platdata structs const
authorSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Mon, 7 Jan 2019 19:29:26 +0000 (20:29 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 15 Jan 2019 20:28:45 +0000 (15:28 -0500)
commit2873995f151620344069620c70dc16aca8d92ab8
treeee99f1ff01145b0695abf24ea136d98f6d664853
parent4e0f7f3fae9eb10d5ebf0b7997c8f0573cf13c11
dtoc: make generated platdata structs const

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 <simon.k.r.goldschmidt@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
tools/dtoc/dtb_platdata.py