console: remove #ifdef CONFIG when it is possible
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | console: remove #ifdef CONFIG when it is possiblecommon/ | +61 | 1 reply | |
| 2/4 | console: add function console_devices_setcommon/ | +13 | 1 reply | |
| 3/4 | console: remove #ifdef CONFIG_CONSOLE_RECORDcommon/ | +66 | 2 replies | |
| 4/4 | console: add console_tstc_check helper function for CONSOLE_MUXcommon/ | +24 | 1 reply |
Reviews trailers per patch
3 of 4 patches have a Reviewed-by or Acked-by.
| Patch | Simon Glass |
|---|---|
| 1/4 | R-b |
| 2/4 | R-b |
| 3/4 | R-b |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] console: remove #ifdef CONFIG when it is possible
Use 'if (IS_ENABLED(CONFIG...))' instead of '#if or #ifdef' where possible
This patchset can applied on master branch after the serie [1] (for the new order of test in function putc() and puts()
done in "console: allow to record console output before ready"
)
I will push a separate serie to remove the remaining #ifdef CONFIG_VIDCONSOLE_AS_LCD
And I remove the sandox code in [2] (with the associated tests #ifdef CONFIG_SANDBOX)
[1] http://patchwork.ozlabs.org/project/uboot/list/?series=217079
"log: don't build the trace buffer when log is not ready"
[2] http://patchwork.ozlabs.org/project/uboot/patch/20201127114927.2.Ida70f4fb1524187703e9240d63e436f8ae5adaab at changeid/ "[2/2] console: sandbox: remove unnecessary sandbox code"
Patrick Delaunay (4):
console: remove #ifdef CONFIG when it is possible
console: add function console_devices_set
console: remove #ifdef CONFIG_CONSOLE_RECORD
console: add console_tstc_check helper function for CONSOLE_MUX
common/console.c | 291 ++++++++++++++++++++++++++--------------------- 1 file changed, 164 insertions(+), 127 deletions(-)
Signature · 1 line
2.17.1