]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
serial: stm32x7: prepare the ground to STM32F4 support
authorPatrice Chotard <patrice.chotard@st.com>
Wed, 27 Sep 2017 13:44:50 +0000 (15:44 +0200)
committerTom Rini <trini@konsulko.com>
Sun, 8 Oct 2017 20:19:56 +0000 (16:19 -0400)
STM32F4 serial IP is similar to F7 and H7, but registers
are not located at the same offset and some feature are
only supported by F7 and H7 version.

Registers offset must be added for each version and also
some flags indicated the supported feature.

Update registers name to match with datasheet (sr to isr,
rx_dr to rdr and tx_dr to tdr) and remove unused regs
(cr2, gtpr, rtor, and rqr).

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>

No differences found