Skip to content

Commit

Permalink
mogami: remove adsp_cached
Browse files Browse the repository at this point in the history
  • Loading branch information
freexperia committed Jul 11, 2012
1 parent 4ad0f0f commit 26ad906
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions arch/arm/mach-msm/board-semc_mogami.c
Original file line number Diff line number Diff line change
Expand Up @@ -3507,12 +3507,6 @@ static struct android_pmem_platform_data android_pmem_adsp_pdata = {
.cached = 0,
};

static struct android_pmem_platform_data android_pmem_adsp_cached_pdata = {
.name = "pmem_adsp_cached",
.allocator_type = PMEM_ALLOCATORTYPE_BITMAP,
.cached = 1,
};

static struct android_pmem_platform_data android_pmem_camera_pdata = {
.name = "pmem_camera",
.allocator_type = PMEM_ALLOCATORTYPE_BITMAP,
Expand All @@ -3537,12 +3531,6 @@ static struct platform_device android_pmem_adsp_device = {
.dev = {.platform_data = &android_pmem_adsp_pdata},
};

static struct platform_device android_pmem_adsp_cached_device = {
.name = "android_pmem",
.id = 5,
.dev = {.platform_data = &android_pmem_adsp_cached_pdata},
};

static struct platform_device android_pmem_camera_device = {
.name = "android_pmem",
.id = 3,
Expand Down Expand Up @@ -3917,7 +3905,6 @@ static struct platform_device *devices[] __initdata = {
#endif /* CONFIG_FB_MSM_HDMI_SII9024A_PANEL */
&android_pmem_kernel_ebi1_device,
&android_pmem_adsp_device,
&android_pmem_adsp_cached_device,
&android_pmem_camera_device,
&android_pmem_audio_device,
&msm_device_i2c,
Expand Down Expand Up @@ -4712,10 +4699,6 @@ static void __init msm7x30_allocate_memory_regions(void)
pr_info("allocating %lu bytes at %p (%lx physical) for adsp "
"pmem arena\n", size, addr, __pa(addr));

android_pmem_adsp_cached_pdata.start = __pa(addr);
android_pmem_adsp_cached_pdata.size = size;
pr_info("setting %lu bytes at %p (%lx physical) for adsp cached "
"pmem arena\n", size, addr, __pa(addr));
}

size = pmem_camera_size;
Expand Down

0 comments on commit 26ad906

Please sign in to comment.