Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Semen Protsenko | a8cb022 | 2017-06-02 18:00:00 +0300 | [diff] [blame] | 2 | /* |
| 3 | * HW data initialization for AM33xx. |
| 4 | * |
| 5 | * (C) Copyright 2017 Linaro Ltd. |
| 6 | * Sam Protsenko <semen.protsenko@linaro.org> |
Semen Protsenko | a8cb022 | 2017-06-02 18:00:00 +0300 | [diff] [blame] | 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 | } |