[U-Boot-Users] dynamic setting of CONFIG_SYS_CLK_FREQ
Wolfgang Denk
wd at denx.de
Sun Apr 25 16:03:37 CEST 2004
In message <6A9BF178-9496-11D8-9316-000393DBC2E8 at 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
More information about the U-Boot
mailing list