Kconfig 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. if ARCH_ZYNQMP
  2. config SPL_FAT_SUPPORT
  3. default y
  4. config SPL_LIBCOMMON_SUPPORT
  5. default y
  6. config SPL_LIBDISK_SUPPORT
  7. default y
  8. config SPL_LIBGENERIC_SUPPORT
  9. default y
  10. config SPL_MMC_SUPPORT
  11. default y if MMC_SDHCI_ZYNQ
  12. config SPL_SERIAL_SUPPORT
  13. default y
  14. config SPL_SPI_FLASH_SUPPORT
  15. default y if ZYNQ_QSPI
  16. config SPL_SPI_SUPPORT
  17. default y if ZYNQ_QSPI
  18. config SYS_BOARD
  19. default "zynqmp"
  20. config SYS_VENDOR
  21. string "Vendor name"
  22. default "xilinx"
  23. config SYS_SOC
  24. default "zynqmp"
  25. config SYS_CONFIG_NAME
  26. string "Board configuration name"
  27. default "xilinx_zynqmp"
  28. help
  29. This option contains information about board configuration name.
  30. Based on this option include/configs/<CONFIG_SYS_CONFIG_NAME>.h header
  31. will be used for board configuration.
  32. config SYS_MEM_RSVD_FOR_MMU
  33. bool "Reserve memory for MMU Table"
  34. help
  35. If defined this option is used to setup different space for
  36. MMU table than the one which will be allocated during
  37. relocation.
  38. config BOOT_INIT_FILE
  39. string "boot.bin init register filename"
  40. depends on SPL
  41. default ""
  42. help
  43. Add register writes to boot.bin format (max 256 pairs).
  44. Expect a table of register-value pairs, e.g. "0x12345678 0x4321"
  45. config PMUFW_INIT_FILE
  46. string "PMU firmware"
  47. depends on SPL
  48. default ""
  49. help
  50. Include external PMUFW (Platform Management Unit FirmWare) to
  51. a Xilinx bootable image (boot.bin).
  52. config ZYNQMP_USB
  53. bool "Configure ZynqMP USB"
  54. config ZYNQMP_NO_DDR
  55. bool "Disable DDR MMU mapping"
  56. help
  57. This option configures MMU with no DDR to avoid speculative
  58. access to DDR memory where DDR is not present.
  59. config SYS_MALLOC_F_LEN
  60. default 0x600
  61. config DEFINE_TCM_OCM_MMAP
  62. bool "Define TCM and OCM memory in MMU Table"
  63. default y if MP
  64. help
  65. This option if enabled defines the TCM and OCM memory and its
  66. memory attributes in MMU table entry.
  67. config ZYNQMP_PSU_INIT_ENABLED
  68. bool "Include psu_init"
  69. help
  70. Include psu_init to full u-boot. SPL include psu_init by default.
  71. config SPL_ZYNQMP_ALT_BOOTMODE_ENABLED
  72. bool "Overwrite SPL bootmode"
  73. depends on SPL
  74. help
  75. Overwrite bootmode selected via boot mode pins to tell SPL what should
  76. be the next boot device.
  77. config ZYNQ_SDHCI_MAX_FREQ
  78. default 200000000
  79. config SPL_ZYNQMP_ALT_BOOTMODE
  80. hex
  81. default 0x0 if JTAG_MODE
  82. default 0x1 if QSPI_MODE_24BIT
  83. default 0x2 if QSPI_MODE_32BIT
  84. default 0x3 if SD_MODE
  85. default 0x4 if NAND_MODE
  86. default 0x5 if SD_MODE1
  87. default 0x6 if EMMC_MODE
  88. default 0x7 if USB_MODE
  89. default 0xa if SW_USBHOST_MODE
  90. default 0xb if SW_SATA_MODE
  91. default 0xe if SD1_LSHFT_MODE
  92. choice
  93. prompt "Boot mode"
  94. depends on SPL_ZYNQMP_ALT_BOOTMODE_ENABLED
  95. default JTAG_MODE
  96. config JTAG_MODE
  97. bool "JTAG_MODE"
  98. config QSPI_MODE_24BIT
  99. bool "QSPI_MODE_24BIT"
  100. config QSPI_MODE_32BIT
  101. bool "QSPI_MODE_32BIT"
  102. config SD_MODE
  103. bool "SD_MODE"
  104. config SD_MODE1
  105. bool "SD_MODE1"
  106. config NAND_MODE
  107. bool "NAND_MODE"
  108. config EMMC_MODE
  109. bool "EMMC_MODE"
  110. config USB_MODE
  111. bool "USB"
  112. config SW_USBHOST_MODE
  113. bool "SW USBHOST_MODE"
  114. config SW_SATA_MODE
  115. bool "SW SATA_MODE"
  116. config SD1_LSHFT_MODE
  117. bool "SD1_LSHFT_MODE"
  118. endchoice
  119. endif