Thread (5 messages) flat view 5 messages, 2 authors, 2008-06-06

Re: [PATCH v3 2/4] [POWERPC] 85xx: add board support for the TQM8548 modules

From: Wolfgang Grandegger <hidden>
Date: 2008-06-06 07:36:47

Kumar Gala wrote:
On Jun 5, 2008, at 3:39 PM, Wolfgang Grandegger wrote:
quoted
Kumar Gala wrote:
quoted
quoted
===================================================================
--- /dev/null
+++ linux-2.6-galak/arch/powerpc/boot/dts/tqm8548.dts
quoted
+    memory {
+        device_type = "memory";
+        reg = <0x00000000 0x20000000>;
+    };
is memory fixed on this board to 256M?
Ah, no, actually I have a module with 512 MB but it can be ordered with
less or more memory like the other TQM85xx modules as well. Does U-Boot
fixup this value? Is it used by Linux?
if u-boot determines the memory it will update this properly.  Linux
expects this to be set to know how much mem is in the system.

if you can try setting the 2nd value to 0x0 and see if it boots that
will let me know if its safe for me to change.
It works with

	memory {
		device_type = "memory";
		reg = <0x00000000 0x00000000>;	// size filled by U-Boot
	};

as well. With my previous definition Linux came up with 512 MB of memory
as well and it was already obvious, that U-Boot fills in the right size
value.

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