summaryrefslogtreecommitdiffstats
path: root/board/sbc8349/Makefile
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2007-01-16 11:38:14 -0500
committerKim Phillips <kim.phillips@freescale.com>2007-03-02 11:05:53 -0600
commit91e25769771c1164ed63ffca0add49f934ae3343 (patch)
treec76a51da2252d0362745e443a37059e965201036 /board/sbc8349/Makefile
parent05031db456ab227f3e3752f37b9b812b65bb83ad (diff)
downloadbootable_bootloader_goldelico_gta04-91e25769771c1164ed63ffca0add49f934ae3343.zip
bootable_bootloader_goldelico_gta04-91e25769771c1164ed63ffca0add49f934ae3343.tar.gz
bootable_bootloader_goldelico_gta04-91e25769771c1164ed63ffca0add49f934ae3343.tar.bz2
mpc83xx: U-Boot support for Wind River SBC8349
I've redone the SBC8349 support to match git-current, which incorporates all the MPC834x updates from Freescale since the 1.1.6 release, including the DDR changes. I've kept all the SBC8349 files as parallel as possible to the MPC8349EMDS ones for ease of maintenance and to allow for easy inspection of what was changed to support this board. Hence the SBC8349 U-Boot has FDT support and everything else that the MPC8349EMDS has. Fortunately the Freescale updates added support for boards using CS0, but I had to change spd_sdram.c to allow for board specific settings for the sdram_clk_cntl (it is/was hard coded to zero, and that remains the default if the board doesn't specify a value.) Hopefully this should be mergeable as-is and require no whitespace cleanups or similar, but if something doesn't measure up then let me know and I'll fix it. Thanks, Paul.
Diffstat (limited to 'board/sbc8349/Makefile')
-rw-r--r--board/sbc8349/Makefile49
1 files changed, 49 insertions, 0 deletions
diff --git a/board/sbc8349/Makefile b/board/sbc8349/Makefile
new file mode 100644
index 0000000..02cf569
--- /dev/null
+++ b/board/sbc8349/Makefile
@@ -0,0 +1,49 @@
+#
+# Copyright (c) 2006 Wind River Systems, Inc.
+#
+# See file CREDITS for list of people who contributed to this
+# project.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2 of
+# the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+# MA 02111-1307 USA
+#
+
+include $(TOPDIR)/config.mk
+
+LIB = $(obj)lib$(BOARD).a
+
+COBJS := $(BOARD).o pci.o
+
+SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
+OBJS := $(addprefix $(obj),$(COBJS))
+SOBJS := $(addprefix $(obj),$(SOBJS))
+
+$(LIB): $(obj).depend $(OBJS)
+ $(AR) $(ARFLAGS) $@ $(OBJS)
+
+clean:
+ rm -f $(SOBJS) $(OBJS)
+
+distclean: clean
+ rm -f $(LIB) core *.bak .depend
+
+#########################################################################
+
+# defines $(obj).depend target
+include $(SRCTREE)/rules.mk
+
+sinclude $(obj).depend
+
+#########################################################################