From: Wolfgang Denk Date: Thu, 16 Jul 2009 22:45:52 +0200 Subject: [U-Boot] [PATCH 5/8] fdt_support, usb: Move fdt_fixup_dr_usb routine to drivers/usb/otg In-Reply-To: <20090609202532.GE20493@oksana.dev.rtsoft.ru> References: <20090609202328.GA19866@oksana.dev.rtsoft.ru> <20090609202532.GE20493@oksana.dev.rtsoft.ru> Message-ID: <20090716204552.DC0FE832E416@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Anton Vorontsov, In message <20090609202532.GE20493@oksana.dev.rtsoft.ru> you wrote: > In subsequent patches we'll use FSL-specific functions in > fdt_fixup_dr_usb(), so let's move the routine to a more appropriate > place. > > So far fsl_dr_usb.c isn't actually an USB driver, but eventually it > will turn into one, let's hope. ;-) > > Also rename CONFIG_HAS_FSL_DR_USB to CONFIG_USB_FSL_DR to be > consistent with other USB drivers. > > Signed-off-by: Anton Vorontsov > --- > Makefile | 1 + > board/freescale/mpc8315erdb/mpc8315erdb.c | 1 + > board/freescale/mpc837xemds/mpc837xemds.c | 1 + > board/freescale/mpc837xerdb/mpc837xerdb.c | 1 + > common/fdt_support.c | 41 ---------------------- > drivers/usb/otg/Makefile | 46 +++++++++++++++++++++++++ > drivers/usb/otg/fsl_dr_usb.c | 52 +++++++++++++++++++++++++++++ > include/configs/MPC8315ERDB.h | 2 +- > include/configs/MPC837XEMDS.h | 2 +- > include/configs/MPC837XERDB.h | 2 +- > include/fdt_support.h | 6 --- > include/fsl_dr_usb.h | 21 +++++++++++ > 12 files changed, 126 insertions(+), 50 deletions(-) > create mode 100644 drivers/usb/otg/Makefile > create mode 100644 drivers/usb/otg/fsl_dr_usb.c > create mode 100644 include/fsl_dr_usb.h Sorry, doesn't apply: Applying: fsl_dr_usb: Fixup disabled USB controllers nodes in device tree error: drivers/usb/otg/fsl_dr_usb.c: does not exist in index fatal: sha1 information is lacking or useless (drivers/usb/otg/fsl_dr_usb.c). Repository lacks necessary blobs to fall back on 3-way merge. Cannot fall back to three-way merge. Patch failed at 0006. Please rebase and resubmit. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "The two most common things in the universe are hydrogen and stupi- dity."