summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/include/asm/soft_switch.h
blob: ff8e44d8be4af8f7cab58532558ccf7f094392b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * U-boot - main board file
 *
 * Copyright (c) 2008-2012 Analog Devices Inc.
 *
 * Licensed under the GPL-2 or later.
 */

#ifndef __SOFT_SWITCH_H__
#define __SOFT_SWITCH_H__

#define IO_PORT_A              0
#define IO_PORT_B              1
#define IO_PORT_INPUT          0
#define IO_PORT_OUTPUT         1

int config_switch_bit(int num, int port, int bit, int dir, uchar value);
#endif
OpenPOWER on IntegriCloud