lkdtm: Add Control Flow Integrity test
[linux/fpc-iii.git] / drivers / misc / habanalabs / include / hl_boot_if.h
blob4cd04c0902853312cd7c729226fe0191fe2665d9
1 /* SPDX-License-Identifier: GPL-2.0
3 * Copyright 2018 HabanaLabs, Ltd.
4 * All Rights Reserved.
6 */
8 #ifndef HL_BOOT_IF_H
9 #define HL_BOOT_IF_H
11 enum cpu_boot_status {
12 CPU_BOOT_STATUS_NA = 0, /* Default value after reset of chip */
13 CPU_BOOT_STATUS_IN_WFE,
14 CPU_BOOT_STATUS_DRAM_RDY,
15 CPU_BOOT_STATUS_SRAM_AVAIL,
16 CPU_BOOT_STATUS_IN_BTL, /* BTL is H/W FSM */
17 CPU_BOOT_STATUS_IN_PREBOOT,
18 CPU_BOOT_STATUS_IN_SPL,
19 CPU_BOOT_STATUS_IN_UBOOT,
20 CPU_BOOT_STATUS_DRAM_INIT_FAIL,
21 CPU_BOOT_STATUS_FIT_CORRUPTED,
22 CPU_BOOT_STATUS_UBOOT_NOT_READY,
25 enum kmd_msg {
26 KMD_MSG_NA = 0,
27 KMD_MSG_GOTO_WFE,
28 KMD_MSG_FIT_RDY
31 #endif /* HL_BOOT_IF_H */