microchip_mpfs_icicle.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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. #define CONFIG_BOOTP_SEND_HOSTNAME
  12. /*
  13. * Miscellaneous configurable options
  14. */
  15. #define CONFIG_SYS_CBSIZE 1024 /* Console I/O Buffer Size */
  16. /*
  17. * Print Buffer Size
  18. */
  19. #define CONFIG_SYS_PBSIZE \
  20. (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16)
  21. /*
  22. * max number of command args
  23. */
  24. #define CONFIG_SYS_MAXARGS 16
  25. /*
  26. * Boot Argument Buffer Size
  27. */
  28. #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
  29. /*
  30. * Size of malloc() pool
  31. * 512kB is suggested, (CONFIG_ENV_SIZE + 128 * 1024) was not enough
  32. */
  33. #define CONFIG_SYS_MALLOC_LEN (512 << 10)
  34. /*
  35. * Physical Memory Map
  36. */
  37. #define PHYS_SDRAM_0 0x80000000 /* SDRAM Bank #1 */
  38. #define PHYS_SDRAM_0_SIZE 0x40000000 /* 1 GB */
  39. #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_0
  40. /* Init Stack Pointer */
  41. #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 0x200000)
  42. #define CONFIG_SYS_LOAD_ADDR 0x80000000 /* SDRAM */
  43. /*
  44. * memtest works on DRAM
  45. */
  46. /* When we use RAM as ENV */
  47. #endif /* __CONFIG_H */