sunxi: Fix arm64 fdtfile variable
authorAndreas Färber <afaerber@suse.de>
Fri, 14 Apr 2017 16:44:47 +0000 (18:44 +0200)
committerJagan Teki <jagan@openedev.com>
Mon, 24 Apr 2017 06:25:42 +0000 (11:55 +0530)
commit2eff3b7179a95a5cde0eaf8fae8c4b18956f2f59
treee07c80dab392f1bc9276f82354b524d5be9e2830
parentf02abb0608fe7e47fa1ee62e0f7655d7e0e53a12
sunxi: Fix arm64 fdtfile variable

Currently $fdtfile is constructed from CONFIG_DEFAULT_TREE, containing
the filename. However on arm64 that file is located in an allwinner
subdirectory.

To avoid the need for users/distros symlinking the .dtb files, prepend
the vendor directory for ARM64.

This aligns Pine64 with other boards such as Raspberry Pi 3.

Signed-off-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Alexander Graf <agraf@suse.de>
Reviewed-by: Jagan Teki <jagan@openedev.com>
include/configs/sunxi-common.h