Commit a9a1b68b authored by David Shah's avatar David Shah
Browse files

board: omap5_pyra: Fix warm reboots


Signed-off-by: default avatarDavid Shah <dave@ds0.me>
parent 6cfcca4b
......@@ -145,6 +145,8 @@ int board_spl_board_init(void)
#endif
}
#define CM_CLKSEL_WKUPAON 0x4ae06108
/**
* @brief board_init
*
......@@ -156,6 +158,9 @@ int board_init(void)
gd->bd->bi_arch_number = MACH_TYPE_OMAP5_SEVM;
gd->bd->bi_boot_params = (0x80000000 + 0x100); /* boot param addr */
/* Required for reboot to be reliable */
setbits_le32(CM_CLKSEL_WKUPAON, 0x1);
#if defined(CONFIG_TCA642X)
tca642x_set_inital_state(CONFIG_SYS_I2C_TCA642X_ADDR, tca642x_init);
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment