Kconfig 2.6 KB

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