From: Wolfgang Denk Date: Fri, 09 Jan 2004 13:42:22 +0100 Subject: [U-Boot-Users] How to Understanding Internal SRAM (of ARM) In-Reply-To: Your message of "Fri, 09 Jan 2004 19:39:34 +0800." <000e01c3d6a5$415ae650$f48ec9ca@liangalei> Message-ID: <20040109124227.D1D80C108D@atlas.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <000e01c3d6a5$415ae650$f48ec9ca@liangalei> you wrote: > > I am reading source of "~/lib-arm/board", and wander on the "gd_data", it's > declared like: See the explanation in the README. > My question is: gd_data must or may be lacated at Internal SRAM (in arm, by > disable cache, it is?), but how to force the linker to allocate "gd_data" to The linker doesn't know about this. You initialize a reserved register with the correct value, that's all. Best regards, Wolfgang Denk -- See us @ Embedded World, Nuremberg, Feb 17 - 19, Hall 12.0 Booth 440 Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de Many aligators will be slain, but the swamp will remain.