]> git.dujemihanovic.xyz Git - u-boot.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)
commit69446dee3759e09dfaeb99673ad70d1556ed5972
treecf9c666edd993c46403cfebe2a89a1c197535e49
parentb57efb24c9d05c04732f96b1330b2229769114e4
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