arm64: zynqmp: Create fdtfile from compatible string
authorMichal Simek <michal.simek@xilinx.com>
Thu, 14 Feb 2019 12:14:30 +0000 (13:14 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 15 Feb 2019 14:04:01 +0000 (15:04 +0100)
commit91d7e0c47f51e73cd8357f023ffc7c217a3c7291
tree431333d103b4083dfb8b1e25801a0e9d01aefc82
parent053d4bd4727185f292a0bb2ac080c8c6ae794cbe
arm64: zynqmp: Create fdtfile from compatible string

distro boot expects that fdtfile name is setup for alternative DTB.
Create this file based on the first platform compatible string.
This should ensure that one rootfs can store multiple DTBs for different
boards.
Reflect structure which is used in Linux kernel. It means dtbs are
strored in xilinx folder.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Alexander Graf <agraf@suse.de>
board/xilinx/zynqmp/zynqmp.c