The new peep design is not working in DDR yet for the GEM but it is working
in BRAM. Once DDR is working with GEM this commit can be reverted.
/*
* Aligned memory segments to be used for buffer descriptors
*/
+#define BRAM_BUFFERS
+#ifdef BRAM_BUFFERS
+static XEmacPss_Bd RxBdSpace[RXBD_CNT] __attribute__ ((section (".bram_buffers")));
+static XEmacPss_Bd TxBdSpace[TXBD_CNT] __attribute__ ((section (".bram_buffers")));
+static char RxBuffers[RXBD_CNT * XEMACPSS_RX_BUF_SIZE] __attribute__ ((section (".bram_buffers")));
+static uchar data_buffer[XEMACPSS_RX_BUF_SIZE] __attribute__ ((section (".bram_buffers")));
+#else
static XEmacPss_Bd RxBdSpace[RXBD_CNT];
static XEmacPss_Bd TxBdSpace[TXBD_CNT];
static char RxBuffers[RXBD_CNT * XEMACPSS_RX_BUF_SIZE];
static uchar data_buffer[XEMACPSS_RX_BUF_SIZE];
+#endif
static struct {
u8 initialized;
__bss_start = .;
.bss : { *(.bss) }
_end = .;
+
+ . = 0xFFFE0000;
+ . = ALIGN(4);
+ .bram_buffers (NOLOAD) : { *(.bram_buffers) }
}