summaryrefslogtreecommitdiff
path: root/board/xilinx/zynqmp/Makefile
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2016-11-29 12:03:51 +0100
committerMichal Simek <michal.simek@xilinx.com>2016-12-02 14:35:50 +0100
commitfde6cacde269dab8622415fa599b43741a3463c2 (patch)
treeedd751fc5cec50c4af3e751a9dbf1bf2305b4112 /board/xilinx/zynqmp/Makefile
parente367240a5404b62663de935dc6a8a06b4d92a87a (diff)
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 <michal.simek@xilinx.com>
Diffstat (limited to 'board/xilinx/zynqmp/Makefile')
-rw-r--r--board/xilinx/zynqmp/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/xilinx/zynqmp/Makefile b/board/xilinx/zynqmp/Makefile
index efc8edaaf6..9d69d6546e 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)