Peng Fan | b5a9029 | 2017-02-22 16:21:43 +0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2016 Freescale Semiconductor, Inc. |
| 3 | * |
| 4 | * SPDX-License-Identifier: GPL-2.0+ |
| 5 | */ |
| 6 | |
| 7 | #ifndef _SYS_PROTO_MX7ULP_H_ |
| 8 | #define _SYS_PROTO_MX7ULP_H_ |
| 9 | |
Stefano Babic | 33731bc | 2017-06-29 10:16:06 +0200 | [diff] [blame] | 10 | #include <asm/mach-imx/sys_proto.h> |
Peng Fan | b5a9029 | 2017-02-22 16:21:43 +0800 | [diff] [blame] | 11 | |
| 12 | #define BT0CFG_LPBOOT_MASK 0x1 |
| 13 | #define BT0CFG_DUALBOOT_MASK 0x2 |
| 14 | |
| 15 | enum bt_mode { |
| 16 | LOW_POWER_BOOT, /* LP_BT = 1 */ |
| 17 | DUAL_BOOT, /* LP_BT = 0, DUAL_BT = 1 */ |
| 18 | SINGLE_BOOT /* LP_BT = 0, DUAL_BT = 0 */ |
| 19 | }; |
| 20 | |
| 21 | #endif |