diff options
author | Bryan Brattlof <bb@ti.com> | 2023-11-07 17:30:41 -0600 |
---|---|---|
committer | Praneeth Bajjuri <praneeth@ti.com> | 2023-11-07 17:55:03 -0600 |
commit | e32f441ec87a320ed1f9b791602bf77e1295bae0 (patch) | |
tree | 3b8a50d1f60b284ed4f7179a7e6c9e44cde295c7 /board | |
parent | dee6f6f1c2c12d069dcfc4b0f480092db199316a (diff) |
configs: am62px: setup the 32k RTC crystal
The am62px 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/am62px/evm.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/board/ti/am62px/evm.c b/board/ti/am62px/evm.c index 44793cbed6..60b5606dea 100644 --- a/board/ti/am62px/evm.c +++ b/board/ti/am62px/evm.c @@ -14,8 +14,13 @@ #include <fdt_support.h> #include <spl.h> +#include "../common/rtc.c" + int board_init(void) { + if (IS_ENABLED(CONFIG_BOARD_HAS_32K_RTC_CRYSTAL)) + board_rtc_init(); + return 0; } |