Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: Intel */ |
Bin Meng | 2922b3e | 2014-12-12 21:05:28 +0800 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2013, Intel Corporation |
| 4 | * Copyright (C) 2014, Bin Meng <bmeng.cn@gmail.com> |
Bin Meng | 2922b3e | 2014-12-12 21:05:28 +0800 | [diff] [blame] | 5 | */ |
| 6 | |
| 7 | #ifndef __FSP_BOOT_MODE_H__ |
| 8 | #define __FSP_BOOT_MODE_H__ |
| 9 | |
| 10 | /* 0x21 - 0xf..f are reserved */ |
| 11 | #define BOOT_FULL_CONFIG 0x00 |
| 12 | #define BOOT_MINIMAL_CONFIG 0x01 |
| 13 | #define BOOT_NO_CONFIG_CHANGES 0x02 |
| 14 | #define BOOT_FULL_CONFIG_PLUS_DIAG 0x03 |
| 15 | #define BOOT_DEFAULT_SETTINGS 0x04 |
| 16 | #define BOOT_ON_S4_RESUME 0x05 |
| 17 | #define BOOT_ON_S5_RESUME 0x06 |
| 18 | #define BOOT_ON_S2_RESUME 0x10 |
| 19 | #define BOOT_ON_S3_RESUME 0x11 |
| 20 | #define BOOT_ON_FLASH_UPDATE 0x12 |
| 21 | #define BOOT_IN_RECOVERY_MODE 0x20 |
| 22 | |
| 23 | #endif |