diff options
author | Toshifumi NISHINAGA <tnishinaga.dev@gmail.com> | 2016-07-08 01:02:24 +0900 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-07-14 18:22:41 -0400 |
commit | ba0a3c16e0c6697f0254644cc7a9849b77000eb8 (patch) | |
tree | 476ef70d03a07553b2371a0e77e5fddff090e6e9 /arch/arm/mach-stm32/stm32f7/soc.c | |
parent | a3e2efcb42be378659a5443346ca5c77317c30b9 (diff) |
stm32: clk: Add 200MHz clock configuration for stm32f746 discovery board
This patch adds 200MHz clock configuration for stm32f746 discovery board.
This patch is based on STM32F4 and emcraft's[1].
[1]: https://github.com/EmcraftSystems/u-boot
Signed-off-by: Toshifumi NISHINAGA <tnishinaga.dev@gmail.com>
Diffstat (limited to 'arch/arm/mach-stm32/stm32f7/soc.c')
-rw-r--r-- | arch/arm/mach-stm32/stm32f7/soc.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/arch/arm/mach-stm32/stm32f7/soc.c b/arch/arm/mach-stm32/stm32f7/soc.c new file mode 100644 index 00000000000..6a1e0194339 --- /dev/null +++ b/arch/arm/mach-stm32/stm32f7/soc.c @@ -0,0 +1,27 @@ +/* + * (C) Copyright 2015 + * Kamil Lulko, <kamil.lulko@gmail.com> + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#include <common.h> +#include <asm/io.h> +#include <asm/armv7m.h> +#include <asm/arch/stm32.h> + +u32 get_cpu_rev(void) +{ + return 0; +} + +int arch_cpu_init(void) +{ + configure_clocks(); + + return 0; +} + +void s_init(void) +{ +} |