diff options
author | Daniel Walker <c_dwalke@quicinc.com> | 2010-03-16 19:29:44 -0400 |
---|---|---|
committer | Daniel Walker <dwalker@codeaurora.org> | 2010-05-12 12:18:32 -0400 |
commit | bf83de4037780b11b27f1e32e33c1e8e7e42602e (patch) | |
tree | b2baf37c32a4b4fc036383162b4fcb8eb241e4ed /arch/arm/mach-msm/Kconfig | |
parent | 79848a2a7333eee6424b38c05b4ea4a0ce56eb47 (diff) |
arm: msm: smd: use either package v3 or v4 not both
This modifies SMD to use either the package v3 or package v4,
but not both. The current code tries to allocate as v4 on all
system which can produce a scary looking error message on boot up,
smem_find(16, 40): wrong size 16424
smd_alloc_channel() cid=02 size=08192 'SMD_RPCCALL'
With this error the code then falls back on the package v3 allocation
method. This method is inefficient because it causes a slow down
on some systems even when the allocation method can be determined
at compile time. It also causes a kernel size increase that effects
all system and is not needed.
This change corrects the allocation to use one method or the other
and not both.
Signed-off-by: Daniel Walker <c_dwalke@quicinc.com>
Diffstat (limited to 'arch/arm/mach-msm/Kconfig')
-rw-r--r-- | arch/arm/mach-msm/Kconfig | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/arch/arm/mach-msm/Kconfig b/arch/arm/mach-msm/Kconfig index 7cee7913f6f7..e73e9d17ca2e 100644 --- a/arch/arm/mach-msm/Kconfig +++ b/arch/arm/mach-msm/Kconfig | |||
@@ -1,5 +1,21 @@ | |||
1 | if ARCH_MSM | 1 | if ARCH_MSM |
2 | 2 | ||
3 | choice | ||
4 | prompt "Qualcomm MSM SoC Type" | ||
5 | default ARCH_MSM7X00A | ||
6 | |||
7 | config ARCH_MSM7X00A | ||
8 | bool "MSM7x00A / MSM7x01A" | ||
9 | select ARCH_MSM_ARM11 | ||
10 | select MSM_SMD_PKG3 | ||
11 | select CPU_V6 | ||
12 | |||
13 | endchoice | ||
14 | |||
15 | config ARCH_MSM_ARM11 | ||
16 | bool | ||
17 | |||
18 | |||
3 | comment "MSM Board Type" | 19 | comment "MSM Board Type" |
4 | depends on ARCH_MSM | 20 | depends on ARCH_MSM |
5 | 21 | ||
@@ -28,20 +44,22 @@ choice | |||
28 | endchoice | 44 | endchoice |
29 | 45 | ||
30 | config MACH_HALIBUT | 46 | config MACH_HALIBUT |
31 | depends on ARCH_MSM | 47 | depends on ARCH_MSM7X00A |
32 | select CPU_V6 | ||
33 | default y | 48 | default y |
34 | bool "Halibut Board (QCT SURF7201A)" | 49 | bool "Halibut Board (QCT SURF7201A)" |
35 | help | 50 | help |
36 | Support for the Qualcomm SURF7201A eval board. | 51 | Support for the Qualcomm SURF7201A eval board. |
37 | 52 | ||
38 | config MACH_TROUT | 53 | config MACH_TROUT |
39 | select CPU_V6 | 54 | depends on ARCH_MSM7X00A |
40 | default y | 55 | default y |
41 | bool "HTC Dream (aka trout)" | 56 | bool "HTC Dream (aka trout)" |
42 | help | 57 | help |
43 | Support for the HTC Dream, T-Mobile G1, Android ADP1 devices. | 58 | Support for the HTC Dream, T-Mobile G1, Android ADP1 devices. |
44 | 59 | ||
60 | config MSM_SMD_PKG3 | ||
61 | bool | ||
62 | |||
45 | config MSM_SMD | 63 | config MSM_SMD |
46 | default y | 64 | default y |
47 | bool "MSM Shared Memory Driver (SMD)" | 65 | bool "MSM Shared Memory Driver (SMD)" |