Kconfig 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. if ARCH_U300
  2. menu "ST-Ericsson AB U300/U330/U335/U365 Platform"
  3. comment "ST-Ericsson Mobile Platform Products"
  4. config MACH_U300
  5. bool "U300"
  6. select PINCTRL
  7. select PINMUX_U300
  8. comment "ST-Ericsson U300/U330/U335/U365 Feature Selections"
  9. choice
  10. prompt "U300/U330/U335/U365 system type"
  11. default MACH_U300_BS2X
  12. ---help---
  13. You need to select the target system, i.e. the
  14. U300/U330/U335/U365 board that you want to compile your kernel
  15. for.
  16. config MACH_U300_BS2X
  17. bool "S26/S26/B25/B26 Test Products"
  18. depends on MACH_U300
  19. help
  20. Select this if you're developing on the
  21. S26/S25 test products. (Also works on
  22. B26/B25 big boards.)
  23. config MACH_U300_BS330
  24. bool "S330/B330 Test Products"
  25. depends on MACH_U300
  26. help
  27. Select this if you're developing on the
  28. S330/B330 test products.
  29. config MACH_U300_BS335
  30. bool "S335/B335 Test Products"
  31. depends on MACH_U300
  32. help
  33. Select this if you're developing on the
  34. S335/B335 test products.
  35. config MACH_U300_BS365
  36. bool "S365/B365 Test Products"
  37. depends on MACH_U300
  38. help
  39. Select this if you're developing on the
  40. S365/B365 test products.
  41. endchoice
  42. choice
  43. prompt "Memory configuration"
  44. default MACH_U300_SINGLE_RAM
  45. ---help---
  46. You have to config the kernel according to the physical memory
  47. configuration.
  48. config MACH_U300_SINGLE_RAM
  49. bool "Single RAM"
  50. help
  51. Select this if you want support for Single RAM phones.
  52. config MACH_U300_DUAL_RAM
  53. bool "Dual RAM"
  54. help
  55. Select this if you want support for Dual RAM phones.
  56. This is two RAM memories on different EMIFs.
  57. endchoice
  58. config U300_DEBUG
  59. bool "Debug support for U300"
  60. depends on PM
  61. help
  62. Debug support for U300 in sysfs, procfs etc.
  63. config MACH_U300_SEMI_IS_SHARED
  64. bool "The SEMI is used by both the access and application side"
  65. depends on MACH_U300
  66. help
  67. This makes it possible to use the SEMI (Shared External
  68. Memory Interface) from both from access and application
  69. side.
  70. config MACH_U300_SPIDUMMY
  71. bool "SSP/SPI dummy chip"
  72. select SPI
  73. select SPI_MASTER
  74. select SPI_PL022
  75. help
  76. This creates a small kernel module that creates a dummy
  77. SPI device to be used for loopback tests. Regularly used
  78. to test reference designs. If you're not testing SPI,
  79. you don't need it. Selecting this will activate the
  80. SPI framework and ARM PL022 support.
  81. comment "All the settings below must match the bootloader's settings"
  82. config MACH_U300_ACCESS_MEM_SIZE
  83. int "Access CPU memory allocation"
  84. range 7 25
  85. depends on MACH_U300_SINGLE_RAM
  86. default 13
  87. help
  88. How much memory in MiB that the Access side CPU has allocated
  89. config MACH_U300_2MB_ALIGNMENT_FIX
  90. bool "2MiB alignment fix"
  91. depends on MACH_U300_SINGLE_RAM
  92. default y
  93. help
  94. If yes and the Access side CPU has allocated an odd size in
  95. MiB, this fix gives you one MiB extra that would otherwise be
  96. lost due to Linux 2 MiB alignment policy.
  97. endmenu
  98. endif