Kconfig 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. if ARCH_STM32MP
  2. config SPL
  3. select SPL_BOARD_INIT
  4. select SPL_CLK
  5. select SPL_DM
  6. select SPL_DM_SEQ_ALIAS
  7. select SPL_FRAMEWORK
  8. select SPL_GPIO_SUPPORT
  9. select SPL_LIBCOMMON_SUPPORT
  10. select SPL_LIBGENERIC_SUPPORT
  11. select SPL_OF_CONTROL
  12. select SPL_OF_TRANSLATE
  13. select SPL_PINCTRL
  14. select SPL_REGMAP
  15. select SPL_RESET_SUPPORT
  16. select SPL_SERIAL_SUPPORT
  17. select SPL_SYSCON
  18. select SPL_DRIVERS_MISC_SUPPORT
  19. imply SPL_LIBDISK_SUPPORT
  20. config SYS_SOC
  21. default "stm32mp"
  22. config TARGET_STM32MP1
  23. bool "Support stm32mp1xx"
  24. select ARCH_SUPPORT_PSCI
  25. select CPU_V7A
  26. select CPU_V7_HAS_NONSEC
  27. select CPU_V7_HAS_VIRT
  28. select PINCTRL_STM32
  29. select STM32_RESET
  30. select SYS_ARCH_TIMER
  31. select SYSRESET_SYSCON
  32. help
  33. target STMicroelectronics SOC STM32MP1 family
  34. STMicroelectronics MPU with core ARMv7
  35. config SYS_TEXT_BASE
  36. prompt "U-Boot base address"
  37. default 0xC0100000
  38. help
  39. configure the U-Boot base address
  40. when DDR driver is used:
  41. DDR + 1MB (0xC0100000)
  42. config SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION_MMC2
  43. hex "Partition on MMC2 to use to load U-Boot from"
  44. depends on SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION
  45. default 1
  46. help
  47. Partition on the second MMC to load U-Boot from when the MMC is being
  48. used in raw mode
  49. source "board/st/stm32mp1/Kconfig"
  50. # currently activated for debug / should be deactivated for real product
  51. if DEBUG_UART
  52. config DEBUG_UART_BOARD_INIT
  53. default y
  54. # debug on UART4 by default
  55. config DEBUG_UART_BASE
  56. default 0x40010000
  57. # clock source is HSI on reset
  58. config DEBUG_UART_CLOCK
  59. default 64000000
  60. endif
  61. endif