Remove superfluous use of V_PROMPT macros in config files.
PATCH 1/1 Remove superfluous use of V_PROMPT macros in config files.
Remove the use of the V_PROMPT macro in a number of config files, whose only use seems to be to subsequently set the CONFIG_SYS_PROMPT macro, after which it's never used again.
Signed-off-by Robert P. J. Day <[email protected]>
---
as far as i can tell, there's no compelling reason to hang ontoV_PROMPT when CONFIG_SYS_PROMPT is what's being used in the end. this patch removes all of that.
include/configs/apollon.h +1 -3
@@ -183,10 +183,8 @@/* * Miscellaneous configurable options */ -#define V_PROMPT "Apollon # " -#define CONFIG_SYS_LONGHELP /* undef to save memory */ -#define CONFIG_SYS_PROMPT V_PROMPT +#define CONFIG_SYS_PROMPT "Apollon # "#define CONFIG_SYS_CBSIZE 256/* Console I/O Buffer Size */ /* Print Buffer Size */ #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE+sizeof(CONFIG_SYS_PROMPT)+16)
include/configs/omap2420h4.h +3 -5
@@ -163,14 +163,12 @@/* * Miscellaneous configurable options */ +#define CONFIG_SYS_LONGHELP /* undef to save memory */ #ifdef CONFIG_APTIX -#define V_PROMPT "OMAP2420 Aptix # " +# define CONFIG_SYS_PROMPT "OMAP2420 Aptix # "#else -#define V_PROMPT "OMAP242x H4 # " +# define CONFIG_SYS_PROMPT "OMAP242x H4 # "#endif - -#define CONFIG_SYS_LONGHELP /* undef to save memory */ -#define CONFIG_SYS_PROMPT V_PROMPT#define CONFIG_SYS_CBSIZE 256/* Console I/O Buffer Size */ /* Print Buffer Size */ #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE+sizeof(CONFIG_SYS_PROMPT)+16)
include/configs/omap3_beagle.h +1 -3
@@ -213,12 +213,10 @@/* * Miscellaneous configurable options */ -#define V_PROMPT "OMAP3 beagleboard.org # " -#define CONFIG_SYS_LONGHELP /* undef to save memory */ #define CONFIG_SYS_HUSH_PARSER /* use "hush" command parser */ #define CONFIG_SYS_PROMPT_HUSH_PS2 "> " -#define CONFIG_SYS_PROMPT V_PROMPT +#define CONFIG_SYS_PROMPT "OMAP3 beagleboard.org # "#define CONFIG_SYS_CBSIZE 256/* Console I/O Buffer Size */ /* Print Buffer Size */ #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + \
include/configs/omap3_evm.h +1 -3
@@ -194,12 +194,10 @@/* * Miscellaneous configurable options */ -#define V_PROMPT "OMAP3_EVM # " -#define CONFIG_SYS_LONGHELP /* undef to save memory */ #define CONFIG_SYS_HUSH_PARSER /* use "hush" command parser */ #define CONFIG_SYS_PROMPT_HUSH_PS2 "> " -#define CONFIG_SYS_PROMPT V_PROMPT +#define CONFIG_SYS_PROMPT "OMAP3_EVM # "#define CONFIG_SYS_CBSIZE 256/* Console I/O Buffer Size */ /* Print Buffer Size */ #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + \
include/configs/omap3_overo.h +1 -3
@@ -199,12 +199,10 @@/* * Miscellaneous configurable options */ -#define V_PROMPT "Overo # " -#define CONFIG_SYS_LONGHELP /* undef to save memory */ #define CONFIG_SYS_HUSH_PARSER /* use "hush" command parser */ #define CONFIG_SYS_PROMPT_HUSH_PS2 "> " -#define CONFIG_SYS_PROMPT V_PROMPT +#define CONFIG_SYS_PROMPT "Overo # "#define CONFIG_SYS_CBSIZE 256/* Console I/O Buffer Size */ /* Print Buffer Size */ #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + \
include/configs/omap3_pandora.h +1 -3
@@ -191,12 +191,10 @@/* * Miscellaneous configurable options */ -#define V_PROMPT "Pandora # " -#define CONFIG_SYS_LONGHELP /* undef to save memory */ #define CONFIG_SYS_HUSH_PARSER /* use "hush" command parser */ #define CONFIG_SYS_PROMPT_HUSH_PS2 "> " -#define CONFIG_SYS_PROMPT V_PROMPT +#define CONFIG_SYS_PROMPT "Pandora # "#define CONFIG_SYS_CBSIZE 256/* Console I/O Buffer Size */ /* Print Buffer Size */ #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + \
include/configs/omap3_sdp3430.h +1 -2
@@ -263,12 +263,11 @@/* * Miscellaneous configurable options */ -#define V_PROMPT "OMAP34XX SDP # "#define CONFIG_SYS_LONGHELP /* undef to save memory */ #define CONFIG_SYS_HUSH_PARSER /* use "hush" command parser */ #define CONFIG_SYS_PROMPT_HUSH_PS2 "> " -#define CONFIG_SYS_PROMPT V_PROMPT +#define CONFIG_SYS_PROMPT "OMAP34XX SDP # "#define CONFIG_SYS_CBSIZE 256/* Console I/O Buffer Size */ /* Print Buffer Size */ #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + \
include/configs/omap3_zoom1.h +1 -3
@@ -199,12 +199,10 @@/* * Miscellaneous configurable options */ -#define V_PROMPT "OMAP3 Zoom1# " -#define CONFIG_SYS_LONGHELP /* undef to save memory */ #define CONFIG_SYS_HUSH_PARSER /* use "hush" command parser */ #define CONFIG_SYS_PROMPT_HUSH_PS2 "> " -#define CONFIG_SYS_PROMPT V_PROMPT +#define CONFIG_SYS_PROMPT "OMAP3 Zoom1 # "#define CONFIG_SYS_CBSIZE 256/* Console I/O Buffer Size */ /* Print Buffer Size */ #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + \
========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA
Linux Consulting, Training and Kernel Pedantry.
Web page: http://crashcourse.ca Twitter: http://twitter.com/rpjday
========================================================================