[U-Boot] [PATCH v3 0/3] Deprecate Linux bootargs munging with CONFIG_SILENT_CONSOLE.

Doug Anderson
2012-01-10T22:26:19Z

As discussed previously on the U-Boot mailing list (see comments on
"Fix fixup_silent_linux() buffer overrun" patchset), relying on
"bootm" to mangle the Linux bootargs is not a suggested way to go.
We now officially deprecate it and provide a way to avoid it (but
still get the other CONFIG_SILENT_CONSOLE behavior).

Changes in v2:
- Define without a value, since this selects a feature only.
- Moved define of CONFIG_DEPRECATED_SILENT_LINUX_CONSOLE to
always be right next to the define of CONFIG_SILENT_CONSOLE
- Better description of CONFIG_SILENT_CONSOLE in README
- Example of how to use a script to silence Linux console in a non-
deprecated way in doc/README.silent

Changes in v3:
- Use __deprecated #define instead of direct gcc attribute
- Minor wording updates in doc/README.silent
- Added part 3 of the patch to turn off the deprecated config option
for Blackfin, where it was confirmed that it's not needed.

Doug Anderson (3):
config: Add CONFIG_DEPRECATED_SILENT_LINUX_CONSOLE
bootm: Move silencing of linux console to deprecated config option.
config: Remove Blackfin CONFIG_DEPRECATED_SILENT_LINUX_CONSOLE

README | 10 ++++++----
common/cmd_bootm.c | 10 +++++-----
doc/README.silent | 27 +++++++++++++++++++++++----
include/configs/KUP4K.h | 1 +
include/configs/KUP4X.h | 1 +
include/configs/QS823.h | 1 +
include/configs/QS850.h | 1 +
include/configs/QS860T.h | 1 +
include/configs/TQM5200.h | 1 +
include/configs/a4m072.h | 1 +
include/configs/cm5200.h | 1 +
include/configs/cpu9260.h | 1 +
include/configs/cpuat91.h | 1 +
include/configs/mcc200.h | 1 +
include/configs/mimc200.h | 1 +
include/configs/omap3_evm_quick_mmc.h | 1 +
include/configs/omap3_evm_quick_nand.h | 1 +
include/configs/pdm360ng.h | 1 +
include/configs/sc3.h | 1 +
19 files changed, 50 insertions(+), 13 deletions(-)

--
1.7.3.1