Kconfig 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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
  19. default 0x100000 if PPC
  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
  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 0x2400000 if ARCH_KIRKWOOD
  34. default 0xC00000 if MPC83xx
  35. default 0x2000000 if MPC85xx
  36. depends on !ARCH_SOCFPGA
  37. help
  38. Start address of the CRAMFS containing the Linux kernel.
  39. config KM_KERNEL_ADDR
  40. hex "Kernel Load Address"
  41. default 0x2000000 if ARCH_KIRKWOOD
  42. default 0x400000 if MPC83xx
  43. default 0x1000000 if MPC85xx || ARCH_SOCFPGA
  44. help
  45. Address where to load Linux kernel in RAM.
  46. config KM_FDT_ADDR
  47. hex "FDT Load Address"
  48. default 0x23E0000 if ARCH_KIRKWOOD || ARCH_SOCFPGA
  49. default 0xB80000 if MPC83xx
  50. default 0x1F80000 if MPC85xx
  51. help
  52. Address where to load flattened device tree in RAM.
  53. config KM_CONSOLE_TTY
  54. string "KM Console"
  55. default "ttyS0"
  56. help
  57. TTY console to use on board.
  58. config KM_DEF_NETDEV
  59. string "Default Netdevice"
  60. default "eth0"
  61. help
  62. Default netdevice for debug interface
  63. config KM_COMMON_ETH_INIT
  64. bool "Common Ethernet Initialization"
  65. default y if ARCH_KIRKWOOD || MPC83xx
  66. default n if MPC85xx || ARCH_SOCFPGA
  67. help
  68. Use the Ethernet initialization implemented in common code, which
  69. detects if a Piggy board is present.
  70. config PIGGY_MAC_ADDRESS_OFFSET
  71. int "Piggy Address Offset"
  72. default 0
  73. help
  74. MAC address offset for the Piggy board.
  75. config KM_MVEXTSW_ADDR
  76. hex "Marvell Switch Address"
  77. depends on MV88E6352_SWITCH
  78. default 0x10
  79. help
  80. Address of external Marvell switch.
  81. config KM_IVM_BUS
  82. int "IVM I2C Bus"
  83. default 0 if ARCH_SOCFPGA
  84. default 1 if ARCH_KIRKWOOD || MPC85xx
  85. default 2 if MPC83xx
  86. help
  87. Identifier number of I2C bus, where the inventory EEPROM is connected to.
  88. config SYS_IVM_EEPROM_ADR
  89. hex "IVM I2C Address"
  90. default 0x50
  91. help
  92. I2C address of the EEPROM containing the inventory.
  93. config SYS_IVM_EEPROM_MAX_LEN
  94. hex "IVM Length"
  95. default 0x400
  96. help
  97. Maximum length of inventory in EEPROM.
  98. config SYS_IVM_EEPROM_PAGE_LEN
  99. hex "IVM Page Size"
  100. default 0x100
  101. help
  102. Page size of inventory in EEPROM.
  103. source "board/keymile/km83xx/Kconfig"
  104. source "board/keymile/kmp204x/Kconfig"
  105. source "board/keymile/km_arm/Kconfig"
  106. endmenu
  107. endif