hw_data.c 382 B

12345678910111213141516171819
  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. #include <asm/arch/omap.h>
  10. #include <asm/omap_common.h>
  11. struct omap_sys_ctrl_regs const **ctrl =
  12. (struct omap_sys_ctrl_regs const **)OMAP_SRAM_SCRATCH_SYS_CTRL;
  13. void hw_data_init(void)
  14. {
  15. *ctrl = &omap3_ctrl;
  16. }