configs: am62ax: setup the 32k RTC crystal
The am62ax 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>
This commit is contained in:
parent
d36ad81d25
commit
5b41c7c481
|
|
@ -15,12 +15,17 @@
|
|||
#include <fdt_support.h>
|
||||
#include <spl.h>
|
||||
|
||||
#include "../common/rtc.c"
|
||||
|
||||
#define CTRLMMR_USB0_PHY_CTRL 0x43004008
|
||||
#define CTRLMMR_USB1_PHY_CTRL 0x43004018
|
||||
#define CORE_VOLTAGE 0x80000000
|
||||
|
||||
int board_init(void)
|
||||
{
|
||||
if (IS_ENABLED(CONFIG_BOARD_HAS_32K_RTC_CRYSTAL))
|
||||
board_rtc_init();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ CONFIG_ARCH_K3=y
|
|||
CONFIG_TI_SECURE_DEVICE=y
|
||||
CONFIG_SPL_GPIO=y
|
||||
CONFIG_SYS_MALLOC_F_LEN=0x8000
|
||||
CONFIG_BOARD_HAS_32K_RTC_CRYSTAL=y
|
||||
CONFIG_SPL_LIBCOMMON_SUPPORT=y
|
||||
CONFIG_SPL_LIBGENERIC_SUPPORT=y
|
||||
CONFIG_NR_DRAM_BANKS=2
|
||||
|
|
|
|||
Loading…
Reference in New Issue