From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Wed, 22 Sep 2010 11:01:40 +0200 Subject: [U-Boot] [PATCH] ppc4xx: Disable trace broadcast for 44x non debug mode In-Reply-To: <1284661924-16557-1-git-send-email-vgallardo@apm.com> References: <1284661924-16557-1-git-send-email-vgallardo@apm.com> Message-ID: <201009221101.41005.sr@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 On Thursday 16 September 2010 20:32:04 Victor Gallardo wrote: > By default the trace broadcast is enabled on 44x systems. > > To reduce power consumption when instruction tracing is > not needed, disable trace broadcast. > > Check External Debug Mode (EDM) bit to detect if it should be > disabled or not. > > Resetting system via a debugger will set the DBCR0[EDM] bit. > Resetting via u-boot or OS will not. Applied to u-boot-ppc4xx/next. Thanks. Cheers, Stefan -- 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