aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2011-09-11 17:30:45 -0400
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-03-12 17:41:11 -0400
commitb0a49d98fa4315c17a098cb60ccc626645ed9756 (patch)
tree0c220e9f8ed3cd6e98f2333035f1d18fee858453 /arch/arm
parent481100506b34d666243832c3f2aee905c03cb8e7 (diff)
arm: mach-shmobile: Don't set MERAM ICB numbers in platform data
The marker and cache ICBs are now allocated automatically, there's no need to specify them manually anymore. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-shmobile/board-ap4evb.c8
-rw-r--r--arch/arm/mach-shmobile/board-mackerel.c8
2 files changed, 0 insertions, 16 deletions
diff --git a/arch/arm/mach-shmobile/board-ap4evb.c b/arch/arm/mach-shmobile/board-ap4evb.c
index 7b902277f145..714955e8b313 100644
--- a/arch/arm/mach-shmobile/board-ap4evb.c
+++ b/arch/arm/mach-shmobile/board-ap4evb.c
@@ -581,13 +581,9 @@ static const struct fb_videomode ap4evb_lcdc_modes[] = {
581}; 581};
582static struct sh_mobile_meram_cfg lcd_meram_cfg = { 582static struct sh_mobile_meram_cfg lcd_meram_cfg = {
583 .icb[0] = { 583 .icb[0] = {
584 .marker_icb = 28,
585 .cache_icb = 24,
586 .meram_size = 0x40, 584 .meram_size = 0x40,
587 }, 585 },
588 .icb[1] = { 586 .icb[1] = {
589 .marker_icb = 29,
590 .cache_icb = 25,
591 .meram_size = 0x40, 587 .meram_size = 0x40,
592 }, 588 },
593}; 589};
@@ -862,13 +858,9 @@ static long ap4evb_clk_optimize(unsigned long target, unsigned long *best_freq,
862 858
863static struct sh_mobile_meram_cfg hdmi_meram_cfg = { 859static struct sh_mobile_meram_cfg hdmi_meram_cfg = {
864 .icb[0] = { 860 .icb[0] = {
865 .marker_icb = 30,
866 .cache_icb = 26,
867 .meram_size = 0x100, 861 .meram_size = 0x100,
868 }, 862 },
869 .icb[1] = { 863 .icb[1] = {
870 .marker_icb = 31,
871 .cache_icb = 27,
872 .meram_size = 0x100, 864 .meram_size = 0x100,
873 }, 865 },
874}; 866};
diff --git a/arch/arm/mach-shmobile/board-mackerel.c b/arch/arm/mach-shmobile/board-mackerel.c
index 0c0fd4f0c308..a6ad4a4bd6f7 100644
--- a/arch/arm/mach-shmobile/board-mackerel.c
+++ b/arch/arm/mach-shmobile/board-mackerel.c
@@ -371,13 +371,9 @@ static int mackerel_get_brightness(void)
371 371
372static struct sh_mobile_meram_cfg lcd_meram_cfg = { 372static struct sh_mobile_meram_cfg lcd_meram_cfg = {
373 .icb[0] = { 373 .icb[0] = {
374 .marker_icb = 28,
375 .cache_icb = 24,
376 .meram_size = 0x40, 374 .meram_size = 0x40,
377 }, 375 },
378 .icb[1] = { 376 .icb[1] = {
379 .marker_icb = 29,
380 .cache_icb = 25,
381 .meram_size = 0x40, 377 .meram_size = 0x40,
382 }, 378 },
383}; 379};
@@ -461,13 +457,9 @@ static struct platform_device hdmi_device = {
461 457
462static struct sh_mobile_meram_cfg hdmi_meram_cfg = { 458static struct sh_mobile_meram_cfg hdmi_meram_cfg = {
463 .icb[0] = { 459 .icb[0] = {
464 .marker_icb = 30,
465 .cache_icb = 26,
466 .meram_size = 0x100, 460 .meram_size = 0x100,
467 }, 461 },
468 .icb[1] = { 462 .icb[1] = {
469 .marker_icb = 31,
470 .cache_icb = 27,
471 .meram_size = 0x100, 463 .meram_size = 0x100,
472 }, 464 },
473}; 465};