M5282EVB.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #ifndef _CONFIG_M5282EVB_H
  2. #define _CONFIG_M5282EVB_H
  3. #define CONFIG_COMMANDS ( CONFIG_CMD_DFL & ~(CFG_CMD_LOADS | CFG_CMD_LOADB) )
  4. #include <cmd_confdefs.h>
  5. #define CONFIG_BOOTDELAY 5
  6. #define CFG_MAX_FLASH_SECT 35
  7. #define CFG_CACHELINE_SIZE 16
  8. #define CFG_MALLOC_LEN (256 << 10)
  9. #define CFG_INIT_RAM_ADDR 0x20000000
  10. #define CFG_INIT_RAM_SIZE 0x1000
  11. #define CFG_INIT_DATA_OFFSET 0
  12. #define CONFIG_BAUDRATE 19200
  13. #define CFG_MONITOR_BASE 0x3e0000
  14. #define CFG_MONITOR_LEN 0x20000
  15. #define CFG_SDRAM_BASE 0
  16. #define CFG_FLASH_BASE 0xffe00000
  17. #define CFG_PROMPT "M5282EVB> "
  18. #define CFG_CBSIZE 1024
  19. #define CFG_MAXARGS 64
  20. #define CFG_LOAD_ADDR 0x20000
  21. #define CFG_BOOTMAPSZ 0
  22. #define CFG_BARGSIZE CFG_CBSIZE
  23. #define CFG_BAUDRATE_TABLE { 9600 , 19200 , 38400 , 57600, 115200 }
  24. #define CFG_ENV_ADDR 0xffe04000
  25. #define CFG_ENV_SIZE 0x2000
  26. #define CFG_ENV_IS_IN_FLASH 1
  27. #define CFG_PBSIZE 1024
  28. #define CFG_MAX_FLASH_BANKS 1
  29. #define CFG_MEMTEST_START 0x400
  30. #define CFG_MEMTEST_END 0x380000
  31. #define CFG_HZ 1000000
  32. #define CFG_FLASH_ERASE_TOUT 10000000
  33. #define FEC_ENET
  34. #define CONFIG_M5282
  35. #endif /* _CONFIG_M5282EVB_H */