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