xilinx: Enable OF_BOARD for zynq and zynqmp boards
authorMichal Simek <michal.simek@xilinx.com>
Thu, 17 Feb 2022 13:28:38 +0000 (14:28 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 21 Feb 2022 12:14:02 +0000 (13:14 +0100)
commitf063100593942a33d8bf40dbc95b4b44e417a368
tree5b9f840d105f765a97cb45dab4b9a46c75b455cd
parentd1114b83405ceaccd46bce96001e6da4fab3ae40
xilinx: Enable OF_BOARD for zynq and zynqmp boards

The commit 985503439762 ("fdt: Don't call board_fdt_blob_setup() without
OF_BOARD") forced to enable OF_BOARD for platforms which provide DT
externally. Zynq/ZynqMP boards are using this feature for a long time
that's why there is a need to enable it by default.

Also code expects to return error in case of error that's why also fill it.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Link: https://lore.kernel.org/r/9f11bbffe2849f4da7d72712082d579262fe8fd8.1645104518.git.michal.simek@xilinx.com
board/xilinx/common/board.c
configs/xilinx_zynq_virt_defconfig
configs/xilinx_zynqmp_virt_defconfig