stm32h743-disco.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Copyright (C) 2017, STMicroelectronics - All Rights Reserved
  4. * Author(s): Patrice Chotard, <patrice.chotard@st.com> for STMicroelectronics.
  5. */
  6. #ifndef __CONFIG_H
  7. #define __CONFIG_H
  8. #include <config.h>
  9. #define CONFIG_SYS_FLASH_BASE 0x08000000
  10. #define CONFIG_SYS_INIT_SP_ADDR 0x24040000
  11. /*
  12. * Configuration of the external SDRAM memory
  13. */
  14. #define CONFIG_NR_DRAM_BANKS 1
  15. #define CONFIG_SYS_RAM_BASE 0xD0000000
  16. #define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_RAM_BASE
  17. #define CONFIG_SYS_LOAD_ADDR 0xD0400000
  18. #define CONFIG_LOADADDR 0xD0400000
  19. #define CONFIG_ENV_SIZE (8 << 10)
  20. #define CONFIG_SYS_HZ_CLOCK 1000000
  21. #define CONFIG_CMDLINE_TAG
  22. #define CONFIG_SETUP_MEMORY_TAGS
  23. #define CONFIG_INITRD_TAG
  24. #define CONFIG_REVISION_TAG
  25. #define CONFIG_SYS_MAXARGS 16
  26. #define CONFIG_SYS_MALLOC_LEN (1 * 1024 * 1024)
  27. #define CONFIG_BOOTARGS \
  28. "console=ttyS0,115200 earlyprintk consoleblank=0 ignore_loglevel"
  29. /*
  30. * Command line configuration.
  31. */
  32. #define CONFIG_CMD_CACHE
  33. #define CONFIG_BOARD_LATE_INIT
  34. #endif /* __CONFIG_H */