xilinx: zynqmp: Remove one static variable
authorMichal Simek <michal.simek@xilinx.com>
Wed, 5 Aug 2020 10:41:35 +0000 (12:41 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 23 Sep 2020 08:31:40 +0000 (10:31 +0200)
commitced4d46626b06298d19e61279f49bf5158c5e2a6
tree8a0adad5b03b9428d909594f7bc5516c4713089f
parente17c5ec8e11636889755386de4a7a2171f016503
xilinx: zynqmp: Remove one static variable

There is no reason to have name variable saved in BSS section when it
doesn't need to be really used. That's why remove static from variable
definition and use strdup() to duplicate string with exact size from malloc
area instead.

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