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>
This commit is contained in:
parent
5b41c7c481
commit
851aa09d1e
|
|
@ -27,6 +27,8 @@
|
||||||
|
|
||||||
#include "../common/board_detect.h"
|
#include "../common/board_detect.h"
|
||||||
|
|
||||||
|
#include "../common/rtc.c"
|
||||||
|
|
||||||
DECLARE_GLOBAL_DATA_PTR;
|
DECLARE_GLOBAL_DATA_PTR;
|
||||||
|
|
||||||
#define AM62X_MAX_DAUGHTER_CARDS 8
|
#define AM62X_MAX_DAUGHTER_CARDS 8
|
||||||
|
|
@ -75,6 +77,9 @@ int splash_screen_prepare(void)
|
||||||
|
|
||||||
int board_init(void)
|
int board_init(void)
|
||||||
{
|
{
|
||||||
|
if (IS_ENABLED(CONFIG_BOARD_HAS_32K_RTC_CRYSTAL))
|
||||||
|
board_rtc_init();
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@ CONFIG_TI_SECURE_DEVICE=y
|
||||||
CONFIG_SYS_MALLOC_F_LEN=0x8000
|
CONFIG_SYS_MALLOC_F_LEN=0x8000
|
||||||
CONFIG_TI_I2C_BOARD_DETECT=y
|
CONFIG_TI_I2C_BOARD_DETECT=y
|
||||||
CONFIG_SPL_GPIO=y
|
CONFIG_SPL_GPIO=y
|
||||||
|
CONFIG_BOARD_HAS_32K_RTC_CRYSTAL=y
|
||||||
CONFIG_SPL_LIBCOMMON_SUPPORT=y
|
CONFIG_SPL_LIBCOMMON_SUPPORT=y
|
||||||
CONFIG_SPL_LIBGENERIC_SUPPORT=y
|
CONFIG_SPL_LIBGENERIC_SUPPORT=y
|
||||||
CONFIG_NR_DRAM_BANKS=2
|
CONFIG_NR_DRAM_BANKS=2
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue