microchip_mpfs_icicle.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Copyright (C) 2019 Microchip Technology Inc.
  4. * Padmarao Begari <padmarao.begari@microchip.com>
  5. */
  6. #ifndef __CONFIG_H
  7. #define __CONFIG_H
  8. /*
  9. * CPU and Board Configuration Options
  10. */
  11. /*
  12. * Miscellaneous configurable options
  13. */
  14. #define CONFIG_SYS_CBSIZE 1024 /* Console I/O Buffer Size */
  15. /*
  16. * Print Buffer Size
  17. */
  18. #define CONFIG_SYS_PBSIZE \
  19. (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16)
  20. /*
  21. * max number of command args
  22. */
  23. #define CONFIG_SYS_MAXARGS 16
  24. /*
  25. * Boot Argument Buffer Size
  26. */
  27. #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
  28. /*
  29. * Size of malloc() pool
  30. * 512kB is suggested, (CONFIG_ENV_SIZE + 128 * 1024) was not enough
  31. */
  32. #define CONFIG_SYS_MALLOC_LEN (512 << 10)
  33. /*
  34. * Physical Memory Map
  35. */
  36. #define PHYS_SDRAM_0 0x80000000 /* SDRAM Bank #1 */
  37. #define PHYS_SDRAM_0_SIZE 0x40000000 /* 1 GB */
  38. #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_0
  39. /* Init Stack Pointer */
  40. #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 0x200000)
  41. #define CONFIG_SYS_LOAD_ADDR 0x80000000 /* SDRAM */
  42. /*
  43. * memtest works on DRAM
  44. */
  45. /* When we use RAM as ENV */
  46. #endif /* __CONFIG_H */