ARM: dts: stm32mp1: Add PSCI node access before relocation
[oweals/u-boot.git] / arch / powerpc / lib / Makefile
index 4e47e839301461db912c7ffaa3be0d06937ccb77..8ac49bdd0603860c5719190099a60dd2782f463a 100644 (file)
@@ -1,9 +1,7 @@
+# SPDX-License-Identifier: GPL-2.0+
 #
 # (C) Copyright 2000-2006
 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
-#
-# SPDX-License-Identifier:     GPL-2.0+
-#
 
 ## Build a couple of necessary functions into a private libgcc
 ## if the user asked for it
@@ -17,16 +15,19 @@ MINIMAL=y
 endif
 endif
 
-obj-$(CONFIG_SYS_EXTBDINFO) += setup.o
 ifdef MINIMAL
 obj-y += cache.o time.o
+ifndef CONFIG_TIMER
 obj-y += ticks.o
+endif
 else
 
 obj-y  += ppcstring.o
 
 obj-y  += ppccache.o
+ifndef CONFIG_TIMER
 obj-y  += ticks.o
+endif
 obj-y  += reloc.o
 
 obj-$(CONFIG_BAT_RW) += bat_rw.o