[U-Boot-Users] [PATCH] remove error meesage in usb_ohci.c when debug is enabled
Markus Klotzbücher
mk at denx.de
Sun Apr 6 14:26:08 CEST 2008
"Gururaja Hebbar K R" <gururajakr at sanyo.co.in> writes:
> In u-boot-1.3.1\drivers\usb\usb_ohci.c driver, if debug is enabled
> (#define DEBUG), make comes out with an error as below.
I appreciate your help, but this has already been fixed here:
commit 2596f5b9d353ff3e4387a3325d05740f16958038
Author: Stefan Roese <sr at denx.de>
Date: Wed Mar 5 12:29:32 2008 +0100
usb: Add CFG_OHCI_USE_NPS to common USB-OHCI driver
This patch adds CFG_OHCI_USE_NPS to the common USB-OHCI driver. This
way a board just needs to define this new option to enable the
"force
NoPowerSwitching mode" instead of adding new CPU/architecture
defines
to the USB source itself.
This new option will be used first with the new AMCC 460EX
Canyonlands
board port, which will be posted in a few days.
This patch also fixes a small compilation problem when DEBUG is
enabled.
> This is due to a missing } for function ohci_dump @ line 408.
>
> Below patch corrects the same.
>
> Comments are welcome.
Please make sure to base any patches on the newest top of git version of
u-boot.
Best regards
Markus Klotzbuecher
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
More information about the U-Boot
mailing list