Kconfig 2.8 KB

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