Kconfig 2.8 KB

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