Skip to content

autoboot: Tidy up autoboot code

Tom Rini u-boot 2 versions – New

Get series with b4
b4 am 20190802220658.GI5845@bill-the-cat

Versions newest first · linked by author and title

  1. v2 Latest0 of 18 patches 0 repliesNew
  2. v10 of 18 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

None of the 18 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [U-Boot] [PATCH v2 00/18] autoboot: Tidy up autoboot code
Quoted 20 lines · Simon Glass

This series cleans up autoboot.c a bit to:

- Convert options to Kconfig
- Use C code instead of C preprocessor where possible
- Add a few comments

Changes in v2:
- Rebase to master

Simon Glass (18):
main: Use conditional run_preboot_environment_command() Convert CONFIG_SHOW_BOOT_PROGRESS to Kconfig Add CONFIG_USE_PREBOOT to boards that use CONFIG_PREBOOT Convert CONFIG_USE_PREBOOT and CONFIG_PREBOOT to Kconfig
autoboot: Use CONFIG_AUTOBOOT_STOP_STR_SHA256 indirectly
autoboot: Drop #ifdef for CONFIG_AUTOBOOT_ENCRYPTION
autoboot: Improve docs for CONFIG_AUTOBOOT_ENCRYPTION
autoboot: Use if() for CONFIG_SILENT_CONSOLE
autoboot: Drop #ifdef CONFIG_AUTOBOOT_KEYED
autoboot: Drop unused CONFIG_MENUPROMPT

Quoted 8 lines

autoboot: Rename CONFIG_MENUKEY to CONFIG_AUTOBOOT_MENUKEY
snow: Define CONFIG_AUTOBOOT_MENUKEY
autoboot: Tidy up use of menukey
autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT Convert CONFIG_AUTOBOOT_MENU_SHOW to Kconfig
autoboot: Add comments for menu_show()
autoboot: Move a few more options from #ifdef to if()
autoboot: Adjust the implementation in autoboot_command()

For the series, applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190802/29ada827/attachment.sig>