Kconfig 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  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 KM_PNVRAM
  11. hex "Pseudo RAM"
  12. default 0x80000
  13. depends on !ARCH_SOCFPGA
  14. help
  15. Start address of the pseudo non-volatile RAM for application.
  16. config KM_PHRAM
  17. hex "Physical RAM"
  18. default 0x17F000 if ARM && !ARCH_LS1021A
  19. default 0x100000 if PPC || ARCH_LS1021A
  20. depends on !ARCH_SOCFPGA
  21. help
  22. Start address of the physical RAM, which is the mounted /var folder.
  23. config KM_RESERVED_PRAM
  24. hex "Reserved RAM"
  25. default 0x801000 if ARCH_KIRKWOOD
  26. default 0x0 if MPC83xx
  27. default 0x1000 if MPC85xx || ARCH_LS1021A
  28. depends on !ARCH_SOCFPGA
  29. help
  30. Reserved physical RAM area at the end of memory for special purposes.
  31. config KM_CRAMFS_ADDR
  32. hex "CRAMFS Address"
  33. default 0x83000000 if ARCH_LS1021A
  34. default 0x3000000
  35. depends on !ARCH_SOCFPGA
  36. help
  37. Start address of the CRAMFS containing the Linux kernel.
  38. config KM_KERNEL_ADDR
  39. hex "Kernel Load Address"
  40. default 0x82000000 if ARCH_LS1021A
  41. default 0x2000000
  42. help
  43. Address where to load Linux kernel in RAM.
  44. config KM_FDT_ADDR
  45. hex "FDT Load Address"
  46. default 0x82FC0000 if ARCH_LS1021A
  47. default 0x2FC0000
  48. help
  49. Address where to load flattened device tree in RAM.
  50. config SYS_PAX_BASE
  51. hex "PAX IFC Base Address"
  52. default 0x78000000
  53. depends on ARCH_LS1021A
  54. help
  55. IFC Base Address for PAXx FPGA.
  56. config SYS_CLIPS_BASE
  57. hex "CLIPS IFC Base Address"
  58. default 0x78000000
  59. depends on ARCH_LS1021A
  60. help
  61. IFC Base Address for CLIPS FPGA.
  62. config KM_CONSOLE_TTY
  63. string "KM Console"
  64. default "ttyS0"
  65. help
  66. TTY console to use on board.
  67. config KM_DEF_NETDEV
  68. string "Default Netdevice"
  69. default "eth0"
  70. help
  71. Default netdevice for debug interface
  72. config KM_COMMON_ETH_INIT
  73. bool "Common Ethernet Initialization"
  74. default y if ARCH_KIRKWOOD || MPC83xx
  75. default n if MPC85xx || ARCH_SOCFPGA || ARCH_LS1021A
  76. help
  77. Use the Ethernet initialization implemented in common code that
  78. detects if a Piggy board is present.
  79. config PIGGY_MAC_ADDRESS_OFFSET
  80. int "Piggy Address Offset"
  81. default 0
  82. help
  83. MAC address offset for the Piggy board.
  84. config KM_MVEXTSW_ADDR
  85. hex "Marvell Switch Address"
  86. depends on MV88E6352_SWITCH
  87. default 0x10
  88. help
  89. Address of external Marvell switch.
  90. config KM_IVM_BUS
  91. int "IVM I2C Bus"
  92. default 0 if ARCH_SOCFPGA
  93. default 1 if ARCH_KIRKWOOD || MPC85xx || ARCH_LS1021A
  94. default 2 if MPC83xx
  95. help
  96. Identifier number of I2C bus, where the inventory EEPROM is connected to.
  97. config SYS_IVM_EEPROM_ADR
  98. hex "IVM I2C Address"
  99. default 0x50
  100. help
  101. I2C address of the EEPROM containing the inventory.
  102. config SYS_IVM_EEPROM_MAX_LEN
  103. hex "IVM Length"
  104. default 0x400
  105. help
  106. Maximum length of inventory in EEPROM.
  107. config SYS_IVM_EEPROM_PAGE_LEN
  108. hex "IVM Page Size"
  109. default 0x100
  110. help
  111. Page size of inventory in EEPROM.
  112. source "board/keymile/km83xx/Kconfig"
  113. source "board/keymile/kmcent2/Kconfig"
  114. source "board/keymile/km_arm/Kconfig"
  115. source "board/keymile/pg-wcom-ls102xa/Kconfig"
  116. endmenu
  117. endif