#ifndef _BOARD_H_
|
#ifndef _BOARD_H_
|
#define _BOARD_H_
|
#define _BOARD_H_
|
|
|
#ifdef XESS
|
#ifdef XESS
|
#define MC_ENABLED 0
|
#define MC_ENABLED 0
|
#else
|
#else
|
#define MC_ENABLED 1
|
#define MC_ENABLED 1
|
#endif
|
#endif
|
|
|
#define IC_ENABLE 0
|
#define IC_ENABLE 0
|
#define IC_SIZE 8192
|
#define IC_SIZE 8192
|
#define DC_ENABLE 0
|
#define DC_ENABLE 0
|
#define DC_SIZE 8192
|
#define DC_SIZE 8192
|
|
|
#define MC_CSR_VAL 0x0B000300
|
#define MC_CSR_VAL 0x0B000300
|
#define MC_MASK_VAL 0x000000e0
|
#define MC_MASK_VAL 0x000000e0
|
#define FLASH_BASE_ADD 0x04000000
|
#define FLASH_BASE_ADD 0x04000000
|
#define FLASH_TMS_VAL 0x00102102
|
#define FLASH_TMS_VAL 0x00102102
|
#define SDRAM_BASE_ADD 0x00000000
|
#define SDRAM_BASE_ADD 0x00000000
|
#define SDRAM_TMS_VAL 0x07248230
|
#define SDRAM_TMS_VAL 0x07248230
|
|
|
#ifdef XESS
|
#ifdef XESS
|
#define IN_CLK 10000000
|
#define IN_CLK 10000000
|
#else
|
#else
|
#define IN_CLK 25000000
|
#define IN_CLK 25000000
|
#endif
|
#endif
|
|
|
#define STACK_SIZE 0x10000
|
#define STACK_SIZE 0x10000
|
|
|
#ifdef XESS
|
#ifdef XESS
|
#define UART_BAUD_RATE 19200
|
#define UART_BAUD_RATE 19200
|
#else
|
#else
|
#define UART_BAUD_RATE 9600 /* 115200 */
|
#define UART_BAUD_RATE 9600 /* 115200 */
|
#endif
|
#endif
|
|
|
#define UART_BASE 0x90000000
|
#define UART_BASE 0x90000000
|
#ifdef XESS
|
#ifdef XESS
|
#define ETH_BASE 0x92000000
|
#define ETH_BASE 0x92000000
|
#else
|
#else
|
#define ETH_BASE 0xD0000000
|
#define ETH_BASE 0xD0000000
|
#endif
|
#endif
|
#define MC_BASE_ADD 0x60000000
|
#define MC_BASE_ADD 0x60000000
|
|
|
#define ETH0_INT _int_main /* was: 0x00080000 */ /* Not correct */
|
#define ETH0_INT _int_main /* was: 0x00080000 */ /* Not correct */
|
|
|
/*#define ETH_DATA_BASE 0x00020000 Address for ETH_DATA */
|
/*#define ETH_DATA_BASE 0x00020000 Address for ETH_DATA */
|
#ifdef XESS
|
#ifdef XESS
|
#define ETH_DATA_BASE 0x00100000 /* Address for ETH_DATA */
|
#define ETH_DATA_BASE 0x00100000 /* Address for ETH_DATA */
|
#else
|
#else
|
#define ETH_DATA_BASE 0xa8000000 /* Address for ETH_DATA */
|
#define ETH_DATA_BASE 0xa8000000 /* Address for ETH_DATA */
|
#endif
|
#endif
|
|
|
#define ETH_MACADDR0 0x00
|
#define ETH_MACADDR0 0x00
|
#define ETH_MACADDR1 0x09
|
#define ETH_MACADDR1 0x09
|
#define ETH_MACADDR2 0x12
|
#define ETH_MACADDR2 0x12
|
#define ETH_MACADDR3 0x34
|
#define ETH_MACADDR3 0x34
|
#define ETH_MACADDR4 0x56
|
#define ETH_MACADDR4 0x56
|
#define ETH_MACADDR5 0x00
|
#define ETH_MACADDR5 0x00
|
|
|
#define CRT_ENABLED 1
|
#define CRT_ENABLED 1
|
#define CRT_BASE_ADD 0xc0000000
|
#define CRT_BASE_ADD 0xc0000000
|
#define FB_BASE_ADD 0xa8000000
|
#define FB_BASE_ADD 0xa8000000
|
|
|
/* Whether online help is available -- saves space */
|
/* Whether online help is available -- saves space */
|
#define HELP_ENABLED 1
|
#define HELP_ENABLED 1
|
|
|
#endif
|
#endif
|
|
|