commit | e25929913d275efc2a9270131bc3382ac8174cc4 | [log] [tgz] |
---|---|---|
author | Patrick Delaunay <patrick.delaunay@foss.st.com> | Thu Feb 25 13:37:03 2021 +0100 |
committer | Patrice Chotard <patrice.chotard@foss.st.com> | Thu Mar 11 17:41:17 2021 +0100 |
tree | 9422a86ece0c0af68b66d2868396e4388589f3df | |
parent | 7540d8730d9df44ce6872c2834798b8adcab8f42 [diff] |
stm32mp: stm32prog: replace alias by serial device sequence number The command "stm32prog serial <dev>" can directly use the device sequence number of serial uclass as this sequence number is egual to alias when it exist; this assumption simplify the code and avoid access to gd->fdt_blob and the device tree parsing. Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>