diff options
author | Tom Rini <trini@konsulko.com> | 2024-04-18 10:08:57 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-04-18 10:08:57 -0600 |
commit | cdf0195e90b66f25ed44fa5ed5634ec064e8dcb9 (patch) | |
tree | 0754178ede128c2313a22d5012841e091becdbef /arch/powerpc/cpu/mpc8xx/cpu_init.c | |
parent | cdd20e3f66fe910da0545d3615decf511519b4a6 (diff) | |
parent | 741e30e8c2b837dc92ee2eedec5478afdd83a316 (diff) |
Merge branch 'for-2024.07' of https://source.denx.de/u-boot/custodians/u-boot-mpc8xx
This pull request adds support for temperature sensors et FPGA loading
on boards from CS GROUP France.
CI: https://source.denx.de/u-boot/custodians/u-boot-mpc8xx/-/pipelines/20416
Diffstat (limited to 'arch/powerpc/cpu/mpc8xx/cpu_init.c')
-rw-r--r-- | arch/powerpc/cpu/mpc8xx/cpu_init.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/powerpc/cpu/mpc8xx/cpu_init.c b/arch/powerpc/cpu/mpc8xx/cpu_init.c index aac4203a6e4..d1abe8f00bf 100644 --- a/arch/powerpc/cpu/mpc8xx/cpu_init.c +++ b/arch/powerpc/cpu/mpc8xx/cpu_init.c @@ -92,6 +92,12 @@ void cpu_init_f(immap_t __iomem *immr) CONFIG_SYS_PLPRCR); #endif + /* Set SDMA configuration register */ + if (IS_ENABLED(CONFIG_MPC885)) + out_be32(&immr->im_siu_conf.sc_sdcr, 0x0040); + else + out_be32(&immr->im_siu_conf.sc_sdcr, 0x0001); + /* * Memory Controller: */ |