[U-Boot] difference between V_PROMPT and CONFIG_SYS_PROMPT?

another beginner-level question, i'm sure, but what's the distinction between V_PROMPT and CONFIG_SYS_PROMPT for customizing the u-boot prompt?
based on the output from a straightforward grep, it appears that every example of customizing the prompt has the form:
#define V_PROMPT "OMAP3_EVM # " ... snip ... #define CONFIG_SYS_PROMPT V_PROMPT
as in, V_PROMPT is set, for no other reason than to subsequently set CONFIG_SYS_PROMPT a few lines later, at which point V_PROMPT never seems to be used again.
is this just a historical holdover? any reason why CONFIG_SYS_PROMPT can't be set directly and V_PROMPT ignored/removed?
rday --
======================================================================== Robert P. J. Day Waterloo, Ontario, CANADA
Linux Consulting, Training and Kernel Pedantry.
Web page: http://crashcourse.ca Twitter: http://twitter.com/rpjday ========================================================================

Dear "Robert P. J. Day",
In message alpine.LFD.2.00.0911190255590.29408@localhost you wrote:
another beginner-level question, i'm sure, but what's the distinction between V_PROMPT and CONFIG_SYS_PROMPT for customizing the u-boot prompt?
The difference is that CONFIG_SYS_PROMPT (which probably should be renamed into CONFIG_PROMPT) is an official, documented configuration option, while V_PROMPT is a private and apparently redundant definition that should be removed.
Cleanup patches welcome.
Best regards,
Wolfgang Denk

On Mon, 7 Dec 2009, Wolfgang Denk wrote:
Dear "Robert P. J. Day",
In message alpine.LFD.2.00.0911190255590.29408@localhost you wrote:
another beginner-level question, i'm sure, but what's the distinction between V_PROMPT and CONFIG_SYS_PROMPT for customizing the u-boot prompt?
The difference is that CONFIG_SYS_PROMPT (which probably should be renamed into CONFIG_PROMPT) is an official, documented configuration option, while V_PROMPT is a private and apparently redundant definition that should be removed.
Cleanup patches welcome.
submitted. if CONFIG_SYS_PROMPT really should be renamed, that can be done in a followup patch as a separate logical action.
rday --
======================================================================== Robert P. J. Day Waterloo, Ontario, CANADA
Linux Consulting, Training and Kernel Pedantry.
Web page: http://crashcourse.ca Twitter: http://twitter.com/rpjday ========================================================================
participants (2)
-
Robert P. J. Day
-
Wolfgang Denk