fsl_mc_sys.h 499 B

12345678910111213141516171819202122232425
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Freescale Layerscape Management Complex (MC) Environment-specific code
  4. *
  5. * Copyright (C) 2014 Freescale Semiconductor, Inc.
  6. */
  7. #ifndef _FSL_MC_SYS_H
  8. #define _FSL_MC_SYS_H
  9. #include <asm/io.h>
  10. struct mc_command;
  11. /*
  12. * struct mc_portal_wrapper - MC command portal wrapper object
  13. */
  14. struct fsl_mc_io {
  15. struct mc_command __iomem *mmio_regs;
  16. };
  17. int mc_send_command(struct fsl_mc_io *mc_io,
  18. struct mc_command *cmd);
  19. #endif /* _FSL_MC_SYS_H */