]> git.dujemihanovic.xyz Git - u-boot.git/commit
aspeed: Make SCU lock/unlock functions part of SCU API
authormaxims@google.com <maxims@google.com>
Mon, 17 Apr 2017 19:00:23 +0000 (12:00 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 8 May 2017 15:57:31 +0000 (11:57 -0400)
commit413353b30b5d23c409b6a2fd70aa1cc28451a451
treeaa519ca9b5e97b5a6e95c4902959f3b68c0cc0ee
parent1eb0a464b7434175800c98a175909588d38c1dae
aspeed: Make SCU lock/unlock functions part of SCU API

Make functions for locking and unlocking SCU part of SCU API.
Many drivers need to modify settings in SCU and thus need to unlock it
first. This change makes it possible.

Signed-off-by: Maxim Sloyko <maxims@google.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/include/asm/arch-aspeed/scu_ast2500.h
arch/arm/mach-aspeed/ast2500/clk_ast2500.c
drivers/clk/aspeed/clk_ast2500.c