fsl_mc_sys.h 499 B

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