aboutsummaryrefslogtreecommitdiff
path: root/drivers/serial/serial_stm32.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-01-13 09:44:47 -0500
committerTom Rini <trini@konsulko.com>2021-01-13 09:44:47 -0500
commit13f9166c8a233f150ffea054086dab671d3f5028 (patch)
tree5f5438c1a1fca7fc7fcbb163a35c6e8e873df766 /drivers/serial/serial_stm32.c
parent9b79c085e128421ca2acb44c954e5612ac1323ac (diff)
parent7ccaa31380a4abb2b23718008a54fe2917db8edf (diff)
downloadu-boot-WIP/13Jan2021.zip
u-boot-WIP/13Jan2021.tar.gz
u-boot-WIP/13Jan2021.tar.bz2
Merge tag 'u-boot-stm32-20210113' of https://gitlab.denx.de/u-boot/custodians/u-boot-stmWIP/13Jan2021
- Enable logging features for stm32mp15 boards - Update MAINTAINERS emails for STI and STM32 - Activate OF_LIVE for ST stm32mp15 boards - Switch to MCO2 for PHY 50 MHz clock for DHCOM boards - Correction in stm32prog command on uart: always flush DFU on start command - Update USB-C power detection algorithm on DK boards
Diffstat (limited to 'drivers/serial/serial_stm32.c')
-rw-r--r--drivers/serial/serial_stm32.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/serial/serial_stm32.c b/drivers/serial/serial_stm32.c
index 818c34c..f6cb708 100644
--- a/drivers/serial/serial_stm32.c
+++ b/drivers/serial/serial_stm32.c
@@ -4,6 +4,8 @@
* Author(s): Vikas Manocha, <vikas.manocha@st.com> for STMicroelectronics.
*/
+#define LOG_CATEGORY UCLASS_SERIAL
+
#include <common.h>
#include <clk.h>
#include <dm.h>
@@ -13,6 +15,7 @@
#include <watchdog.h>
#include <asm/io.h>
#include <asm/arch/stm32.h>
+#include <dm/device_compat.h>
#include <linux/bitops.h>
#include <linux/delay.h>
#include "serial_stm32.h"