diff options
author | Bryan Brattlof <bb@ti.com> | 2023-11-07 17:30:39 -0600 |
---|---|---|
committer | Praneeth Bajjuri <praneeth@ti.com> | 2023-11-07 17:55:03 -0600 |
commit | 851aa09d1e18ce79b7527b059f3f4003a661c341 (patch) | |
tree | 57e318a5b62474a928ec969bc30627b96bfe5785 /board | |
parent | 5b41c7c481d1625cd54b593c5dd205ca37f45714 (diff) |
configs: am62x: move 32K RTC crystal to common
The am62x utilizes the same 32k crystal for a more accurate RTC clock
source. Enable the configuration to set this up for Linux.
Signed-off-by: Bryan Brattlof <bb@ti.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/ti/am62x/evm.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/board/ti/am62x/evm.c b/board/ti/am62x/evm.c index 82dd767d65..4c95622eda 100644 --- a/board/ti/am62x/evm.c +++ b/board/ti/am62x/evm.c @@ -27,6 +27,8 @@ #include "../common/board_detect.h" +#include "../common/rtc.c" + DECLARE_GLOBAL_DATA_PTR; #define AM62X_MAX_DAUGHTER_CARDS 8 @@ -75,6 +77,9 @@ int splash_screen_prepare(void) int board_init(void) { + if (IS_ENABLED(CONFIG_BOARD_HAS_32K_RTC_CRYSTAL)) + board_rtc_init(); + return 0; } |