From: Wolfgang Denk Date: Wed, 08 Dec 2004 13:12:56 +0100 Subject: [U-Boot-Users] Questions about the U-Boot README, esp. CFG_IMMR In-Reply-To: Your message of "Wed, 08 Dec 2004 12:58:00 +0100." <41B6EC48.8050909@web.de> Message-ID: <20041208121301.CF4DFC146C@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 <41B6EC48.8050909@web.de> you wrote: > > About CFG_IMMR the README says: DO NOT CHANGE! (MPC8xx systems only) This is a bit of strong language to scare off thos who don't unterstand what they are doing. > This confuses me. As the IMMR is a SPR (special purpose register) in the > MPC8xx, assigning it an address seems to make no sense. Read this as: special register which holds the address of the Internem Memory. > Nevertheless CFG_IMMR is used everywhere in the U-Boot code, so there > must be a preset for it, which I can't find in the source. Also, almost RTFM - the 'M' is the MPC8xx User's Manual here. > any config in include/configs sets this to 0xFF000000. > So what is it good for and what should I choose? This depends on the memory map you chose for your board. Remember: it's _you_ who defines the memory map. Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de A list is only as strong as its weakest link. -- Don Knuth