summaryrefslogtreecommitdiff
path: root/board/freescale/common/pq-mds-pib.c
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2008-01-15 13:42:41 -0600
committerJon Loeliger <jdl@freescale.com>2008-01-16 12:05:05 -0600
commitad8f8687b78c3e917b173f038926695383c55555 (patch)
tree06444e1c48b7b404a23fb337b75584e0274c5c47 /board/freescale/common/pq-mds-pib.c
parent7c2221eb230372a9e537c4f6636b147b0909325f (diff)
downloadu-boot-imx-ad8f8687b78c3e917b173f038926695383c55555.zip
u-boot-imx-ad8f8687b78c3e917b173f038926695383c55555.tar.gz
u-boot-imx-ad8f8687b78c3e917b173f038926695383c55555.tar.bz2
FSL: Convert board/freescale/common/Makefile to use CONFIG_
Convert the board/freescale/common/Makefile to use CONFIG_* options to select which files to conditionally compile into the board/freescale/common library rather than conditionally compiling entire files. Now handles:: CONFIG_FSL_PIXIS CONFIG_FSL_DIU_FB CONFIG_PQ_MDS_PIB CONFIG_ID_EEPROM is introduced until CFG_ID_EEPROM is gone. Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'board/freescale/common/pq-mds-pib.c')
-rw-r--r--board/freescale/common/pq-mds-pib.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/board/freescale/common/pq-mds-pib.c b/board/freescale/common/pq-mds-pib.c
index e4f96e8..6c72aa1 100644
--- a/board/freescale/common/pq-mds-pib.c
+++ b/board/freescale/common/pq-mds-pib.c
@@ -12,8 +12,6 @@
#include <i2c.h>
#include <asm/io.h>
-#ifdef CONFIG_PQ_MDS_PIB
-
#include "pq-mds-pib.h"
int pib_init(void)
@@ -102,4 +100,3 @@ int pib_init(void)
i2c_set_bus_num(orig_i2c_bus);
return 0;
}
-#endif /* CONFIG_PQ_MDS_PIB */