summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorPatrice Chotard <[email protected]>2017-06-08 09:26:54 +0200
committerTom Rini <[email protected]>2017-06-12 08:38:13 -0400
commit1113ad49dce7d56429c6ad37738d06e7aef21fac (patch)
tree06f8a43ff91eae396471df907bdfe8bc58739663 /drivers
parent22929bec528f42c1a7fbcd76adeea8daed9ba55c (diff)
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 <[email protected]> Reviewed-by: Christophe KERELLO <[email protected]> Reviewed-by: Patrick DELAUNAY <[email protected]> Acked-by: Vikas MANOCHA <[email protected]>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/serial/serial_stm32x7.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/serial/serial_stm32x7.c b/drivers/serial/serial_stm32x7.c
index 483e4ba67d9..7693159af21 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"},
{}
};