imx8ulp_caam.c 377 B

123456789101112131415161718
  1. /*
  2. * Copyright 2021-2024 NXP.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #include <lib/mmio.h>
  7. #include <imx8ulp_caam.h>
  8. void imx8ulp_caam_init(void)
  9. {
  10. /* config CAAM JRaMID set MID to Cortex A */
  11. mmio_write_32(CAAM_JR0MID, CAAM_NS_MID);
  12. mmio_write_32(CAAM_JR1MID, CAAM_NS_MID);
  13. mmio_write_32(CAAM_JR2MID, CAAM_NS_MID);
  14. mmio_write_32(CAAM_JR3MID, CAAM_NS_MID);
  15. }