mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-20 08:58:52 +09:00
![Bin Meng](/assets/img/avatar_default.png)
Correct spelling of "U-Boot" shall be used in all written text (documentation, comments in source files etc.). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Heiko Schocher <hs@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Minkyu Kang <mk7.kang@samsung.com>
19 lines
393 B
C
19 lines
393 B
C
/*
|
|
* 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
|