Thread (1 message) 1 message, 1 author, 2012-04-05

[PATCH 4/7 v4] ARM: kirkwood: add dreamplug (fdt) support.

From: Jason Cooper <hidden>
Date: 2012-04-05 22:41:43
Also in: linux-devicetree

On Thu, Apr 05, 2012 at 11:07:36PM +0100, Ian Campbell wrote:
On Tue, 2012-03-13 at 01:57 +0000, Jason Cooper wrote:
quoted
+DT_MACHINE_START(KIRKWOOD_DT, "Marvell Kirkwood (Flattened Device Tree)") 
This ends up as Machine: in /proc/cpuinfo, which seems to be normal?

Would it be worth trying to dynamically modify the machine string based
on the actual hardware the kernel is running on?
With CONFIG_PROC_DEVICETREE=y I get the following:

$ cat /proc/device-tree/model
Globalscale Technologies Dreamplug

It seems to me (I have no strong opinion here, just playing devil's
advocate) that /proc/cpuinfo is indeed telling us about the processor
(Marvell Kirkwood ...) Should it really be describing the board?

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