diff options
author | ramneek mehresh <ramneek.mehresh@freescale.com> | 2012-02-10 00:36:43 (GMT) |
---|---|---|
committer | Andy Fleming <afleming@freescale.com> | 2012-02-15 22:50:14 (GMT) |
commit | 79f49120ba481ed736face73ecf11a6c1070a861 (patch) | |
tree | 72af7d636b38459e0e9f3dbd9195619ab8384aca /include | |
parent | 5a52977f2850dc0923151ad2d75c6af518940294 (diff) | |
download | u-boot-fsl-qoriq-79f49120ba481ed736face73ecf11a6c1070a861.tar.xz |
powerpc/8xxx:Add MPH controller support in USB device-tree fixup
Add support for fixing usb mode and phy type for
MPH(Multi Port Host) USB controllers in device-tree nodes.
Required for socs like P3060, P5020, etc having MPH USB controller
Signed-off-by: Ramneek Mehresh <ramneek.mehresh@freescale.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/fdt_support.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/fdt_support.h b/include/fdt_support.h index cef3c65..4b9f84a 100644 --- a/include/fdt_support.h +++ b/include/fdt_support.h @@ -61,11 +61,11 @@ int fdt_find_and_setprop(void *fdt, const char *node, const char *prop, const void *val, int len, int create); void fdt_fixup_qe_firmware(void *fdt); -#ifdef CONFIG_HAS_FSL_DR_USB +#if defined(CONFIG_HAS_FSL_DR_USB) || defined(CONFIG_HAS_FSL_MPH_USB) void fdt_fixup_dr_usb(void *blob, bd_t *bd); #else static inline void fdt_fixup_dr_usb(void *blob, bd_t *bd) {} -#endif /* CONFIG_HAS_FSL_DR_USB */ +#endif /* defined(CONFIG_HAS_FSL_DR_USB) || defined(CONFIG_HAS_FSL_MPH_USB) */ #if defined(CONFIG_SYS_FSL_SEC_COMPAT) void fdt_fixup_crypto_node(void *blob, int sec_rev); |