bcm_kona_smc.h 565 B

12345678910111213141516171819202122
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /* Copyright (C) 2013 Broadcom Corporation */
  3. #ifndef BCM_KONA_SMC_H
  4. #define BCM_KONA_SMC_H
  5. #include <linux/types.h>
  6. /* Broadcom Secure Service API service IDs, return codes, and exit codes */
  7. #define SSAPI_ENABLE_L2_CACHE 0x01000002
  8. #define SEC_ROM_RET_OK 0x00000001
  9. #define SEC_EXIT_NORMAL 0x1
  10. extern int __init bcm_kona_smc_init(void);
  11. extern unsigned bcm_kona_smc(unsigned service_id,
  12. unsigned arg0,
  13. unsigned arg1,
  14. unsigned arg2,
  15. unsigned arg3);
  16. #endif /* BCM_KONA_SMC_H */