Sascha Hauer
33d1cc4bf2
commands: remove struct command pointer from commands
...
This is unused in all commands and thus can be removed.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-02-27 20:28:07 +01:00
Sascha Hauer
922bb41a47
remove typedef cmd_tbl_t and replace it with struct command
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-02-01 17:25:32 +01:00
Sascha Hauer
a3ffa97f40
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>
2009-12-15 10:18:30 +01:00
Sascha Hauer
420a3173f0
commands: remove maxargs
...
No need to check for maximum argument counts. The commands are
safe to be called with more arguments, so lets safe some bytes.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-19 16:18:33 +02:00
Sascha Hauer
87e01f28cc
commands: return COMMAND_ERROR_USAGE
...
instead of calling u_boot_cmd_usage in each command to safe
space.
Signed-off-by: Sascha Hauer <sha@pengutronix.de>
2009-10-19 10:18:52 +02:00
Sascha Hauer
a7acf2e746
mtest: remove braindamaged NULL pointer deref
...
The alternative memory test implementation needs a scratch
memory location to remove the last data from the data bus.
Instead of using a NULL pointer for this, default to the
memory start address.
No sane program should consider a NULL pointer as a safe default.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-01-13 14:31:03 +01:00
Sascha Hauer
50cc8c5412
Subject: [PATCH] [general] Fixed constant strings in data section issue
...
For practical reasons I changed all string literals assumed to be constant
to reside in .rodata subsection at end of .text section.
Signed-off-by: Carsten Schlote <schlote@vahanus.net>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-04-04 14:45:04 +02:00
Enrik Berkhan
bd0aed0ae0
Avoid memtest at scratch address
...
When the tested address equals the scratch location, memtest will fail.
Signed-Off-By: Enrik Berkhan <Enrik.Berkhan@ge.com>
2008-01-23 12:13:23 +01:00
Juergen Beisert
26def3fd2c
various small typos fixed
2007-10-16 19:07:21 +02:00
Sascha Hauer
b3dc734018
declare lots of functions static
2007-09-28 10:07:26 +02:00
Sascha Hauer
6dfc34d297
reactivate mtest
2007-09-27 12:04:59 +02:00
Sascha Hauer
3cbc5c5c12
remove u-boot command paramter flag
2007-09-24 12:31:08 +02:00
Sascha Hauer
40e4e2e659
svn_rev_647
2007-07-05 18:02:13 +02:00
Sascha Hauer
4b07af6730
svn_rev_643
...
structure cleanup
2007-07-05 18:02:13 +02:00