Kconfig 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  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. help
  14. Start address of the pseudo non-volatile RAM for application.
  15. config KM_PHRAM
  16. hex "Physical RAM"
  17. default 0x17F000 if ARM
  18. default 0x100000 if PPC
  19. help
  20. Start address of the physical RAM, which is the mounted /var folder.
  21. config KM_RESERVED_PRAM
  22. hex "Reserved RAM"
  23. default 0x801000 if KIRKWOOD
  24. default 0x0 if MPC83xx
  25. default 0x1000 if MPC85xx
  26. help
  27. Reserved physical RAM area at the end of memory for special purposes.
  28. config KM_CRAMFS_ADDR
  29. hex "CRAMFS Address"
  30. default 0x2400000 if KIRKWOOD
  31. default 0xC00000 if MPC83xx
  32. default 0x2000000 if MPC85xx
  33. help
  34. Start address of the CRAMFS containing the Linux kernel.
  35. config KM_KERNEL_ADDR
  36. hex "Kernel Load Address"
  37. default 0x2000000 if KIRKWOOD
  38. default 0x400000 if MPC83xx
  39. default 0x1000000 if MPC85xx
  40. help
  41. Address where to load Linux kernel in RAM.
  42. config KM_FDT_ADDR
  43. hex "FDT Load Address"
  44. default 0x23E0000 if KIRKWOOD
  45. default 0xB80000 if MPC83xx
  46. default 0x1F80000 if MPC85xx
  47. help
  48. Address where to load flattened device tree in RAM.
  49. config KM_CONSOLE_TTY
  50. string "KM Console"
  51. default "ttyS0"
  52. help
  53. TTY console to use on board.
  54. config KM_COMMON_ETH_INIT
  55. bool "Common Ethernet Initialization"
  56. default y if KIRKWOOD || MPC83xx
  57. default n if MPC85xx
  58. help
  59. Use the Ethernet initialization implemented in common code, which
  60. detects if a Piggy board is present.
  61. config PIGGY_MAC_ADRESS_OFFSET
  62. int "Piggy Address Offset"
  63. default 0
  64. help
  65. MAC address offset for the Piggy board.
  66. config KM_MVEXTSW_ADDR
  67. hex "Marvell Switch Address"
  68. depends on MV88E6352_SWITCH
  69. default 0x10
  70. help
  71. Address of external Marvell switch.
  72. config KM_IVM_BUS
  73. int "IVM I2C Bus"
  74. default 1 if KIRKWOOD || MPC85xx
  75. default 2 if MPC83xx
  76. help
  77. Identifier number of I2C bus, where the inventory EEPROM is connected to.
  78. config SYS_IVM_EEPROM_ADR
  79. hex "IVM I2C Address"
  80. default 0x50
  81. help
  82. I2C address of the EEPROM containing the inventory.
  83. config SYS_IVM_EEPROM_MAX_LEN
  84. hex "IVM Length"
  85. default 0x400
  86. help
  87. Maximum length of inventory in EEPROM.
  88. config SYS_IVM_EEPROM_PAGE_LEN
  89. hex "IVM Page Size"
  90. default 0x100
  91. help
  92. Page size of inventory in EEPROM.
  93. source "board/keymile/km83xx/Kconfig"
  94. source "board/keymile/kmp204x/Kconfig"
  95. source "board/keymile/km_arm/Kconfig"
  96. endmenu
  97. endif