]> git.sur5r.net Git - u-boot/blob - arch/arm/mach-omap2/am33xx/hw_data.c
63e55cff77db50e8d523f0a02a66f1ee9130895c
[u-boot] / arch / arm / mach-omap2 / am33xx / hw_data.c
1 /*
2  * HW data initialization for AM33xx.
3  *
4  * (C) Copyright 2017 Linaro Ltd.
5  * Sam Protsenko <semen.protsenko@linaro.org>
6  *
7  * SPDX-License-Identifier:     GPL-2.0+
8  */
9
10 #include <asm/arch/omap.h>
11 #include <asm/omap_common.h>
12
13 struct omap_sys_ctrl_regs const **ctrl =
14         (struct omap_sys_ctrl_regs const **)OMAP_SRAM_SCRATCH_SYS_CTRL;
15
16 void hw_data_init(void)
17 {
18         *ctrl = &am33xx_ctrl;
19 }