From: Michal Simek Date: Tue, 29 Nov 2016 11:03:51 +0000 (+0100) Subject: ARM64: zynqmp: Use DTS name for different psu_init_gpl* files in SPL X-Git-Tag: v2017.01-rc1~145 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;ds=sidebyside;h=fde6cacde269dab8622415fa599b43741a3463c2;p=platform%2Fkernel%2Fu-boot.git ARM64: zynqmp: Use DTS name for different psu_init_gpl* files in SPL CONFIG_SYS_CONFIG_NAME is not proper config option for different low level init files because different board revisions requires different psu_init_gpl* files. Also at the end of moving drivers to DM all board specific configuration files should be removed. The same changes was done for Zynq. "ARM: zynq: Simplify zynq configuration" (sha1: ad5b5801264e573bfbf17a20b04c546985c5bfc1) Signed-off-by: Michal Simek --- diff --git a/board/xilinx/zynqmp/Makefile b/board/xilinx/zynqmp/Makefile index efc8eda..9d69d65 100644 --- a/board/xilinx/zynqmp/Makefile +++ b/board/xilinx/zynqmp/Makefile @@ -7,7 +7,7 @@ obj-y := zynqmp.o -hw-platform-y :=$(shell echo $(CONFIG_SYS_CONFIG_NAME)) +hw-platform-y :=$(shell echo $(CONFIG_DEFAULT_DEVICE_TREE)) init-objs := $(if $(wildcard $(srctree)/$(src)/$(hw-platform-y)/psu_init_gpl.c),\ $(hw-platform-y)/psu_init_gpl.o)