diff options
| author | Tom Rini <[email protected]> | 2024-01-22 09:47:52 -0500 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-01-22 09:47:52 -0500 |
| commit | d64e05fc5b82689864fe9c7abeaf240ca0719636 (patch) | |
| tree | fb2f575ced36e64cec39f31b9c6a47bb542157b0 /board | |
| parent | 79a9697894d75c01cf06ce76dff9821caf69b12b (diff) | |
| parent | a80e0e7711a2b2890a583d88dcd9af978ddada32 (diff) | |
Merge tag 'u-boot-imx-master-20240122' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx
- Allow i.MX8M Plus DHCOM to operate in overdrive mode.
- Allow i.MX8M Plus eDM SBC to operate in overdrive mode.
- Enable the 'kaslrseed' command on DH i.MX8M Plus DHCOM.
- Select LTO by default on i.MX8M.
- Convert pico-dwarf/hobbit-imx6ul to CONFIG_DM_SERIAL.
- Fix 'reset' command on wandboard.
Diffstat (limited to 'board')
| -rw-r--r-- | board/data_modul/imx8mp_edm_sbc/spl.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/board/data_modul/imx8mp_edm_sbc/spl.c b/board/data_modul/imx8mp_edm_sbc/spl.c index a3600c8568a..cc2d253e391 100644 --- a/board/data_modul/imx8mp_edm_sbc/spl.c +++ b/board/data_modul/imx8mp_edm_sbc/spl.c @@ -80,6 +80,19 @@ int data_modul_imx_edm_sbc_board_power_init(void) return 0; } +void spl_board_init(void) +{ + /* + * Set GIC clock to 500 MHz for OD VDD_SOC. Kernel driver does not + * allow to change it. Should set the clock after PMIC setting done. + * Default is 400 MHz (system_pll1_800m with div = 2) set by ROM for + * ND VDD_SOC. + */ + clock_enable(CCGR_GIC, 0); + clock_set_target_val(GIC_CLK_ROOT, CLK_ROOT_ON | CLK_ROOT_SOURCE_SEL(5)); + clock_enable(CCGR_GIC, 1); +} + int spl_board_boot_device(enum boot_device boot_dev_spl) { if (boot_dev_spl == SPI_NOR_BOOT) /* SPI NOR */ |
