Re: [PATCH] Add MPC8641 HPCN Device Tree Source file.
From: Hollis Blanchard <hidden>
Date: 2006-08-02 20:20:23
On Wed, 2006-08-02 at 13:48 -0500, Jon Loeliger wrote:
+ PowerPC,8641@0 {
+ device_type = "cpu";
+ reg = <0>;
+ d-cache-line-size = <20>; // 32 bytes
+ i-cache-line-size = <20>; // 32 bytes
+ d-cache-size = <8000>; // L1, 32K
+ i-cache-size = <8000>; // L1, 32K
+ timebase-frequency = <0>; // 33 MHz,
from uboot
+ bus-frequency = <0>; // From uboot
+ clock-frequency = <0>; // From uboot
+ 32-bit;
+ linux,boot-cpu;
+ }; I need to do something similar for Xen, so I was curious: I guess the preferred way for runtime software to fill in values is by *overwriting* bogus values inserted at compile time? The other alternative would be for the runtime code to insert new properties (presumably via memmove()), but overwriting definitely seems simpler. -Hollis