mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
board: ti: am62px: Enable 32k crystal on the board
Enable 32k crystal on the board. If external 32k source is not used, 32k rc-osc comes into play, which is accurate to +-20%. Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
This commit is contained in:
committed by
Tom Rini
parent
b259574e47
commit
de6b11e27b
@@ -16,6 +16,7 @@
|
||||
#include <spl.h>
|
||||
#include <asm/arch/k3-ddr.h>
|
||||
#include "../common/fdt_ops.h"
|
||||
#include "../common/k3_32k_lfosc.h"
|
||||
|
||||
struct efi_fw_image fw_images[] = {
|
||||
{
|
||||
@@ -45,6 +46,9 @@ struct efi_capsule_update_info update_info = {
|
||||
#if IS_ENABLED(CONFIG_SPL_BUILD)
|
||||
void spl_board_init(void)
|
||||
{
|
||||
if (IS_ENABLED(CONFIG_TI_K3_BOARD_LFOSC))
|
||||
enable_32k_lfosc();
|
||||
|
||||
enable_caches();
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -122,3 +122,5 @@ CONFIG_SPL_TIMER=y
|
||||
CONFIG_OMAP_TIMER=y
|
||||
CONFIG_LIB_RATIONAL=y
|
||||
CONFIG_SPL_LIB_RATIONAL=y
|
||||
CONFIG_SPL_BOARD_INIT=y
|
||||
CONFIG_TI_K3_BOARD_LFOSC=y
|
||||
|
||||
Reference in New Issue
Block a user