[U-Boot-Users] dynamic setting of CONFIG_SYS_CLK_FREQ

Wolfgang Denk
2004-04-26T11:13:02Z

In message <408CE1D9.1080201@intracom.gr> you wrote:
>
> We can do the same with environment variables.
>
> Let's partition the variables to two categories.

I see what you mean. But it might be not as easy.

> One will be the normal variables as we have now.
> The other we can refer to them as phantom variables;
> they are never written to persistant storage but live in
> RAM only. The version variable you refer is one of them.
>
> IMHO it's a more consistent interface.

Well, but how do you present it to the user? Will "printenv" show all
variables mixed? So how does the user know which get saved and which
not? How do you merge both with the standard CLI and hush in a
consistent way? And allthis without (significantly) increasing the
memory footprint _and_ keeping the code readable?

> As for the state of Linux, we can try to migrate 2.6 to
> this interface.

Good idea.

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
I paid too much for it, but its worth it.