diff options
Diffstat (limited to 'roms/u-boot/arch/arm/mach-omap2/omap3/hw_data.c')
-rw-r--r-- | roms/u-boot/arch/arm/mach-omap2/omap3/hw_data.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/roms/u-boot/arch/arm/mach-omap2/omap3/hw_data.c b/roms/u-boot/arch/arm/mach-omap2/omap3/hw_data.c new file mode 100644 index 000000000..1d21fcc59 --- /dev/null +++ b/roms/u-boot/arch/arm/mach-omap2/omap3/hw_data.c @@ -0,0 +1,18 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * HW data initialization for OMAP3. + * + * (C) Copyright 2017 Linaro Ltd. + * Sam Protsenko <semen.protsenko@linaro.org> + */ + +#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; +} |