summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJayesh Choudhary <j-choudhary@ti.com>2024-02-15 12:41:11 +0530
committerFrancesco Dolcini <francesco.dolcini@toradex.com>2024-03-21 14:26:33 +0000
commit4245ab5a06540207e7311371822be18d519bb616 (patch)
treeeb316be63e0893d7f2004aaaf6742e5740c24d99
parent80e2f753c44c637047defba894df66effbf0172e (diff)
board: ti: am62*: Fix the rtc file inclusion
Include the header file instead of c file. Fixes: d36ad81d25a9 ("board: ti: common: add rtc setup to common folder") Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
-rw-r--r--board/ti/am62ax/evm.c2
-rw-r--r--board/ti/am62px/evm.c2
-rw-r--r--board/ti/am62x/evm.c3
3 files changed, 3 insertions, 4 deletions
diff --git a/board/ti/am62ax/evm.c b/board/ti/am62ax/evm.c
index de5a193c63..8b3fced0a2 100644
--- a/board/ti/am62ax/evm.c
+++ b/board/ti/am62ax/evm.c
@@ -15,7 +15,7 @@
#include <fdt_support.h>
#include <spl.h>
-#include "../common/rtc.c"
+#include "../common/rtc.h"
#include "../common/k3-ddr-init.h"
#define CTRLMMR_USB0_PHY_CTRL 0x43004008
diff --git a/board/ti/am62px/evm.c b/board/ti/am62px/evm.c
index 341bc48ba8..3cbada5405 100644
--- a/board/ti/am62px/evm.c
+++ b/board/ti/am62px/evm.c
@@ -16,7 +16,7 @@
#include <video.h>
#include <splash.h>
-#include "../common/rtc.c"
+#include "../common/rtc.h"
#include "../common/k3-ddr-init.h"
#if CONFIG_IS_ENABLED(SPLASH_SCREEN)
diff --git a/board/ti/am62x/evm.c b/board/ti/am62x/evm.c
index fb74f5967f..6a5a7804b1 100644
--- a/board/ti/am62x/evm.c
+++ b/board/ti/am62x/evm.c
@@ -26,8 +26,7 @@
#include <linux/sizes.h>
#include "../common/board_detect.h"
-
-#include "../common/rtc.c"
+#include "../common/rtc.h"
#include "../common/k3-ddr-init.h"