Kconfig 1.6 KB

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