2012-05-15 13:29:26 -04:00
|
|
|
#ifndef __HW_MEM_H
|
|
|
|
#define __HW_MEM_H
|
|
|
|
|
2013-11-30 17:07:19 -05:00
|
|
|
/* TODO: those FLASH_ defines are platform-dependent, generate them from SoC description */
|
2013-06-01 11:20:40 -04:00
|
|
|
#define FLASH_OFFSET_BITSTREAM 0x00000000 /* 1536k */
|
|
|
|
#define FLASH_OFFSET_BIOS 0x00180000 /* 128k */
|
|
|
|
#define FLASH_OFFSET_APP 0x001A0000 /* remaining space */
|
2012-05-31 10:30:30 -04:00
|
|
|
|
2013-11-30 17:07:19 -05:00
|
|
|
#define FLASH_BLOCK_SIZE (128*1024)
|
|
|
|
|
2012-05-31 10:30:30 -04:00
|
|
|
#define SDRAM_BASE 0x40000000
|
2012-05-15 13:29:26 -04:00
|
|
|
|
2013-03-25 09:42:48 -04:00
|
|
|
#define MINIMAC_RX0_BASE 0xb0000000
|
|
|
|
#define MINIMAC_RX1_BASE 0xb0000800
|
|
|
|
#define MINIMAC_TX_BASE 0xb0001000
|
|
|
|
|
2012-05-15 13:29:26 -04:00
|
|
|
#endif /* __HW_MEM_H */
|