From fe5d488fbef192188bcddb8774154bd5527e468b Mon Sep 17 00:00:00 2001 From: Arun Bharadwaj Date: Tue, 28 Apr 2015 16:55:29 -0700 Subject: overo: Split overo.c into spl.c, common.c and overo.c This separates the SPL-specific code from the u-boot-specific code for the Overo board following the discussion at http://lists.denx.de/pipermail/u-boot/2015-April/211622.html The code is split up into spl.c, overo.c and common.c (which has the code common to both) Signed-off-by: Arun Bharadwaj --- board/overo/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'board/overo/Makefile') diff --git a/board/overo/Makefile b/board/overo/Makefile index 9109484..2189071 100644 --- a/board/overo/Makefile +++ b/board/overo/Makefile @@ -5,4 +5,8 @@ # SPDX-License-Identifier: GPL-2.0+ # -obj-y := overo.o +ifdef CONFIG_SPL_BUILD +obj-y := spl.o common.o +else +obj-y := overo.o common.o +endif -- cgit v1.1