mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/3] imx/fb: struct imx_ipu_fb_platform_data remove const for mode
@ 2010-09-24 11:01 Jean-Christophe PLAGNIOL-VILLARD
  2010-09-24 11:01 ` [PATCH 2/3] imx-ipu-fb: set default bits per pixel at 16 for mx3 Jean-Christophe PLAGNIOL-VILLARD
  2010-09-24 11:01 ` [PATCH 3/3] pcm038: fix initialization makes pointer from integer without a cast Jean-Christophe PLAGNIOL-VILLARD
  0 siblings, 2 replies; 3+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2010-09-24 11:01 UTC (permalink / raw)
  To: barebox

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
---
 arch/arm/mach-imx/include/mach/imx-ipu-fb.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-imx/include/mach/imx-ipu-fb.h b/arch/arm/mach-imx/include/mach/imx-ipu-fb.h
index dd65b04..8e1cc87 100644
--- a/arch/arm/mach-imx/include/mach/imx-ipu-fb.h
+++ b/arch/arm/mach-imx/include/mach/imx-ipu-fb.h
@@ -25,7 +25,7 @@
  * struct mx3fb_platform_data - mx3fb platform data
  */
 struct imx_ipu_fb_platform_data {
-	const struct fb_videomode	*mode;
+	struct fb_videomode	*mode;
 	unsigned char		bpp;
 	void __iomem		*framebuffer;
 	/** hook to enable backlight and stuff */
-- 
1.7.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 2/3] imx-ipu-fb: set default bits per pixel at 16 for mx3
  2010-09-24 11:01 [PATCH 1/3] imx/fb: struct imx_ipu_fb_platform_data remove const for mode Jean-Christophe PLAGNIOL-VILLARD
@ 2010-09-24 11:01 ` Jean-Christophe PLAGNIOL-VILLARD
  2010-09-24 11:01 ` [PATCH 3/3] pcm038: fix initialization makes pointer from integer without a cast Jean-Christophe PLAGNIOL-VILLARD
  1 sibling, 0 replies; 3+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2010-09-24 11:01 UTC (permalink / raw)
  To: barebox

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
---
 drivers/video/imx-ipu-fb.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/video/imx-ipu-fb.c b/drivers/video/imx-ipu-fb.c
index f6ac26f..94b99f2 100644
--- a/drivers/video/imx-ipu-fb.c
+++ b/drivers/video/imx-ipu-fb.c
@@ -748,6 +748,7 @@ static int mx3fb_set_par(struct fb_info *info)
 		rgb = &def_rgb_24;
 		break;
 	case 16:
+	default:
 		rgb = &def_rgb_16;
 		break;
 	}
-- 
1.7.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 3/3] pcm038: fix initialization makes pointer from integer without a cast
  2010-09-24 11:01 [PATCH 1/3] imx/fb: struct imx_ipu_fb_platform_data remove const for mode Jean-Christophe PLAGNIOL-VILLARD
  2010-09-24 11:01 ` [PATCH 2/3] imx-ipu-fb: set default bits per pixel at 16 for mx3 Jean-Christophe PLAGNIOL-VILLARD
@ 2010-09-24 11:01 ` Jean-Christophe PLAGNIOL-VILLARD
  1 sibling, 0 replies; 3+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2010-09-24 11:01 UTC (permalink / raw)
  To: barebox

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
---
 arch/arm/boards/pcm038/pcm038.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/boards/pcm038/pcm038.c b/arch/arm/boards/pcm038/pcm038.c
index 20ffffb..a4dc207 100644
--- a/arch/arm/boards/pcm038/pcm038.c
+++ b/arch/arm/boards/pcm038/pcm038.c
@@ -406,7 +406,7 @@ extern void *pcm038_pll_init, *pcm038_pll_init_end;
 static int pcm038_power_init(void)
 {
 	int ret;
-	void *vram = 0xffff4c00;
+	void *vram = (void*)0xffff4c00;
 	void (*pllfunc)(void) = vram;
 
 	printf("initialising PLLs: 0x%p 0x%p\n", &pcm038_pll_init);
-- 
1.7.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-09-24 11:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-24 11:01 [PATCH 1/3] imx/fb: struct imx_ipu_fb_platform_data remove const for mode Jean-Christophe PLAGNIOL-VILLARD
2010-09-24 11:01 ` [PATCH 2/3] imx-ipu-fb: set default bits per pixel at 16 for mx3 Jean-Christophe PLAGNIOL-VILLARD
2010-09-24 11:01 ` [PATCH 3/3] pcm038: fix initialization makes pointer from integer without a cast Jean-Christophe PLAGNIOL-VILLARD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox