xilinx: zynqmp: Check that DT is 64bit aligned
authorMichal Simek <michal.simek@xilinx.com>
Thu, 19 Aug 2021 09:07:59 +0000 (11:07 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 26 Aug 2021 06:14:43 +0000 (08:14 +0200)
commit5bd5ee02b23be2062c5e0c194355534eaa7e7854
tree8de5ad83c87d05ba5e3603a6dd046b1fd8bdb522
parent88232532728c91d69a1f5efb219f6cd7fc030461
xilinx: zynqmp: Check that DT is 64bit aligned

DT needs to be 64bit aligned. If it is not fdt64_to_cpu will fail when try
to read information about reserved memory. The system ends in exception
without any clue what's going it. That's why detect not aligned DT and
panic to show where the issue is coming from.

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