]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: spear: enable SSP1, 2 and 3 clocks when SPI controller driver is built
authorQuentin Schulz <quentin.schulz@bootlin.com>
Fri, 31 Aug 2018 14:28:30 +0000 (16:28 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 26 Sep 2018 01:49:18 +0000 (21:49 -0400)
commitac47fbee6ddd3cc50869d6e46f24f85ff59a5b0a
tree837320b132e986d8a49c3b71152eea8524ff04a1
parent8a4791fa08fb456f9cf8ef95083ddd4e0d07b48e
arm: spear: enable SSP1, 2 and 3 clocks when SPI controller driver is built

SPI controllers SSP1, 2 and 3 require to enable their respective clocks.
Let's enable them only when the SPI controller driver is built.

Signed-off-by: Quentin Schulz <quentin.schulz@bootlin.com>
arch/arm/cpu/arm926ejs/spear/cpu.c
arch/arm/include/asm/arch-spear/spr_misc.h