summaryrefslogtreecommitdiffstats
path: root/common
Commit message (Collapse)AuthorAgeFilesLines
...
* setenv: Fix warning introduced with last commitSascha Hauer2008-08-201-13/+23
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Common: expose callocNishanth Menon2008-08-151-0/+1
| | | | | | | calloc is not exported by default. This patch exposes the same. Signed-off-by: Nishanth Menon <x0nishan@ti.com>
* Partition: Add an own device id for partitionsSascha Hauer2008-08-141-0/+6
| | | | | | | | Add an own device id for partitions. This is necessary to allow the partition layer to check if the given device is really a partition. Also, check for readonly flag in erase. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Partition layer updatesSascha Hauer2008-08-131-9/+5
| | | | | | | - route MEMGETINFO through partition layer - use dev_erase/dev_protect instead of direct pointers Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* clocK: Add ndelay functionSascha Hauer2008-08-131-0/+8
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add help texts for Shell optionsSascha Hauer2008-08-131-14/+18
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arm: dump stack space on startupSascha Hauer2008-08-131-5/+8
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* move several commands into extra filesSascha Hauer2008-08-132-135/+2
| | | | | | move false, true, help, insmod, lsmod, version into extra files Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* console: add a simple console for saving spaceSascha Hauer2008-08-015-5/+138
| | | | | | | Add a simple console layer which is not able to handle multiple consoles for those who don't need it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* - introduce ioctl callSascha Hauer2008-06-061-0/+44
| | | | - pass open/close/lseek through to drivers
* 007-partitionsNishanth Menon2008-06-052-1/+5
| | | | | | | | | [Patch 07/17] U-Boot-V2:Common Make partitions configurable Not all configurations of Uboot require partitions. This patch modifies partition compilation as configurable param Signed-off-by: Nishanth Menon<x0nishan@ti.com>
* 002-clock-overflowNishanth Menon2008-06-051-1/+1
| | | | | | | | | | | | | | [Patch 02/17] U-Boot-V2: Handle case of clock rollover for get_time_ns get_time_ns does a simplistic delta = cycle_now - cycle_last. It is possible that the h/w counter reached max and reset back to 0. This patch addresses this issue by checking for rollover condition. NOTE 1: This does not guarentee that you cannot confuse get_time_ns. You could possibly wait for two reset cycles and then get a messed up value. To fix that we may need interrupt mode timer tick - something on the lines of jiffies on linux. NOTE 2: the question of cs->mask is not clear. if the mask is for the tick, then it is better done with (cycle_now & cs->mask) - (cs->cycle_last & cs->mask). Signed-off-by: Nishanth Menon<x0nishan@ti.com>
* 001-arch-configNishanth Menon2008-06-051-0/+3
| | | | | | | | | | [Patch 01/17][Try 3] U-Boot-V2: ARM: Add ARCH lowlevel Init This Patch adds CONFIG_ARCH_HAS_LOWLEVEL_INIT as discussed in thread http://www.nabble.com/-Patch--U-Boot-V2%3A-Introduce-CONFIG_ARCH_HAS_INIT_LOWLEVEL-to17134638.html#a17188894 Signed-off-by: Nishanth Menon<x0nishan@ti.com>
* [memory layout]: streamline memory layoutSascha Hauer2008-06-041-0/+56
| | | | | | | Memory layout can now be specified via kconfig options. Two possibilities exist: default layout means the layout is stack / malloc heap / U-Boot. The user can also specify fixed addresses for each TEXT_BASE / stack / malloc heap.
* fix warnings in malloc code introduced by last commitsSascha Hauer2008-06-031-2/+2
|
* Remove part #ifdefed with #if (CONFIG_COMMANDS & CFG_CMD_BOOTD) which isMenon, Nishanth2008-05-121-17/+1
| | | | false everytime
* Change CONFIG_SKIP_LOWLEVEL_INIT to CONFIG_MACH_DO_LOWLEVEL_INITMenon, Nishanth2008-05-121-8/+12
| | | | | | | | as we rather use positive logic. Make it dependent on boards that have it rather than on ARM Signed-off-by: Nishanth Menon <x0nishan@ti.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Trivial comment fixSascha Hauer2008-04-041-1/+1
|
* Subject: [PATCH] [general] Fixed constant strings in data section issueSascha Hauer2008-04-043-11/+14
| | | | | | | | 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>
* use newly introduced stringlist functions for tab completionSascha Hauer2008-03-111-48/+15
|
* Add the possibility to have an architecture specific ctrlc() function.Sascha Hauer2008-03-111-0/+2
| | | | | This allows us to return immediately in ctrlc() on sandbox and thus not slow down network througput.
* replace debug_printf with debug in hush.cSascha Hauer2008-03-091-42/+35
|
* add globbing supportSascha Hauer2008-03-092-27/+110
|
* implement TAB completionSascha Hauer2008-03-014-285/+213
|
* Make the early console device/baudrate configurable instead of usingSascha Hauer2008-02-212-1/+20
| | | | hardcoded values
* [general] Fixed crash in memory allocatorCarsten Schlote2008-02-201-1/+3
| | | | | | | | | | | | Fixed a bug in sbrk(). When the new mem_brk value returned by sbrk_no_zero() returns NULL to indicate 'out of memory', sbrk() still memset()s innocent memory at address NULL. For some architectures this memory might be empty, so this never causes a problem. Anyway on Coldfire I still have my vector table there. Nuking them isn't really a good idea :-) Signed-off-by: Carsten Schlote <c.schlote@konzeptpark.de>
* - Add functions to register image handlers for booting uImagesSascha Hauer2008-02-201-0/+28
|
* [general] Fixed endian handling for envfsCarsten Schlote2008-02-191-30/+32
| | | | | | | | | | | Fixed the handling of data similiar as found in cramfs. This fixes the problem with an unreadable defaultenv on big-endian targets. The endian macors are now loaded from /asm/common.h by default. Signed-off-by: Carsten Schlote <c.schlote@konzeptpark.de>
* [sandbox] add propper sandbox detectionMarc Kleine-Budde2007-11-291-1/+1
| | | | | | | | | | | | | | | This patch adds a __SANDBOX__ define to identify compiling for the sandbox. When building for sandbox, don't use sync() workaround. Fixes this error for sandbox on PPC: CC common/memsize.o common/memsize.c:30:38: error: asm/io.h: No such file or directory common/memsize.c: In function 'get_ram_size': common/memsize.c:51: warning: implicit declaration of function 'sync' Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* Revert "separating memory commands"Marc Kleine-Budde2007-11-272-170/+0
| | | | | | | | | | | | This reverts commit d59c600c656d08410ea862c582fbd77432c3ca47. Conflicts: commands/Makefile common/Kconfig common/Makefile Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* add switch to enable debug symbolsRobert Schwebel2007-11-271-0/+6
| | | | | | | | Add a symbol to the "Debugging" menu which enables the debug symbols in u-boot-v2. This makes it possible to view the source code with 'objdump'. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* [makesystem] fix default environment handlingMarc Kleine-Budde2007-11-261-2/+2
| | | | | | | This patch fixes the environemnt generate broken in 7b498d9838e68eb0b58450ec54ed968e7848c8e0 Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [makesystem] reworked default environment handlingMarc Kleine-Budde2007-11-191-9/+8
| | | | | | | | | | | This patch improves the default environment handling, now the makesystem bails out if the default environment path is empty or points to an invalid directory (with activated default environment). It also fixes this error: find: invalid predicate `' Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* enabling envrionment's autoload at startupJuergen Beisert2007-11-161-1/+1
| | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
* separating environment commands, part 2Juergen Beisert2007-11-123-0/+273
| | | | Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
* separating environment commands, part 1Juergen Beisert2007-11-121-167/+11
| | | | Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
* separating memory commandsJuergen Beisert2007-11-123-0/+173
| | | | Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
* various doc addedJuergen Beisert2007-11-091-10/+10
| | | | Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
* adding various dokuJuergen Beisert2007-11-082-16/+16
|
* various docu addedJuergen Beisert2007-11-051-1/+1
|\
| * saving added docuJuergen Beisert2007-11-051-1/+1
| |
* | Replace all occurences of UBoot with U-BootSascha Hauer2007-10-241-1/+1
|/ | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* shell info addedJuergen Beisert2007-10-191-20/+24
|
* hush doc addedJuergen Beisert2007-10-191-36/+73
|
* adding doc, first tryJuergen Beisert2007-10-191-2/+67
|
* adding new docJuergen Beisert2007-10-191-8/+9
|
* Merge branch 'master' of jbe@octopus:/home/git/projects/u-boot-v2Juergen Beisert2007-10-191-5/+5
|\
| * fix some typossascha2007-10-191-5/+5
| |
* | doc added and some reorganisedJuergen Beisert2007-10-192-2/+71
|/
* Merge octopus:/home/git/projects/u-boot-v2sascha2007-10-191-0/+123
|\