]> git.dujemihanovic.xyz Git - u-boot.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)
commit7d05d3a8e35f888ec3f90f66fe53a7c381c06d10
treeee99f1ff01145b0695abf24ea136d98f6d664853
parentd667090999236ddbf8bbbc98dc576bf301db59d0
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