summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson@mellanox.com>2019-03-19 14:13:42 -0400
committerJoel Stanley <joel@jms.id.au>2019-04-04 15:32:32 +1030
commit81cb655c5b0613c7e49ff0896e8653285487a094 (patch)
treeda67172091ef0165e05096d3b11e176b74404958 /arch/arm/include/asm
parentfc8646ea8a4f24ff8267fa2eee0ee33327f1f36c (diff)
downloadtalos-obmc-uboot-81cb655c5b0613c7e49ff0896e8653285487a094.tar.gz
talos-obmc-uboot-81cb655c5b0613c7e49ff0896e8653285487a094.zip
aspeed/ast-scu.c: add ast_get_m_pll_clk() for AST_SOC_G5
This code change adds the AST_SOC_G5 version of ast_get_m_pll_clk(), which is relevant to AST1520, AST2500, and AST3200 devices. This change properly enables the AST_SOC_G5 logic in print_cpuinfo(), which can be turned on by defining CONFIG_DISPLAY_CPUINFO. Signed-off-by: David Thompson <dthompson@mellanox.com> Reviewed-by: Shravan Ramani <sramani@mellanox.com> Reviewed-by: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'arch/arm/include/asm')
-rw-r--r--arch/arm/include/asm/arch-aspeed/ast_scu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-aspeed/ast_scu.h b/arch/arm/include/asm/arch-aspeed/ast_scu.h
index d248416432..dcbc6730d4 100644
--- a/arch/arm/include/asm/arch-aspeed/ast_scu.h
+++ b/arch/arm/include/asm/arch-aspeed/ast_scu.h
@@ -37,6 +37,7 @@ extern void ast_scu_get_who_init_dram(void);
extern u32 ast_get_clk_source(void);
extern u32 ast_get_h_pll_clk(void);
+extern u32 ast_get_m_pll_clk(void);
extern u32 ast_get_ahbclk(void);
extern u32 ast_scu_get_vga_memsize(void);
OpenPOWER on IntegriCloud