]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: spear: enable GPIO3 and 4 clocks when the GPIO controller driver is built
authorQuentin Schulz <quentin.schulz@bootlin.com>
Fri, 31 Aug 2018 14:15:53 +0000 (16:15 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 11 Sep 2018 01:19:32 +0000 (21:19 -0400)
commitd2d908d258b8ffeda3e29bdc4164014730592ae6
treeb7e4b327dc5bded5d890fd5eae5fa532113c6603
parent8961c8ad252b8af887439e4e5c6c1bc0c912f2de
arm: spear: enable GPIO3 and 4 clocks when the GPIO controller driver is built

There are multiple GPIOs that can be used with the same driver depending
on the CONFIG_GPIO_BASE defined in the controller driver.

GPIO3 and 4 require a clock to be enabled so let's enable them when the
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