blob: 1d21fcc597d8c458f3e97787b0df6cc6caf4c81e [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Semen Protsenkoa8cb0222017-06-02 18:00:00 +03002/*
3 * HW data initialization for OMAP3.
4 *
5 * (C) Copyright 2017 Linaro Ltd.
6 * Sam Protsenko <semen.protsenko@linaro.org>
Semen Protsenkoa8cb0222017-06-02 18:00:00 +03007 */
8
9#include <asm/arch/omap.h>
10#include <asm/omap_common.h>
11
12struct omap_sys_ctrl_regs const **ctrl =
13 (struct omap_sys_ctrl_regs const **)OMAP_SRAM_SCRATCH_SYS_CTRL;
14
15void hw_data_init(void)
16{
17 *ctrl = &omap3_ctrl;
18}