]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/blackfin/include/asm/soft_switch.h
Merge branch 'u-boot-imx/master' into 'u-boot-arm/master'
[karo-tx-uboot.git] / arch / blackfin / include / asm / soft_switch.h
1 /*
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
17 int config_switch_bit(int num, int port, int bit, int dir, uchar value);
18 #endif