summaryrefslogtreecommitdiffstats
path: root/lib/driver.c
Commit message (Collapse)AuthorAgeFilesLines
* Driver: expose dummy_probeNishanth Menon2008-08-151-0/+1
| | | | | | expose Dummy Probe function so that modules can use it. Signed-off-by: Nishanth Menon <x0nishan@ti.com>
* only compile devinfo command when selectedSascha Hauer2008-08-131-0/+4
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* lseek: return -1 for errors and check for that return valueSascha Hauer2008-08-011-1/+1
| | | | | | We cannot check for < 0 in lseek, otherwise we get problems with files > 0x7fffffff Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* - introduce ioctl callSascha Hauer2008-06-061-0/+32
| | | | - pass open/close/lseek through to drivers
* Subject: [PATCH] [general] Fixed constant strings in data section issueSascha Hauer2008-04-041-1/+1
| | | | | | | | 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>
* get_device_by_path now obeys cwdMarc Kleine-Budde2007-11-191-3/+10
| | | | | | | With this patch get_device_by_path obeys the cwd, which allows a more intuitive devinfo command. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* fixed doku renamed ip -> ipaddrMarc Kleine-Budde2007-11-121-1/+1
| | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* adding various dokuJuergen Beisert2007-11-081-1/+33
|
* export symbols get_device_by_path and dev_add_childsascha2007-10-191-0/+2
|
* Fix documentation for addpart/delpart/devinfo. These commandssascha2007-10-191-1/+1
| | | | now take a device file, not a device id.
* compile fixsascha2007-10-191-3/+5
|
* - Implement tree structure for devicessascha2007-10-191-46/+60
| | | | | | | - Use device tree structure to implement partitions - Let devinfo print a nice tree - Introduce 'fixed' partitions which are not removable - Fix mount: It was not possible to mount on a relative path.
* let erase and protect functions return int instead of size_t. TheySascha Hauer2007-10-111-2/+2
| | | | only return succes/error but no size.
* replace 8 spaces with tabsSascha Hauer2007-10-111-64/+64
|
* Use Linux kernel list for drivers and devices instead of handmadeSascha Hauer2007-10-111-137/+57
| | | | list.
* export symbolsSascha Hauer2007-10-071-0/+4
|
* declare lots of functions staticSascha Hauer2007-09-281-1/+1
|
* remove u-boot command paramter flagSascha Hauer2007-09-241-1/+1
|
* implement flash protectionSascha Hauer2007-07-161-0/+8
|
* implement memmap().Sascha Hauer2007-07-151-0/+22
| | | | | | With this function we can get a pointer to directly memory mapped devices like nor flash or RAM. Useful for bootm where we save one memcopy when the image is mappable
* fix silly bug in unregister_device(). When unregistering devicesSascha Hauer2007-07-141-2/+2
| | | | we have to compare the device pointers and not the names.
* use debug() macroSascha Hauer2007-07-051-5/+9
|
* svn_rev_706Sascha Hauer2007-07-051-0/+22
| | | | add file headers
* svn_rev_639Sascha Hauer2007-07-051-0/+333