aboutsummaryrefslogtreecommitdiff
path: root/board/freescale/p1022ds
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-12-28 10:44:58 -0700
committerTom Rini <trini@konsulko.com>2020-01-17 13:27:29 -0500
commitd96c26040e901a1ab0264a105e61ee9dadbca701 (patch)
treef0cc6b3d11ecaa17e4fb644b7cce3cc23e57142a /board/freescale/p1022ds
parent6d1fdb1efb3864e53ccd9e7a4c30eebca03cad1b (diff)
downloadu-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 'board/freescale/p1022ds')
-rw-r--r--board/freescale/p1022ds/diu.c1
-rw-r--r--board/freescale/p1022ds/spl.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/board/freescale/p1022ds/diu.c b/board/freescale/p1022ds/diu.c
index c6514cf..7f72510 100644
--- a/board/freescale/p1022ds/diu.c
+++ b/board/freescale/p1022ds/diu.c
@@ -7,6 +7,7 @@
*/
#include <common.h>
+#include <clock_legacy.h>
#include <command.h>
#include <linux/ctype.h>
#include <asm/io.h>
diff --git a/board/freescale/p1022ds/spl.c b/board/freescale/p1022ds/spl.c
index 81c5bf0..39e1bee 100644
--- a/board/freescale/p1022ds/spl.c
+++ b/board/freescale/p1022ds/spl.c
@@ -4,6 +4,7 @@
*/
#include <common.h>
+#include <clock_legacy.h>
#include <console.h>
#include <env.h>
#include <env_internal.h>