18 lines
498 B
C
18 lines
498 B
C
#ifndef __HW_MEM_H
|
|
#define __HW_MEM_H
|
|
|
|
/* TODO: those FLASH_ defines are platform-dependent, generate them from SoC description */
|
|
#define FLASH_OFFSET_BITSTREAM 0x00000000 /* 1536k */
|
|
#define FLASH_OFFSET_BIOS 0x00180000 /* 128k */
|
|
#define FLASH_OFFSET_APP 0x001A0000 /* remaining space */
|
|
|
|
#define FLASH_BLOCK_SIZE (128*1024)
|
|
|
|
#define SDRAM_BASE 0x40000000
|
|
|
|
#define MINIMAC_RX0_BASE 0xb0000000
|
|
#define MINIMAC_RX1_BASE 0xb0000800
|
|
#define MINIMAC_TX_BASE 0xb0001000
|
|
|
|
#endif /* __HW_MEM_H */
|