Mercurial > flash_v2
changeset 806:561295f7b8e7
Always reset CPM.
| author | gthomas |
|---|---|
| date | Wed, 05 Mar 2003 17:21:27 +0000 |
| parents | 422f7c9c87d9 |
| children | 92f3957a0029 |
| files | packages/hal/powerpc/mpc8xx/current/ChangeLog packages/hal/powerpc/mpc8xx/current/src/var_misc.c |
| diffstat | 2 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/packages/hal/powerpc/mpc8xx/current/ChangeLog +++ b/packages/hal/powerpc/mpc8xx/current/ChangeLog @@ -1,6 +1,6 @@ 2003-03-05 Gary Thomas <gary@mlbassoc.com> - * src/var_misc.c (hal_variant_init): Reset CPM (ROM/monitor only). + * src/var_misc.c (hal_variant_init): Reset CPM - always. 2003-03-05 Jonathan Larmour <jifl@eCosCentric.com>
--- a/packages/hal/powerpc/mpc8xx/current/src/var_misc.c +++ b/packages/hal/powerpc/mpc8xx/current/src/var_misc.c @@ -72,10 +72,12 @@ hal_variant_init(void) ictrl |= ICTRL_NOSERSHOW; CYGARC_MTSPR (ICTRL, ictrl); } -#ifndef CYGSEM_HAL_USE_ROM_MONITOR + + // Note: it would be nice to only do this in the ROM/monitor. However, + // "new" programs which rely on that happening would break if the monitor + // environment does not handle this properly. // Reset CPM _mpc8xx_reset_cpm(); -#endif } //--------------------------------------------------------------------------
