]> git.baikalelectronics.ru Git - uboot.git/commit
cmd: adc: Add support for storing ADC result in env variable
authorMarek Vasut <marex@denx.de>
Thu, 14 Apr 2022 16:52:25 +0000 (18:52 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 22 Apr 2022 19:44:10 +0000 (15:44 -0400)
commit7eb53beeda16d90a6a47d38f99946b502550b2cd
tree1362dfd27f55e133d0fe8a8b114650d7178e87fb
parenta2a3e1f6168ab7edc5ac2195133ae643859c3012
cmd: adc: Add support for storing ADC result in env variable

Add the ability to save ADC conversion result in an environment
variable. This is useful for further arbitrary processing by the
U-Boot scripts.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
Cc: Patrice Chotard <patrice.chotard@foss.st.com>
Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
Cc: Simon Glass <sjg@chromium.org>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
cmd/adc.c