[PATCH v2 07/12] bootm: Split out bootargs environment reading / writing
Tom Rini
trini at konsulko.com
Mon Dec 7 23:19:12 CET 2020
On Thu, Nov 05, 2020 at 10:33:43AM -0700, Simon Glass wrote:
> At present bootm_process_cmdline_env() reads the 'bootargs' variable and
> then writes it back afterwards. This is painful for tests, which would
> rather use a simple buffer.
>
> It is also useful for zimage to use a buffer, since it does not actually
> put the Linux command line in the bootargs variable.
>
> Refactor the existing code into two pieces. One handles reading and
> writing the environment variable, as well as allocating a buffer for use
> by the rest of the code, which now operates on a buffer.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
Applied to u-boot/next, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20201207/75629009/attachment.sig>
More information about the U-Boot
mailing list