ot1200: add basic SPL support
[oweals/u-boot.git] / board / bachmann / ot1200 / Makefile
index 1bd42e8321186349d6fefe643a2832224537a974..9e50bfeb8683d958e7e20b2ce5ab43ed2c931031 100644 (file)
@@ -6,4 +6,8 @@
 # SPDX-License-Identifier:     GPL-2.0+
 #
 
+ifdef CONFIG_SPL_BUILD
+obj-y  := ot1200.o ot1200_spl.o
+else
 obj-y  := ot1200.o
+endif