Merge branch 'master' of git://git.denx.de/u-boot-samsung
[platform/kernel/u-boot.git] / arch / arm / mach-omap2 / omap3 / hw_data.c
1 /*
2  * HW data initialization for OMAP3.
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 = &omap3_ctrl;
19 }