aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/omap_gpio.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-11-05 10:33:43 -0700
committerTom Rini <trini@konsulko.com>2020-12-04 16:09:26 -0500
commitb6386f38410f669f706a748d7d292d24ea14fe29 (patch)
treea821466549ee958ca7943dd6a8bf0d2ab38de110 /arch/arm/include/asm/omap_gpio.h
parent6cd92b1a7c62dc808e74f4638a027da3f6a044ce (diff)
bootm: Split out bootargs environment reading / writing
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@chromium.org>
Diffstat (limited to 'arch/arm/include/asm/omap_gpio.h')
0 files changed, 0 insertions, 0 deletions