From a311db6941791617cb4b6bc3c67b47a8b1132e95 Mon Sep 17 00:00:00 2001 From: Ramneek Mehresh Date: Tue, 8 Nov 2011 10:21:28 +0530 Subject: 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 Signed-off-by: Kumar Gala --- board/freescale/p1_p2_rdb/p1_p2_rdb.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'board/freescale/p1_p2_rdb/p1_p2_rdb.c') diff --git a/board/freescale/p1_p2_rdb/p1_p2_rdb.c b/board/freescale/p1_p2_rdb/p1_p2_rdb.c index 864b3ce8fb1..cfbae691198 100644 --- a/board/freescale/p1_p2_rdb/p1_p2_rdb.c +++ b/board/freescale/p1_p2_rdb/p1_p2_rdb.c @@ -264,7 +264,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 #if defined(CONFIG_SDCARD) || defined(CONFIG_SPIFLASH) /* Delete eLBC node as it is muxed with USB2 controller */ -- cgit v1.2.3