Bob Liu | a671b70 | 2013-02-05 19:05:41 +0800 | [diff] [blame] | 1 | /* |
Bin Meng | 7557405 | 2016-02-05 19:30:11 -0800 | [diff] [blame] | 2 | * U-Boot - main board file |
Bob Liu | a671b70 | 2013-02-05 19:05:41 +0800 | [diff] [blame] | 3 | * |
| 4 | * Copyright (c) 2008-2012 Analog Devices Inc. |
| 5 | * |
| 6 | * Licensed under the GPL-2 or later. |
| 7 | */ |
| 8 | |
| 9 | #ifndef __SOFT_SWITCH_H__ |
| 10 | #define __SOFT_SWITCH_H__ |
| 11 | |
| 12 | #define IO_PORT_A 0 |
| 13 | #define IO_PORT_B 1 |
| 14 | #define IO_PORT_INPUT 0 |
| 15 | #define IO_PORT_OUTPUT 1 |
| 16 | |
| 17 | int config_switch_bit(int num, int port, int bit, int dir, uchar value); |
| 18 | #endif |