Re: [PATCH v2 07/12] bootm: Split out bootargs environment reading / writing

2020-12-07 Thread Tom Rini
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

[PATCH v2 07/12] bootm: Split out bootargs environment reading / writing

2020-11-05 Thread Simon Glass
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.