summaryrefslogtreecommitdiffstats
path: root/commands/gpio.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2009-12-15 09:11:09 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2009-12-15 10:18:30 +0100
commita3ffa97f40dc81f2d6b07ee964f2340fe0c1ba97 (patch)
tree7a9076c1a20df00baeadca9a07d4c1f5cd0611e2 /commands/gpio.c
parentcaa5cec7b1c93d660aa89d24eb160ab18e4eb628 (diff)
downloadbarebox-a3ffa97f40dc81f2d6b07ee964f2340fe0c1ba97.tar.gz
barebox-a3ffa97f40dc81f2d6b07ee964f2340fe0c1ba97.tar.xz
rename U-Boot-v2 project to barebox
This has been done with the following script: find -path ./.git -prune -o -type f -print0 | xargs -0 -r sed -i \ -e 's/u2boot/barebox/g' \ -e 's/U2Boot/barebox/g' \ -e 's/U-boot V2/barebox/g' \ -e 's/u-boot v2/barebox/g' \ -e 's/U-Boot V2/barebox/g' \ -e 's/U-Boot-v2/barebox/g' \ -e 's/U_BOOT/BAREBOX/g' \ -e 's/UBOOT/BAREBOX/g' \ -e 's/uboot/barebox/g' \ -e 's/u-boot/barebox/g' \ -e 's/u_boot/barebox/g' \ -e 's/U-Boot/barebox/g' \ -e 's/U-boot/barebox/g' \ -e 's/U-BOOT/barebox/g' find -path ./.git -prune -o \( -name "*u-boot*" -o -name "*uboot*" -o -name "*u_boot*" \) -print0 | \ xargs -0 -r rename 's/u[-_]?boot/barebox/' It needs some manual fixup following in the next patch Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/gpio.c')
-rw-r--r--commands/gpio.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/commands/gpio.c b/commands/gpio.c
index ec6b28813e..58bf8b6378 100644
--- a/commands/gpio.c
+++ b/commands/gpio.c
@@ -39,11 +39,11 @@ static int do_gpio_get_value(cmd_tbl_t *cmdtp, int argc, char *argv[])
static const __maybe_unused char cmd_gpio_get_value_help[] =
"Usage: gpio_set_value <gpio>\n";
-U_BOOT_CMD_START(gpio_get_value)
+BAREBOX_CMD_START(gpio_get_value)
.cmd = do_gpio_get_value,
.usage = "return a gpio's value",
- U_BOOT_CMD_HELP(cmd_gpio_get_value_help)
-U_BOOT_CMD_END
+ BAREBOX_CMD_HELP(cmd_gpio_get_value_help)
+BAREBOX_CMD_END
static int do_gpio_set_value(cmd_tbl_t *cmdtp, int argc, char *argv[])
{
@@ -63,11 +63,11 @@ static int do_gpio_set_value(cmd_tbl_t *cmdtp, int argc, char *argv[])
static const __maybe_unused char cmd_gpio_set_value_help[] =
"Usage: gpio_set_value <gpio> <value>\n";
-U_BOOT_CMD_START(gpio_set_value)
+BAREBOX_CMD_START(gpio_set_value)
.cmd = do_gpio_set_value,
.usage = "set a gpio's output value",
- U_BOOT_CMD_HELP(cmd_gpio_set_value_help)
-U_BOOT_CMD_END
+ BAREBOX_CMD_HELP(cmd_gpio_set_value_help)
+BAREBOX_CMD_END
static int do_gpio_direction_input(cmd_tbl_t *cmdtp, int argc, char *argv[])
{
@@ -88,11 +88,11 @@ static int do_gpio_direction_input(cmd_tbl_t *cmdtp, int argc, char *argv[])
static const __maybe_unused char cmd_do_gpio_direction_input_help[] =
"Usage: gpio_direction_input <gpio>\n";
-U_BOOT_CMD_START(gpio_direction_input)
+BAREBOX_CMD_START(gpio_direction_input)
.cmd = do_gpio_direction_input,
.usage = "set a gpio as output",
- U_BOOT_CMD_HELP(cmd_do_gpio_direction_input_help)
-U_BOOT_CMD_END
+ BAREBOX_CMD_HELP(cmd_do_gpio_direction_input_help)
+BAREBOX_CMD_END
static int do_gpio_direction_output(cmd_tbl_t *cmdtp, int argc, char *argv[])
{
@@ -114,9 +114,9 @@ static int do_gpio_direction_output(cmd_tbl_t *cmdtp, int argc, char *argv[])
static const __maybe_unused char cmd_gpio_direction_output_help[] =
"Usage: gpio_direction_output <gpio> <value>\n";
-U_BOOT_CMD_START(gpio_direction_output)
+BAREBOX_CMD_START(gpio_direction_output)
.cmd = do_gpio_direction_output,
.usage = "set a gpio as output",
- U_BOOT_CMD_HELP(cmd_gpio_direction_output_help)
-U_BOOT_CMD_END
+ BAREBOX_CMD_HELP(cmd_gpio_direction_output_help)
+BAREBOX_CMD_END