summaryrefslogtreecommitdiffstats
path: root/lib/parameter.c
Commit message (Collapse)AuthorAgeFilesLines
* rework device parametersSascha Hauer2010-06-171-71/+124
| | | | | | | | Change device parameters so that the memory management is in generic code. This also removes the need of storing statically initialized parameters as they are stored in a struct list_head for each device. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* rename U-Boot-v2 project to bareboxSascha Hauer2009-12-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Move the parameter's documentation where it belongs toJuergen Beisert2009-07-311-0/+67
| | | | Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
* Fix string_to_ipSascha Hauer2008-08-201-1/+6
| | | | | | | | Use a pointer to an ip address instead of the return value in string_to_ip and use the return value for error indication only. 0.0.0.0 can be a valid ip address Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* parameter: set errno in dev_set_paramSascha Hauer2008-08-201-2/+4
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* parameter: make stringlen more readableSascha Hauer2008-08-201-1/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* [sparse] use NULL for nullpointerMarc Kleine-Budde2007-11-291-1/+1
| | | | | | | fixes: lib/parameter.c:108:19: warning: Using plain integer as NULL pointer Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* replace 8 spaces with tabsSascha Hauer2007-10-111-25/+25
|
* svn_rev_706Sascha Hauer2007-07-051-0/+22
| | | | add file headers
* svn_rev_653Sascha Hauer2007-07-051-0/+2
| | | | restructure tree, add reginfo command
* svn_rev_639Sascha Hauer2007-07-051-0/+95