Semen Protsenko | a8cb022 | 2017-06-02 18:00:00 +0300 | [diff] [blame] | 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 | } |