summaryrefslogtreecommitdiffstats
path: root/c/src
diff options
context:
space:
mode:
authorTill Straumann <strauman@slac.stanford.edu>2009-03-05 21:20:59 +0000
committerTill Straumann <strauman@slac.stanford.edu>2009-03-05 21:20:59 +0000
commit8cb4b08aea369313e720a3029ba026b3f163b11a (patch)
tree952b0295d82d816684c57e8c4806282bc1880f77 /c/src
parent2009-03-05 Till Straumann <strauman@slac.stanford.edu> (diff)
downloadrtems-8cb4b08aea369313e720a3029ba026b3f163b11a.tar.bz2
2009-03-05 Till Straumann <strauman@slac.stanford.edu>
* startup/bspstart.c: removed legacy code (inherited from old mvme2307 BSP) -- for testing trapping into PPCBug -- which is irrelevant on this BSP. Removed warning about SPRG0 having been reassigned -- this BSP is OK.
Diffstat (limited to 'c/src')
-rw-r--r--c/src/lib/libbsp/powerpc/mvme3100/ChangeLog8
-rw-r--r--c/src/lib/libbsp/powerpc/mvme3100/startup/bspstart.c25
2 files changed, 8 insertions, 25 deletions
diff --git a/c/src/lib/libbsp/powerpc/mvme3100/ChangeLog b/c/src/lib/libbsp/powerpc/mvme3100/ChangeLog
index 4342bdc379..78ad7499ff 100644
--- a/c/src/lib/libbsp/powerpc/mvme3100/ChangeLog
+++ b/c/src/lib/libbsp/powerpc/mvme3100/ChangeLog
@@ -1,3 +1,11 @@
+2009-03-05 Till Straumann <strauman@slac.stanford.edu>
+
+ * startup/bspstart.c: removed legacy code (inherited
+ from old mvme2307 BSP) -- for testing trapping into
+ PPCBug -- which is irrelevant on this BSP.
+ Removed warning about SPRG0 having been reassigned
+ -- this BSP is OK.
+
2008-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* bsp_specs: Backport from CVS-HEAD.
diff --git a/c/src/lib/libbsp/powerpc/mvme3100/startup/bspstart.c b/c/src/lib/libbsp/powerpc/mvme3100/startup/bspstart.c
index 8e1926f932..9da10ce99c 100644
--- a/c/src/lib/libbsp/powerpc/mvme3100/startup/bspstart.c
+++ b/c/src/lib/libbsp/powerpc/mvme3100/startup/bspstart.c
@@ -55,8 +55,6 @@ void bsp_cleanup(void)
bsp_reset();
}
-SPR_RW(SPRG1)
-
/*
* Copy Additional boot param passed by boot loader
*/
@@ -395,29 +393,6 @@ VpdBufRec vpdData [] = {
}
#endif
-#ifdef TEST_RAW_EXCEPTION_CODE
- printk("Testing exception handling Part 1\n");
- /*
- * Cause a software exception
- */
- __asm__ __volatile ("sc");
- /*
- * Check we can still catch exceptions and return coorectly.
- */
- printk("Testing exception handling Part 2\n");
- __asm__ __volatile ("sc");
-
- /*
- * Somehow doing the above seems to clobber SPRG0 on the mvme2100. The
- * interrupt disable mask is stored in SPRG0. Is this a problem?
- */
- ppc_interrupt_set_disable_mask( PPC_INTERRUPT_DISABLE_MASK_DEFAULT);
-
-#endif
-
-/* See above */
-#warning The interrupt disable mask is now stored in SPRG0, please verify that this is compatible to this BSP (see also bootcard.c).
-
if ( (chpt = strstr(BSP_commandline_string,"MEMSZ=")) ) {
char *endp;
uint32_t sz;