Kconfig 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. # SPDX-License-Identifier: GPL-2.0+
  2. #
  3. # Copyright (C) 2019, Pascal Linder <pascal.linder@edu.hefr.ch>
  4. config VENDOR_KM
  5. bool
  6. help
  7. Selected by any KM board to have additional configurations.
  8. if VENDOR_KM
  9. menu "KM Board Setup"
  10. config SYS_I2C_INIT_BOARD
  11. def_bool y if ARM
  12. config HUSH_INIT_VAR
  13. def_bool y
  14. config KM_PNVRAM
  15. hex "Pseudo RAM"
  16. default 0x80000
  17. depends on !ARCH_SOCFPGA
  18. help
  19. Start address of the pseudo non-volatile RAM for application.
  20. config KM_PHRAM
  21. hex "Physical RAM"
  22. default 0x17F000 if ARM && !ARCH_LS1021A
  23. default 0x100000 if PPC || ARCH_LS1021A
  24. depends on !ARCH_SOCFPGA
  25. help
  26. Start address of the physical RAM, which is the mounted /var folder.
  27. config KM_RESERVED_PRAM
  28. hex "Reserved RAM"
  29. default 0x0 if MPC83xx
  30. default 0x1000 if MPC85xx || ARCH_LS1021A
  31. depends on !ARCH_SOCFPGA
  32. help
  33. Reserved physical RAM area at the end of memory for special purposes.
  34. config KM_CRAMFS_ADDR
  35. hex "CRAMFS Address"
  36. default 0x83000000 if ARCH_LS1021A
  37. default 0x3000000
  38. depends on !ARCH_SOCFPGA
  39. help
  40. Start address of the CRAMFS containing the Linux kernel.
  41. config KM_KERNEL_ADDR
  42. hex "Kernel Load Address"
  43. default 0x82000000 if ARCH_LS1021A
  44. default 0x2000000
  45. help
  46. Address where to load Linux kernel in RAM.
  47. config KM_FDT_ADDR
  48. hex "FDT Load Address"
  49. default 0x82FC0000 if ARCH_LS1021A
  50. default 0x2FC0000
  51. help
  52. Address where to load flattened device tree in RAM.
  53. config SYS_PAX_BASE
  54. hex "PAX IFC Base Address"
  55. default 0x78000000
  56. depends on ARCH_LS1021A
  57. help
  58. IFC Base Address for PAXx FPGA.
  59. config SYS_CLIPS_BASE
  60. hex "CLIPS IFC Base Address"
  61. default 0x78000000
  62. depends on ARCH_LS1021A
  63. help
  64. IFC Base Address for CLIPS FPGA.
  65. config KM_COMMON_ETH_INIT
  66. bool "Common Ethernet Initialization"
  67. default y if MPC83xx
  68. default n if MPC85xx || ARCH_SOCFPGA || ARCH_LS1021A
  69. help
  70. Use the Ethernet initialization implemented in common code that
  71. detects if a Piggy board is present.
  72. config PIGGY_MAC_ADDRESS_OFFSET
  73. int "Piggy Address Offset"
  74. default 0
  75. help
  76. MAC address offset for the Piggy board.
  77. config KM_MVEXTSW_ADDR
  78. hex "Marvell Switch Address"
  79. depends on MV88E6352_SWITCH
  80. default 0x10
  81. help
  82. Address of external Marvell switch.
  83. config KM_IVM_BUS
  84. int "IVM I2C Bus"
  85. default 0 if ARCH_SOCFPGA
  86. default 1 if PPC || ARCH_LS1021A
  87. help
  88. Identifier number of I2C bus, where the inventory EEPROM is connected to.
  89. config SYS_IVM_EEPROM_ADR
  90. hex "IVM I2C Address"
  91. default 0x50
  92. help
  93. I2C address of the EEPROM containing the inventory.
  94. config SYS_IVM_EEPROM_MAX_LEN
  95. hex "IVM Length"
  96. default 0x400
  97. help
  98. Maximum length of inventory in EEPROM.
  99. config SYS_IVM_EEPROM_PAGE_LEN
  100. hex "IVM Page Size"
  101. default 0x100
  102. help
  103. Page size of inventory in EEPROM.
  104. config PG_WCOM_UBOOT_UPDATE_SUPPORTED
  105. bool "Enable U-Boot Field Fail-Safe Update Functionality"
  106. select EVENT
  107. default n
  108. help
  109. Indicates that field fail-safe u-boot update is supported.
  110. This functionality works only for designs that are booting
  111. from parallel NOR flash.
  112. config PG_WCOM_UBOOT_BOOTPACKAGE
  113. bool "U-Boot Is Part Of Factory Boot-Package Image"
  114. default n
  115. help
  116. Indicates that u-boot will be a part of the factory programmed
  117. boot-package image.
  118. Has to be set for original u-boot programmed at factory.
  119. config PG_WCOM_UBOOT_UPDATE_TEXT_BASE
  120. hex "Text Base For U-Boot Programmed Outside Factory"
  121. default 0xFFFFFFFF
  122. help
  123. Text base of an updated u-boot that is not factory programmed but
  124. later when the unit is rolled out on the field.
  125. Has to be set for original u-boot programmed at factory.
  126. config PG_WCOM_UBOOT_UPDATE
  127. bool "U-Boot Is Part Of Factory Boot-Package Image"
  128. default n
  129. help
  130. Indicates that u-boot will be a part of the embedded software and
  131. programmed at field.
  132. Has to be set for updated u-boot version programmed at field.
  133. source "board/keymile/km83xx/Kconfig"
  134. source "board/keymile/kmcent2/Kconfig"
  135. source "board/keymile/pg-wcom-ls102xa/Kconfig"
  136. endmenu
  137. endif