All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] Fixup of fdt with detected memory size instead of fixed values
@ 2007-10-24 16:41 Martin Krause
  2007-10-24 22:54 ` Kim Phillips
  0 siblings, 1 reply; 5+ messages in thread
From: Martin Krause @ 2007-10-24 16:41 UTC (permalink / raw)
  To: u-boot

Hi,

I looked a bit into the fdt code in the bootm command. If I'm not wrong, 
the start of the memory and its size are fixed values in the 
fdt blob (node "memory"). U-Boot does not touch this values. I'm wondering,
why there is no fixup with the real values detected by U-Boot (stored in
bd->bi_mestart and bd->bi_memsize). For other properties, like 
"buf-frequency" a fixup with the real (detected) values is done (at least
on ppc processors).

If I want to do a fixup of the memory node befor starting Linux on our 
TQM5200 board, where would be the best place to do this? ft_board_setup()
seems to be right. But maybe it makes sense, to make this a global 
feature for all boards? AFAIK bd->bi_mestart and bd->bi_memsize
should contain valid values on all boards. So why not fixup the "memory"
node for all boards in ft_setup()? Does this make sense?

Best Regards,
Martin Krause

--
Entwicklung
Tel. +49 8153 93 08-157, Fax +49 8153 93 08-7157
mailto:martin.krause at tqs.de

TQ-Systems GmbH
M?hlstra?e 2, Gut Delling, D-82229 Seefeld
Amtsgericht M?nchen, HRB 105 018, UST-IdNr. DE 811 607 913
Gesch?ftsf?hrer: Dipl.-Ing. (FH) Detlef Schneider, Dipl.-Ing. (FH) R?diger Stahl
http://www.tq-group.com

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

end of thread, other threads:[~2007-10-25 12:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-24 16:41 [U-Boot-Users] Fixup of fdt with detected memory size instead of fixed values Martin Krause
2007-10-24 22:54 ` Kim Phillips
2007-10-25  7:11   ` Martin Krause
2007-10-25 11:14     ` Jerry Van Baren
2007-10-25 12:28       ` Martin Krause

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.