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