[U-Boot-Users] [PATCH] fix [id]cache_status for MPC85xx processors

The existing code for the [id]cache_status commands on MPC85xx processors looks at the wrong bit to determine if the L1 cache is enabled. It looks at the most significant bit when it should look at the least significant bit. This patch corrects this bug. Cheers! Murray...
CHANGELOG entry:
* Patch by Murray Jensen Murray.Jensen@csiro.au, July 19, 2005: - fix bug in [id]cache_status commands for MPC85xx processors; should look at LSB of L1CSRn registers to determine if L1 cache is enabled, not the MSB.
Copyright:
This patch is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

In message 21717.1121697945@gerd you wrote:
- Patch by Murray Jensen Murray.Jensen@csiro.au, July 19, 2005:
- fix bug in [id]cache_status commands for MPC85xx processors; should look at LSB of L1CSRn registers to determine if L1 cache is enabled, not the MSB.
Applied, thanks.
Best regards,
Wolfgang Denk
participants (2)
-
Murray.Jensen@csiro.au
-
Wolfgang Denk