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

Simon Glass sjg at chromium.org
Thu Jan 10 12:56:52 UTC 2019


On Mon, 7 Jan 2019 at 12:29, Simon Goldschmidt
<simon.k.r.goldschmidt at gmail.com> 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 <simon.k.r.goldschmidt at gmail.com>
> ---
>
>  tools/dtoc/dtb_platdata.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list