1 Index: rtems-051009/c/src/lib/libbsp/powerpc/ec555/include/bsp.h
2 ===================================================================
3 --- rtems-051009.orig/c/src/lib/libbsp/powerpc/ec555/include/bsp.h
4 +++ rtems-051009/c/src/lib/libbsp/powerpc/ec555/include/bsp.h
5 @@ -44,37 +44,6 @@ extern "C" {
6 #define BSP_CRYSTAL_HZ 4000000 /* crystal frequency, Hz */
7 #define BSP_CLOCK_HZ 40000000 /* CPU clock frequency, Hz
12 - * The SS555 board includes a CPLD to control on-board features and
13 - * off-board devices.
15 -typedef struct cpld_ {
16 - uint8_t cs3a[32]; /* Chip select 3A */
17 - uint8_t pad0[0x200000 - 0x000020];
19 - uint8_t cs3b[32]; /* Chip select 3B */
20 - uint8_t pad2[0x400000 - 0x200020];
22 - uint8_t cs3c[32]; /* Chip select 3C */
23 - uint8_t pad4[0x600000 - 0x400020];
25 - uint8_t cs3d[32]; /* Chip select 3D */
26 - uint8_t pad6[0x800000 - 0x600020];
28 - uint8_t serial_ints; /* Enable/disable serial interrupts */
29 - uint8_t serial_resets; /* Enable/disable serial resets */
30 - uint8_t serial_ack; /* Acknowledge serial transfers */
31 - uint8_t pad8[0xA00000 - 0x800003];
33 - uint8_t iflash_writess; /* Enable/disable internal-flash writes */
34 - uint8_t nflash_writess; /* Enable/disable NAND-flash writes */
35 - uint8_t padA[0xC00000 - 0xA00002];
38 -extern volatile cpld_t cpld; /* defined in linkcmds */
40 /* miscellaneous stuff assumed to exist */
42 extern rtems_configuration_table BSP_Configuration;
43 Index: rtems-051009/c/src/lib/libbsp/powerpc/ec555/startup/iss555.c
44 ===================================================================
45 --- rtems-051009.orig/c/src/lib/libbsp/powerpc/ec555/startup/iss555.c
46 +++ rtems-051009/c/src/lib/libbsp/powerpc/ec555/startup/iss555.c
47 @@ -96,6 +96,8 @@ void _InitSS555 (void)
49 extern char int_ram_top[]; /* top of internal ram */
54 USIU_MEMC_OR_512K /* bank size */
55 | USIU_MEMC_OR_SCY(0) /* wait states in first beat of burst */
56 @@ -127,6 +129,9 @@ void _InitSS555 (void)
57 | USIU_MEMC_BR_BI /* inhibit bursting */
58 | USIU_MEMC_BR_V; /* base register valid */
64 * Disable show cycles and serialization so that burst accesses will work
65 * properly. A different value, such as 0x0, may be more appropriate for
66 Index: rtems-051009/c/src/lib/libbsp/powerpc/ec555/startup/linkcmds
67 ===================================================================
68 --- rtems-051009.orig/c/src/lib/libbsp/powerpc/ec555/startup/linkcmds
69 +++ rtems-051009/c/src/lib/libbsp/powerpc/ec555/startup/linkcmds
70 @@ -269,14 +269,6 @@ SECTIONS
75 - * SS555 external devices managed by on-board CPLD
77 - .cpld 0xFF000000: /* SS555 external CPLD devices */
83 /* Stabs debugging sections. */
84 .stab 0 : { *(.stab) }