powerpc/mpc8xxx: Fix USB device-tree fixup
authorramneek mehresh <ramneek.mehresh@freescale.com>
Tue, 18 Sep 2012 22:28:51 +0000 (22:28 +0000)
committerAndy Fleming <afleming@freescale.com>
Mon, 22 Oct 2012 19:31:12 +0000 (14:31 -0500)
commit9c889ece32d41063dd8e66e0c45a8e8c0c297149
treeb899c8902f80fc4dbf9cfae56e07d4c1628ebe9d
parent4e0be34a85b6bc9b8ae36feaf14440a347a2b22c
powerpc/mpc8xxx: Fix USB device-tree fixup

Fix usb device-tree fixup:
- wrong modification of dr_mode and phy_type when
  "usb1" is not mentioned inside hwconfig string;
   now allows hwconfig strings like:
"usb2:dr_mode=host,phy_type=ulpi"
- add warning message for using usb_dr_mode
  and usb_phy_type env variables (if either is used)

Signed-off-by: Ramneek Mehresh <ramneek.mehresh@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
arch/powerpc/cpu/mpc8xxx/fdt.c