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