diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-06-20 21:42:00 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-06-20 21:42:00 +0000 |
commit | 7da34053e781f749be7e05b29c2e008d55b98e12 (patch) | |
tree | 3a71c8ce5c32682f880c4835b064fc2214625fcc /c/src/lib/libbsp/powerpc/gen5200/vectors | |
parent | 2007-06-20 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-7da34053e781f749be7e05b29c2e008d55b98e12.tar.bz2 |
2007-06-20 Joel Sherrill <joel.sherrill@oarcorp.com>
Add Embedded Planets EP5200 which is the same as the Freescale
5200Lite (a.k.a. IceCube) evaluation board.
* Makefile.am: Add linkcmds.ep5200.
Add -DMPC5200_BAPI_LIBC_HEADERS to remove some warnings in bestcomm.
* preinstall.am: Add linkcmds.ep5200.
* clock/clock.c: Correct math for prescaler/counter when bus speed
is high enough to require multiple passes of loop.
* console/console.c: Use same math for initial baud rate as when it
is changed via ioctl. When HAS_UBOOT is defined, initialize console
to the same baud as it was with U-Boot.
* include/bsp.h: Add EP5200 and console boot baud support.
* include/mpc5200.h: Spacing.
* startup/bspstart.c: If HAS_UBOOT and SHOW_MORE_INIT_SETTINGS are
both defined, dump the U-Boot BD info structure.
* vectors/vectors.S: ep5200 cannot use vectors segment. When loading
it, U-Boot freezes. Besides, U-Boot can automatically start the BSP
so we do not have to run from board reset.
* startup/linkcmds.ep5200: New file.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/gen5200/vectors')
-rw-r--r-- | c/src/lib/libbsp/powerpc/gen5200/vectors/vectors.S | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/powerpc/gen5200/vectors/vectors.S b/c/src/lib/libbsp/powerpc/gen5200/vectors/vectors.S index 2d5697cd32..14b22fdc42 100644 --- a/c/src/lib/libbsp/powerpc/gen5200/vectors/vectors.S +++ b/c/src/lib/libbsp/powerpc/gen5200/vectors/vectors.S @@ -66,6 +66,7 @@ /***********************************************************************/ #include <rtems/asm.h> +#include <bspopts.h> #include <rtems/score/cpu.h> #include "vectors.h" @@ -197,6 +198,7 @@ SYM (push_normalized_frame): SYNC rfi +#if !defined(ep5200) .section .vectors,"awx",@progbits PUBLIC_VAR (__vectors) @@ -261,4 +263,4 @@ __vecf: b __vecf .rep 63+1024 .long 0x04000400 .endr - +#endif |