]> git.baikalelectronics.ru Git - uboot.git/commit
stm32mp: stm32prog: use get_cpu_dev for GetID command
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Tue, 18 May 2021 13:12:10 +0000 (15:12 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Fri, 18 Jun 2021 08:09:41 +0000 (10:09 +0200)
commit162e02ae657ab271ce59dbd0f69de4af3ea86378
treecf9c666edd993c46403cfebe2a89a1c197535e49
parente4903a0a532cd563e77a17c98c3c7162871aac55
stm32mp: stm32prog: use get_cpu_dev for GetID command

Use get_cpu_dev() in uart getID command and remove the defines
DEVICE_ID_BYTE1 and 2 defines.

This patch prepare the support for new SOC family.

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_serial.c