summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/omap3/hw_data.c
blob: 53b220aec3ca1d41150b9b9b22253d92b2be4293 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * HW data initialization for OMAP3.
 *
 * (C) Copyright 2017 Linaro Ltd.
 * Sam Protsenko <semen.protsenko@linaro.org>
 *
 * SPDX-License-Identifier:	GPL-2.0+
 */

#include <asm/arch/omap.h>
#include <asm/omap_common.h>

struct omap_sys_ctrl_regs const **ctrl =
	(struct omap_sys_ctrl_regs const **)OMAP_SRAM_SCRATCH_SYS_CTRL;

void hw_data_init(void)
{
	*ctrl = &omap3_ctrl;
}