]> git.ipfire.org Git - thirdparty/u-boot.git/commit
cmd: fru: Move fru_data to data section instead of bss section
authorMichal Simek <michal.simek@xilinx.com>
Fri, 12 Apr 2019 09:37:02 +0000 (11:37 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 6 Jun 2019 11:46:52 +0000 (13:46 +0200)
commitf6a651bdcd1cef68be87e6ae3a150f52b62f9c34
tree5803ff5e57719f5ac2a7b804e42c0aafa95d5115
parentc8991917811e6c9074acaec007d5a96beffb6877
cmd: fru: Move fru_data to data section instead of bss section

I didn't fully check it but I think that there is an issue to use FIT
images with dtb again when bss section is cleared. U-Boot copy just
origin DTB and if embedded_dtb_select() doesn't find new DTB then can't
go back to origin DTB file.
Move this structure to data section for now.
It should be allocated by malloc anyway.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
common/fru_ops.c