Thread (31 messages) 31 messages, 6 authors, 2013-08-03
STALE4715d
Revisions (4)
  1. v2 [diff vs current]
  2. v2 [diff vs current]
  3. v2 current
  4. v2 [diff vs current]

[RFC PATCH V2 4/9] s/.name/.compatible/

From: Jason Cooper <hidden>
Date: 2013-08-03 14:07:41

On Fri, Aug 02, 2013 at 03:52:52PM -0600, Stephen Warren wrote:
On 08/02/2013 09:51 AM, Jason Cooper wrote:
quoted
Signed-off-by: Jason Cooper <redacted>
quoted
diff --git a/board-raumfeld.c b/board-raumfeld.c
quoted
@@ -21,19 +21,19 @@ static struct board boards[] = {
 		.machid		= 2413,
 		.system_rev	= 0,
 		.dtb		= &_binary_input_raumfeld_controller_0_dtb_start,
-		.name		= "Raumfeld Controller, revision 0",
+		.compatible	= "Raumfeld Controller, revision 0",
This looks a little unfortunate; those values don't look like they're
the contents of the DT compatible property.
Yes, this project is a week old.  I figured a little volatility was
allowed :-)  Please see:

  cb0088e board-raumfeld: tweak compatible strings

in:

  https://github.com/zonque/pxa-impedance-matcher.git

I changed the api so that the user could link in a random number of dtbs
_without_ hardcoding the addresses.  Searching by the compatible string
was the easiest way to accomplish this.  Unfortunately, I didn't know
his compatible strings when I made the change.

For the curious, the code that does this is here:

  https://github.com/zonque/pxa-impedance-matcher/blob/master/dtbs.c

We plan to add dtb parsing in the future so that we can change the dtb
based on the atags passed by the legacy bootloader.

thx,

Jason.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help