summaryrefslogtreecommitdiffstats
path: root/common/startup.c
Commit message (Collapse)AuthorAgeFilesLines
...
* add a add_mem_device functionSascha Hauer2011-07-181-13/+3
| | | | | | | | | | | Add a helper function for boards to register their memory devices. This makes the board code smaller and also helps getting rid of map_base and struct memory_platform_data. And switch all of the memory to it Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* startup.c: make DEBUG_LL output more usefulAntony Pavlov2011-07-181-1/+5
| | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* environment: make default env path configurableSascha Hauer2011-04-121-3/+4
| | | | | | | | Normally the default path to save the environment is /dev/env0. However, we can't map a file in a fat filesystem to /dev/env0. So if we want to store the environment in a file in fat we have to make it configurable. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* make command support optionalSascha Hauer2011-04-111-1/+4
| | | | | | | In a noninveractive environment we do not need commands. So make them optional. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* startup: we can only mount root and devfs when compiled inSascha Hauer2011-04-111-0/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* startup: make debug printing of linker variables work againSascha Hauer2011-01-171-2/+3
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Silence few warnings.Krzysztof Halasa2010-12-211-1/+1
| | | | | Signed-off-by: Krzysztof HaƂasa <khc@pm.waw.pl> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* driver: use id as -1 for auto assigned idJean-Christophe PLAGNIOL-VILLARD2010-09-201-0/+1
| | | | | | | | before if you specify id = 0 the next available id will be taken otherwise fail if already registered now as in linux we use -1 Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* move barebox_default_env.h to include/generated/Jean-Christophe PLAGNIOL-VILLARD2010-09-171-1/+1
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* introduce a arch_shutdown call and call it from shutdown_bareboxSascha Hauer2010-03-301-0/+3
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* make panic and hang __noreturn functionsSascha Hauer2010-03-301-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* rename U-Boot-v2 project to bareboxSascha Hauer2009-12-151-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Improve or fix various parameter documentationJuergen Beisert2009-07-311-0/+4
| | | | Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
* move some init work into initcallsSascha Hauer2009-07-211-10/+12
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* introduce cdevSascha Hauer2009-07-211-2/+6
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Shutdown U-Boot before starting an OSSascha Hauer2009-03-191-0/+10
| | | | | | | | 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>
* arm: dump stack space on startupSascha Hauer2008-08-131-5/+8
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Make the early console device/baudrate configurable instead of usingSascha Hauer2008-02-211-1/+3
| | | | hardcoded values
* enabling envrionment's autoload at startupJuergen Beisert2007-11-161-1/+1
| | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
* Move display_banner() to console.c. This helps us to showsascha2007-10-191-20/+4
| | | | the banner as first message.
* add missing whitespace in printf outputSascha Hauer2007-10-011-2/+2
|
* indentionSascha Hauer2007-09-271-4/+8
|
* display malloc space on startupSascha Hauer2007-09-261-5/+14
|
* execute /env/bin/init instead of /env/initSascha Hauer2007-09-251-5/+4
|
* - teach hush to honour PATH variableSascha Hauer2007-09-241-3/+4
| | | | - remove common/main.c. This is now handled in the different shells.
* whitespace cleanupSascha Hauer2007-09-131-7/+7
|
* add default environmentSascha Hauer2007-09-131-3/+31
|
* further reloc fixesSascha Hauer2007-07-251-7/+5
|
* add whitespace in banner stringSascha Hauer2007-07-161-1/+1
|
* print u-boot bss info only for debug caseSascha Hauer2007-07-121-1/+1
|
* CONFIG_ARCH_HAS_RELOC -> CONFIG_HAS_EARLY_INITSascha Hauer2007-07-121-34/+24
|
* add early_init()Sascha Hauer2007-07-121-45/+36
|
* svn_rev_662Sascha Hauer2007-07-051-2/+2
|
* svn_rev_653Sascha Hauer2007-07-051-4/+4
| | | | restructure tree, add reginfo command
* svn_rev_604Sascha Hauer2007-07-051-6/+0
| | | | no interrupts
* svn_rev_502Sascha Hauer2007-07-051-6/+0
| | | | complete multiple console support
* svn_rev_420Sascha Hauer2007-07-051-5/+14
| | | | | | | | | | | - do more POSIX: - use DIR instead of struct dirent - use (struct dirent)->d_name instead of (struct dirent)->name - switch to a new layout for U_BOOT_CMD: - use C99 initializers to be able to add more fields to the command struct - add aliases for commands (needed mainly for help -> ? and test -> [ - This is not done for all commands yet, but the compiler will tell you ;)
* svn_rev_413Sascha Hauer2007-07-051-5/+5
|
* svn_rev_340Sascha Hauer2007-07-051-0/+11
| | | | temporarily add some startup commands
* svn_rev_275Sascha Hauer2007-07-051-4/+3
|
* svn_rev_172Sascha Hauer2007-07-051-21/+11
| | | | WIP
* svn_rev_166Sascha Hauer2007-07-051-30/+0
| | | | ppc startup cleaunup
* svn_rev_165Sascha Hauer2007-07-051-0/+182
move arm board.c to generic