[U-Boot] [PATCH 07/12] aspeed/ast2500: Helper function to get access to SCU

Simon Glass sjg at chromium.org
Sat Jan 14 18:14:10 CET 2017


Hi Maxim,

On 4 January 2017 at 12:46, Maxim Sloyko <maxims at google.com> wrote:
> Helper function to get access to SCU (System Control Unit) through Clock
> driver. This is similar to rockchip_get_cru function, which was used as
> an example.
>
> It will be used by other drivers to get access to SCU.
>
> Signed-off-by: Maxim Sloyko <maxims at google.com>
> ---
>
>  arch/arm/mach-aspeed/Kconfig               |  2 ++
>  arch/arm/mach-aspeed/Makefile              |  1 +
>  arch/arm/mach-aspeed/ast2500/Kconfig       |  6 ++++++
>  arch/arm/mach-aspeed/ast2500/Makefile      |  1 +
>  arch/arm/mach-aspeed/ast2500/clk_ast2500.c | 31 ++++++++++++++++++++++++++++++
>  5 files changed, 41 insertions(+)
>  create mode 100644 arch/arm/mach-aspeed/ast2500/Kconfig
>  create mode 100644 arch/arm/mach-aspeed/ast2500/Makefile
>  create mode 100644 arch/arm/mach-aspeed/ast2500/clk_ast2500.c

The code seems fine.

It seems odd that you have Kconfig changes here also. Why is that?

Regards,
Simon


More information about the U-Boot mailing list