]> git.dujemihanovic.xyz Git - u-boot.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)
commit9de612ae4ded53f742f5f99929c06d0839471ced
tree1362dfd27f55e133d0fe8a8b114650d7178e87fb
parent0de71bb58068d7e87765fa7df26fb7bd3d2a93cf
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