From af1a266670d040d2f4083ff309d732d648afba2a Mon Sep 17 00:00:00 2001 From: Angelos Mouzakitis Date: Tue, 10 Oct 2023 14:33:42 +0000 Subject: Add submodule dependency files Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec --- roms/u-boot/arch/arm/mach-omap2/omap3/hw_data.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 roms/u-boot/arch/arm/mach-omap2/omap3/hw_data.c (limited to 'roms/u-boot/arch/arm/mach-omap2/omap3/hw_data.c') 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 + */ + +#include +#include + +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; +} -- cgit 1.2.3-korg