From: Wolfgang Denk Date: Sun, 25 Apr 2004 16:03:37 +0200 Subject: [U-Boot-Users] dynamic setting of CONFIG_SYS_CLK_FREQ In-Reply-To: Your message of "Thu, 22 Apr 2004 14:51:16 CDT." <6A9BF178-9496-11D8-9316-000393DBC2E8@motorola.com> Message-ID: <20040425140342.28300C109F@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 <6A9BF178-9496-11D8-9316-000393DBC2E8@motorola.com> you wrote: > > I realized that sys_clk is not defined, I was going to add it for 85xx > since none of the other defines in gd currently represent the value. Do we really need this value? Please keep "gd" free from redundand values, i. e. from data which can be derived/calculated easily from other variables. > The other option would be to have a function return the proper > frequency (as suggested earlier in the thread). Any suggestions as to > which option would be preferred? The function approach sounds cleaner to me. Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de It is more rational to sacrifice one life than six. -- Spock, "The Galileo Seven", stardate 2822.3