]> git.dujemihanovic.xyz Git - u-boot.git/commit
powerpc: 8xx: Set SDMA configuration register correcly
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Fri, 12 Apr 2024 11:19:47 +0000 (13:19 +0200)
committerChristophe Leroy <christophe.leroy@csgroup.eu>
Thu, 18 Apr 2024 13:47:46 +0000 (15:47 +0200)
commitdcf7af5fd9af91674ace085663f8b69943a3c61d
tree8af019f5379e717bf77191eb9943e165f1ab6e04
parent57eb454392efe28156124efc825f6fcf6445c13c
powerpc: 8xx: Set SDMA configuration register correcly

SDMA configuration register needs to be set up only once and doesn't
belong to drivers. Also, the value to be used is different on mpc885.

So do the init in cpu_init_f() with 0x40 for mpc885 and 0x1 for others.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
arch/powerpc/cpu/mpc8xx/cpu_init.c
drivers/spi/mpc8xx_spi.c