diff options
author | Tom Rini <trini@konsulko.com> | 2023-05-03 09:23:21 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-05-03 09:23:21 -0400 |
commit | 1807c0c70a73c7697f32c04cad20ea9cd11b248e (patch) | |
tree | 258d2fa7d274ed5048640ceef121841d49494784 /arch/arm/mach-k3/am62a7_init.c | |
parent | 021e303492ccfdf58425bedb13c1621367cc5cc7 (diff) | |
parent | 8144210e750d42941eb8028fdfc4e027ef043d8f (diff) |
Merge branch '2023-05-02-assorted-platform-updates-and-additions'
- Updates for starqltechn and other qualcomm platforms, hi3798mv200,
Broadcom Northstar, and mediatek platforms
- Drop omap5_uevm, and assorted TI platform updates
- Add MAX14526
Diffstat (limited to 'arch/arm/mach-k3/am62a7_init.c')
-rw-r--r-- | arch/arm/mach-k3/am62a7_init.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/mach-k3/am62a7_init.c b/arch/arm/mach-k3/am62a7_init.c index a89a9b4ae3a..1f51b040896 100644 --- a/arch/arm/mach-k3/am62a7_init.c +++ b/arch/arm/mach-k3/am62a7_init.c @@ -65,6 +65,20 @@ static void ctrl_mmr_unlock(void) mmr_unlock(PADCFG_MMR1_BASE, 1); } +#if (IS_ENABLED(CONFIG_CPU_V7R)) +static void setup_qos(void) +{ + u32 i; + + for (i = 0; i < am62a_qos_count; i++) + writel(am62a_qos_data[i].val, (uintptr_t)am62a_qos_data[i].reg); +} +#else +static void setup_qos(void) +{ +} +#endif + void board_init_f(ulong dummy) { struct udevice *dev; @@ -158,6 +172,8 @@ void board_init_f(ulong dummy) panic("DRAM init failed: %d\n", ret); #endif + setup_qos(); + printf("am62a_init: %s done\n", __func__); } |