]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
ppc4xx: Disable trace broadcast for 44x non debug mode
authorVictor Gallardo <vgallardo@apm.com>
Thu, 16 Sep 2010 18:32:04 +0000 (11:32 -0700)
committerStefan Roese <sr@denx.de>
Thu, 23 Sep 2010 07:02:06 +0000 (09:02 +0200)
commitad876fff342c67ca4536f7e2fec44c99498d8889
tree75217d83f79d94fec3226a1113ad6d13e11cc013
parente02d44964407716104c78d72170a086052c64e86
ppc4xx: Disable trace broadcast for 44x non debug mode

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.

Signed-off-by: Victor Gallardo <vgallardo@apm.com>
Signed-off-by: Stefan Roese <sr@denx.de>
arch/powerpc/cpu/ppc4xx/start.S