summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* get rid of device idsSascha Hauer2009-07-211-54/+27
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Get rid of DEVICE_TYPE_FS usageSascha Hauer2009-07-211-4/+0
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* introduce cdevSascha Hauer2009-07-211-71/+23
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* vsprintf: Update to latest kernel versionSascha Hauer2009-06-101-156/+366
| | | | | | This adds a function to print into a malloced string Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add notifier frameworkSascha Hauer2009-05-132-0/+61
| | | | | | | This is loosely based on the Linux notifier framework, but stripped down to the bare minimum. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* use bus remove functionSascha Hauer2009-04-071-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* driver: do not match for devices which already have a driverSascha Hauer2009-04-071-0/+3
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* fix compiler warningSascha Hauer2009-04-071-2/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* we need different bus typesSascha Hauer2009-04-073-7/+79
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* driver.c: set errnoSascha Hauer2009-04-061-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Shutdown U-Boot before starting an OSSascha Hauer2009-03-191-0/+14
| | | | | | | | Some devices, especially the ones doing DMA should be disabled before giving control to an OS. We take the simple approach here: Just shutdown the devices in the reverse order they were activated. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Introduce dev_* and pr_* functionsSascha Hauer2008-10-311-0/+12
| | | | | | | | Proven to be useful in linux kernel, U-Boot should have such a thing aswell. We do not distinguish between the various print levels others than debug and not debug. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* string: add typechecking for strchr, strrchr, strstrSascha Hauer2008-08-201-4/+4
| | | | | | | These functions offered an excellent possibility to bypass compiler type checking. Signed-off-by: Sascha Hauer <s.hauer@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>
* 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>
* U-Boot-V2:Bitops: asm-generic bitopsNishanth Menon2008-08-153-0/+114
| | | | | | | | This introduces selected generic bitop files from kernel. We don't need minix, ext2, sched or lock based bitops. Those have been dropped. 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
* 008-fixloadbNishanth Menon2008-06-051-0/+1
| | | | | | | | | [Patch 08/17] U-Boot-V2:Commands Unbreak loadb support This patch provides support for loadb and loady and enables the broken feature Signed-off-by: Nishanth Menon<x0nishan@ti.com>
* [general] remove HAVE_CONFIG_HSascha Hauer2008-04-071-4/+0
|
* 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>
* fix dirname if called with something like "/path"Sascha Hauer2008-03-111-0/+2
|
* add stringlist function. They can be used to build a listSascha Hauer2008-03-112-0/+46
| | | | | of strings. For now mainly useful to print the resulting list in columns which is used in tab completion and ls.
* add glob to MakefileSascha Hauer2008-03-091-0/+2
|
* add globbing supportSascha Hauer2008-03-092-0/+699
|
* readline: Fix wrong screen reprinting. Try:Sascha Hauer2008-03-021-3/+3
| | | | abcde<BACKSPACE><HOME><DEL>
* readline: Fix a bug when tab completion is used in the middleSascha Hauer2008-03-021-4/+12
| | | | of the line.
* implement TAB completionSascha Hauer2008-03-012-9/+24
|
* make dirname/basename behave more standard conformSascha Hauer2008-03-011-0/+10
|
* improved codingstyleMarc Kleine-Budde2007-11-291-3/+3
| | | | | | This patch improved the codingstyle Signed-off-by: Marc Kleine-Budde <mkl@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>
* 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
|
* shell info addedJuergen Beisert2007-10-191-0/+16
|
* 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.
* remove putc referencesJuergen Beisert2007-10-171-3/+3
|
* implement delete key in readlinesascha2007-10-161-0/+12
|
* 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-113-106/+106
|
* Use Linux kernel list for drivers and devices instead of handmadeSascha Hauer2007-10-111-137/+57
| | | | list.
* parse_area_spec():Sascha Hauer2007-10-091-15/+25
| | | | | | | | - No need to handle strings where only size or end is given. This form is confusing and does not give real benefit. - Fix start-end form. The calculation was wrong. - Return an error if end < start. - Add function description.
* export symbolsSascha Hauer2007-10-079-25/+32
|
* export functionsSascha Hauer2007-10-042-3/+24
|