diff options
author | Patrice Chotard <patrice.chotard@st.com> | 2017-06-08 09:26:54 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-06-12 08:38:13 -0400 |
commit | 1113ad49dce7d56429c6ad37738d06e7aef21fac (patch) | |
tree | 06f8a43ff91eae396471df907bdfe8bc58739663 /drivers/serial | |
parent | 22929bec528f42c1a7fbcd76adeea8daed9ba55c (diff) | |
download | u-boot-1113ad49dce7d56429c6ad37738d06e7aef21fac.tar.gz |
serial: stm32x7: align compatible with kernel one
stm32x7.c driver is dedicated for STM32F7.
In kernel, "st,stm32-usart" and "st,stm32-uart" compatible
strings are dedicated for STM32F4.
To keep U-boot and kernel aligned, replace the serial compatible
string from "st,stm32-usart", "st,stm32-uart" to
"st,stm32f7-usart", "st,stm32f7-uart" specific for STM32F7.
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Christophe KERELLO <christophe.kerello@st.com>
Reviewed-by: Patrick DELAUNAY <patrick.delaunay@st.com>
Acked-by: Vikas MANOCHA <vikas.manocha@st.com>
Diffstat (limited to 'drivers/serial')
-rw-r--r-- | drivers/serial/serial_stm32x7.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/serial/serial_stm32x7.c b/drivers/serial/serial_stm32x7.c index 483e4ba67d..7693159af2 100644 --- a/drivers/serial/serial_stm32x7.c +++ b/drivers/serial/serial_stm32x7.c @@ -103,8 +103,8 @@ static int stm32_serial_probe(struct udevice *dev) #if CONFIG_IS_ENABLED(OF_CONTROL) static const struct udevice_id stm32_serial_id[] = { - {.compatible = "st,stm32-usart"}, - {.compatible = "st,stm32-uart"}, + {.compatible = "st,stm32f7-usart"}, + {.compatible = "st,stm32f7-uart"}, {} }; |