hw_data.c 379 B

123456789101112131415161718
  1. // SPDX-License-Identifier: GPL-2.0+
  2. /*
  3. * HW data initialization for OMAP3.
  4. *
  5. * (C) Copyright 2017 Linaro Ltd.
  6. * Sam Protsenko <semen.protsenko@linaro.org>
  7. */
  8. #include <asm/arch/omap.h>
  9. #include <asm/omap_common.h>
  10. struct omap_sys_ctrl_regs const **ctrl =
  11. (struct omap_sys_ctrl_regs const **)OMAP_SRAM_SCRATCH_SYS_CTRL;
  12. void hw_data_init(void)
  13. {
  14. *ctrl = &omap3_ctrl;
  15. }