bcm_kona_smc.h 972 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * Copyright (C) 2013 Broadcom Corporation
  3. *
  4. * This program is free software; you can redistribute it and/or
  5. * modify it under the terms of the GNU General Public License as
  6. * published by the Free Software Foundation version 2.
  7. *
  8. * This program is distributed "as is" WITHOUT ANY WARRANTY of any
  9. * kind, whether express or implied; without even the implied warranty
  10. * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. * GNU General Public License for more details.
  12. */
  13. #ifndef BCM_KONA_SMC_H
  14. #define BCM_KONA_SMC_H
  15. #include <linux/types.h>
  16. /* Broadcom Secure Service API service IDs, return codes, and exit codes */
  17. #define SSAPI_ENABLE_L2_CACHE 0x01000002
  18. #define SEC_ROM_RET_OK 0x00000001
  19. #define SEC_EXIT_NORMAL 0x1
  20. extern int __init bcm_kona_smc_init(void);
  21. extern unsigned bcm_kona_smc(unsigned service_id,
  22. unsigned arg0,
  23. unsigned arg1,
  24. unsigned arg2,
  25. unsigned arg3);
  26. #endif /* BCM_KONA_SMC_H */