From mboxrd@z Thu Jan 1 00:00:00 1970 From: Timur Tabi Date: Wed, 10 Jan 2007 17:31:56 -0600 Subject: [U-Boot-Users] CFG_LOAD_ADDR vs. CONFIG_LOADADDR vs. CFG_TFTP_LOADADDR In-Reply-To: <20070110231914.2E7B535264F@atlas.denx.de> References: <20070110231914.2E7B535264F@atlas.denx.de> Message-ID: <45A5776C.9060409@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Wolfgang Denk wrote: >> What's the difference between CFG_LOAD_ADDR and CONFIG_LOADADDR? Looking at the > > One underscore, a 'O', a 'N', and a 'I' ;-) Otto Waalkes could take lessons from you. > CFG_LOAD_ADDR is what you are supposed to use in the code. > > CONFIG_LOADADDR is the value used to initialize the "loadaddr" > variable in the default environment. > >> code, it looks like their both used as default load addresses, but I don't see >> why they should have different values (they do in most header files). > > I see little reason to define CONFIG_LOADADDR at all. Then what's the best way to define a default value for the "loadaddr" variable? -- Timur Tabi Linux Kernel Developer @ Freescale