nsim.h 998 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Copyright (C) 2013-2016 Synopsys, Inc. All rights reserved.
  4. */
  5. #ifndef _CONFIG_NSIM_H_
  6. #define _CONFIG_NSIM_H_
  7. #include <linux/sizes.h>
  8. /*
  9. * Memory configuration
  10. */
  11. #define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE
  12. #define CONFIG_SYS_DDR_SDRAM_BASE 0x80000000
  13. #define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE
  14. #define CONFIG_SYS_SDRAM_SIZE SZ_256M
  15. #define CONFIG_SYS_INIT_SP_ADDR \
  16. (CONFIG_SYS_SDRAM_BASE + 0x1000 - GENERATED_GBL_DATA_SIZE)
  17. #define CONFIG_SYS_MALLOC_LEN SZ_2M
  18. #define CONFIG_SYS_BOOTM_LEN SZ_32M
  19. #define CONFIG_SYS_LOAD_ADDR 0x82000000
  20. /*
  21. * UART configuration
  22. *
  23. */
  24. #define CONFIG_ARC_SERIAL
  25. /*
  26. * Command line configuration
  27. */
  28. /*
  29. * Environment settings
  30. */
  31. #define CONFIG_ENV_SIZE SZ_512
  32. #define CONFIG_ENV_OFFSET 0
  33. /*
  34. * Environment configuration
  35. */
  36. #define CONFIG_BOOTFILE "uImage"
  37. #define CONFIG_LOADADDR CONFIG_SYS_LOAD_ADDR
  38. /*
  39. * Console configuration
  40. */
  41. #endif /* _CONFIG_NSIM_H_ */