diff options
author | Simon Glass <sjg@chromium.org> | 2019-12-28 10:44:58 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-01-17 13:27:29 -0500 |
commit | d96c26040e901a1ab0264a105e61ee9dadbca701 (patch) | |
tree | f0cc6b3d11ecaa17e4fb644b7cce3cc23e57142a /drivers/serial | |
parent | 6d1fdb1efb3864e53ccd9e7a4c30eebca03cad1b (diff) | |
download | u-boot-d96c26040e901a1ab0264a105e61ee9dadbca701.zip u-boot-d96c26040e901a1ab0264a105e61ee9dadbca701.tar.gz u-boot-d96c26040e901a1ab0264a105e61ee9dadbca701.tar.bz2 |
common: Move clock functions into a new file
These three clock functions don't use driver model and should be migrated.
In the meantime, create a new file to hold them.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/serial')
-rw-r--r-- | drivers/serial/lpc32xx_hsuart.c | 1 | ||||
-rw-r--r-- | drivers/serial/ns16550.c | 1 | ||||
-rw-r--r-- | drivers/serial/serial_ar933x.c | 1 | ||||
-rw-r--r-- | drivers/serial/serial_ns16550.c | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/drivers/serial/lpc32xx_hsuart.c b/drivers/serial/lpc32xx_hsuart.c index 8b0fd25..7d31c6d 100644 --- a/drivers/serial/lpc32xx_hsuart.c +++ b/drivers/serial/lpc32xx_hsuart.c @@ -4,6 +4,7 @@ */ #include <common.h> +#include <clock_legacy.h> #include <dm.h> #include <serial.h> #include <dm/platform_data/lpc32xx_hsuart.h> diff --git a/drivers/serial/ns16550.c b/drivers/serial/ns16550.c index 754b6e9..a92d2b1 100644 --- a/drivers/serial/ns16550.c +++ b/drivers/serial/ns16550.c @@ -4,6 +4,7 @@ * modified to use CONFIG_SYS_ISA_MEM and new defines */ +#include <clock_legacy.h> #include <common.h> #include <clk.h> #include <dm.h> diff --git a/drivers/serial/serial_ar933x.c b/drivers/serial/serial_ar933x.c index 5249c55..897ea5d 100644 --- a/drivers/serial/serial_ar933x.c +++ b/drivers/serial/serial_ar933x.c @@ -4,6 +4,7 @@ */ #include <common.h> +#include <clock_legacy.h> #include <dm.h> #include <div64.h> #include <errno.h> diff --git a/drivers/serial/serial_ns16550.c b/drivers/serial/serial_ns16550.c index a1069f9..ef394b7 100644 --- a/drivers/serial/serial_ns16550.c +++ b/drivers/serial/serial_ns16550.c @@ -5,6 +5,7 @@ */ #include <common.h> +#include <clock_legacy.h> #include <ns16550.h> #include <serial.h> #include <linux/compiler.h> |