2 * U-boot - main board file
4 * Copyright (c) 2008-2012 Analog Devices Inc.
6 * Licensed under the GPL-2 or later.
9 #ifndef __SOFT_SWITCH_H__
10 #define __SOFT_SWITCH_H__
14 #define IO_PORT_INPUT 0
15 #define IO_PORT_OUTPUT 1
17 int config_switch_bit(int num, int port, int bit, int dir, uchar value);