diff options
author | Tom Rini <trini@ti.com> | 2013-05-14 11:45:41 -0400 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-05-14 11:45:41 -0400 |
commit | 805fa87f6d2366e2193f3d9eb1f793ad41ae1430 (patch) | |
tree | 743278b9e271dc84670680a466ef2ebaabcbbce9 /arch/blackfin/include/asm/soft_switch.h | |
parent | a661b99dbc35e725f229a7b8e189ca21304ba026 (diff) | |
parent | da34aae5fba36c1f1989fdd41fffa723f300eaad (diff) |
Merge branch 'master' of git://git.denx.de/u-boot-blackfin into powerpc-eldk53-warning-fixes
Diffstat (limited to 'arch/blackfin/include/asm/soft_switch.h')
-rw-r--r-- | arch/blackfin/include/asm/soft_switch.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/blackfin/include/asm/soft_switch.h b/arch/blackfin/include/asm/soft_switch.h new file mode 100644 index 0000000000..ff8e44d8be --- /dev/null +++ b/arch/blackfin/include/asm/soft_switch.h @@ -0,0 +1,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 |