summaryrefslogtreecommitdiff
path: root/board/phytec/pcm051/Makefile
diff options
context:
space:
mode:
authorLars Poeschel <poeschel@lemonage.de>2013-01-11 00:53:31 +0000
committerTom Rini <trini@ti.com>2013-02-07 10:36:26 -0500
commit1c1b7c3739095da7d73fef3adbe9f187791ca9ff (patch)
tree464437fb0e953b4929f778312a2e20ef0919e103 /board/phytec/pcm051/Makefile
parentaca0b8b4f7ec6622c171038084fb84b33dcea580 (diff)
downloadu-boot-imx-1c1b7c3739095da7d73fef3adbe9f187791ca9ff.zip
u-boot-imx-1c1b7c3739095da7d73fef3adbe9f187791ca9ff.tar.gz
u-boot-imx-1c1b7c3739095da7d73fef3adbe9f187791ca9ff.tar.bz2
pcm051: Add support for Phytec phyCORE-AM335x
The board is named pcm051 and has this hardware: SOC: TI AM3359 DDR3-RAM: 2x MT41J256M8HX-15EIT:D 512MiB ETH 1: LAN8710AI SPI-Flash: W25Q64BVSSIG RTC: RV-4162-C7 I2C-EEPROM: CAT32WC32 NAND: MT29F4G08_VFPGA63 PMIC: TPS65910A3 LCD Supported: UART 1 MMC/SD ETH 1 USB I2C SPI Not yet supported: NAND RTC LCD Signed-off-by: Lars Poeschel <poeschel@lemonage.de> [trini: Add #define CONFIG_PHY_ADDR 0 to config] Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'board/phytec/pcm051/Makefile')
-rw-r--r--board/phytec/pcm051/Makefile46
1 files changed, 46 insertions, 0 deletions
diff --git a/board/phytec/pcm051/Makefile b/board/phytec/pcm051/Makefile
new file mode 100644
index 0000000..67a87a1
--- /dev/null
+++ b/board/phytec/pcm051/Makefile
@@ -0,0 +1,46 @@
+#
+# Makefile
+#
+# Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
+#
+# 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 "as is" WITHOUT ANY WARRANTY of any
+# kind, whether express or implied; without even the implied warranty
+# of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+
+include $(TOPDIR)/config.mk
+
+LIB = $(obj)lib$(BOARD).o
+
+ifdef CONFIG_SPL_BUILD
+COBJS := mux.o
+endif
+
+COBJS += board.o
+SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
+OBJS := $(addprefix $(obj),$(COBJS))
+SOBJS := $(addprefix $(obj),$(SOBJS))
+
+$(LIB): $(obj).depend $(OBJS) $(SOBJS)
+ $(call cmd_link_o_target, $(OBJS) $(SOBJS))
+
+clean:
+ rm -f $(SOBJS) $(OBJS)
+
+distclean: clean
+ rm -f $(LIB) core *.bak $(obj).depend
+
+#########################################################################
+
+# defines $(obj).depend target
+include $(SRCTREE)/rules.mk
+
+sinclude $(obj).depend
+
+#########################################################################