blob: 321b0708257bc1b748277d32d848d06f365e3575 [file] [log] [blame]
Bob Liua671b702013-02-05 19:05:41 +08001/*
Bin Meng75574052016-02-05 19:30:11 -08002 * U-Boot - main board file
Bob Liua671b702013-02-05 19:05:41 +08003 *
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
17int config_switch_bit(int num, int port, int bit, int dir, uchar value);
18#endif