Merge tag 'efi-2019-04-rc2' of https://github.com/xypron2/u-boot
[oweals/u-boot.git] / arch / arm / mach-omap2 / omap3 / hw_data.c
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  * HW data initialization for OMAP3.
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 = &omap3_ctrl;
18 }