Xilinx framebuffer platform bus binding

Grant Likely grant.likely at secretlab.ca
Tue May 1 00:57:30 EST 2007


On 4/30/07, Grant Likely <grant.likely at secretlab.ca> wrote:
> Andrei; FWIW, here is the code that I'm using to register the Xilinx
> FB to the platform bus.
>

Oh, and in keeping with the other devices, I use this snippet in xparams:

Cheers,
g.

diff --git a/arch/ppc/platforms/4xx/xparameters/xparameters.h
b/arch/ppc/platforms/4xx/xparameters/xparameters.h
index 917cc81..8675511 100644
--- a/arch/ppc/platforms/4xx/xparameters/xparameters.h
+++ b/arch/ppc/platforms/4xx/xparameters/xparameters.h
@@ -103,3 +103,9 @@
 #define XPAR_GPIO_4_IS_DUAL 0
 #endif

+#ifndef XPAR_TFT_0_USE_DCR
+#define XPAR_TFT_0_USE_DCR 0
+#endif
+#ifndef XPAR_TFT_1_USE_DCR
+#define XPAR_TFT_1_USE_DCR 0
+#endif



More information about the Linuxppc-embedded mailing list