blob: ff8e44d8be4af8f7cab58532558ccf7f094392b3 [file] [log] [blame]
Bob Liua671b702013-02-05 19:05:41 +08001/*
2 * U-boot - main board file
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
17int config_switch_bit(int num, int port, int bit, int dir, uchar value);
18#endif