From mboxrd@z Thu Jan 1 00:00:00 1970 From: Markus =?utf-8?Q?Klotzb=C3=BCcher?= Date: Sun, 06 Apr 2008 14:26:08 +0200 Subject: [U-Boot-Users] [PATCH] remove error meesage in usb_ohci.c when debug is enabled In-Reply-To: <5BF78BCE8D9BF14A83F836BD9E3916BA0DDB05@blrms.slti.sanyo.co.in> (Gururaja Hebbar K. R.'s message of "Thu\, 3 Apr 2008 06\:27\:59 +0530") References: <5BF78BCE8D9BF14A83F836BD9E3916BA0DDB05@blrms.slti.sanyo.co.in> Message-ID: <871w5jw4nz.fsf@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 "Gururaja Hebbar K R" 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 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