summaryrefslogtreecommitdiff
path: root/board/freescale/common/pixis.c
diff options
context:
space:
mode:
authorKim Phillips <kim.phillips@freescale.com>2007-08-21 17:00:17 -0500
committerWolfgang Denk <wd@denx.de>2007-08-29 02:15:46 +0200
commit7608d75f9c87c9eb5b3a43219d0506d3e979a13f (patch)
tree6370fbb2dd1c25a645144617427e10eb28fb98df /board/freescale/common/pixis.c
parentef8f20752712dc1cdbd86f47e3bd6e35f81c83fd (diff)
downloadu-boot-imx-7608d75f9c87c9eb5b3a43219d0506d3e979a13f.zip
u-boot-imx-7608d75f9c87c9eb5b3a43219d0506d3e979a13f.tar.gz
u-boot-imx-7608d75f9c87c9eb5b3a43219d0506d3e979a13f.tar.bz2
support board vendor-common makefiles
if a board/$(VENDOR)/common/Makefile exists, build it. also add the first such case, board/freescale/common/Makefile, to handle building board-shared EEPROM, PIXIS, and MDS-PIB code, as dictated by board configuration. thusly get rid of alternate build dir errors such as: FATAL: can't create /work/wd/tmp/u-boot-ppc/board/freescale/mpc8360emds/../common/pq-mds-pib.o: No such file or directory by putting the common/ mkdir command in its proper place (the common Makefile). Common bits from existing individual board Makefiles have been removed. Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Diffstat (limited to 'board/freescale/common/pixis.c')
-rw-r--r--board/freescale/common/pixis.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/freescale/common/pixis.c b/board/freescale/common/pixis.c
index 99cc2ee..ae4bef1 100644
--- a/board/freescale/common/pixis.c
+++ b/board/freescale/common/pixis.c
@@ -27,6 +27,8 @@
#include <watchdog.h>
#include <asm/cache.h>
+#ifdef CONFIG_FSL_PIXIS
+
#include "pixis.h"
@@ -470,3 +472,4 @@ U_BOOT_CMD(
" pixis_reset altbank cf <SYSCLK freq> <COREPLL ratio> <MPXPLL ratio>\n"
" pixis_reset cf <SYSCLK freq> <COREPLL ratio> <MPXPLL ratio>\n"
);
+#endif /* CONFIG_FSL_PIXIS */