summaryrefslogtreecommitdiff
path: root/board/freescale/p1010rdb
diff options
context:
space:
mode:
authorRamneek Mehresh <ramneek.mehresh@freescale.com>2011-11-08 10:21:28 +0530
committerKumar Gala <galak@kernel.crashing.org>2011-11-08 08:36:04 -0600
commita311db6941791617cb4b6bc3c67b47a8b1132e95 (patch)
tree9a5c32f93c1d1f79bd86caa44877c59f1ef0b486 /board/freescale/p1010rdb
parent4765fb7d739d0a46a466f96cf4ef0126d44ab5d0 (diff)
downloadu-boot-imx-a311db6941791617cb4b6bc3c67b47a8b1132e95.zip
u-boot-imx-a311db6941791617cb4b6bc3c67b47a8b1132e95.tar.gz
u-boot-imx-a311db6941791617cb4b6bc3c67b47a8b1132e95.tar.bz2
powerpc/85xx: Make inclusion of USB device fixup conditional
Include call to usb device-fixup only when CONFIG_HAS_FSL_DR_USB is defined for the platform - P1020RDB, P1010RDB, P1020-PC Signed-off-by: Ramneek Mehresh <ramneek.mehresh@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board/freescale/p1010rdb')
-rw-r--r--board/freescale/p1010rdb/p1010rdb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/freescale/p1010rdb/p1010rdb.c b/board/freescale/p1010rdb/p1010rdb.c
index 03e9da1..b9e66f7 100644
--- a/board/freescale/p1010rdb/p1010rdb.c
+++ b/board/freescale/p1010rdb/p1010rdb.c
@@ -275,7 +275,9 @@ void ft_board_setup(void *blob, bd_t *bd)
fdt_fixup_memory(blob, (u64)base, (u64)size);
+#if defined(CONFIG_HAS_FSL_DR_USB)
fdt_fixup_dr_usb(blob, bd);
+#endif
/* P1014 and it's derivatives don't support CAN and eTSEC3 */
if (cpu->soc_ver == SVR_P1014 || cpu->soc_ver == SVR_P1014_E) {