summaryrefslogtreecommitdiffstats
path: root/arch/ppc/lib
Commit message (Collapse)AuthorAgeFilesLines
* ppc: remove unused init_board_data functionSascha Hauer2012-04-132-50/+0
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'work/uimage' into nextSascha Hauer2011-12-171-9/+7
|\ | | | | | | | | | | | | | | | | Conflicts: arch/ppc/lib/ppclinux.c commands/bootm.c include/boot.h Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * bootm: use new uimage codeSascha Hauer2011-12-151-9/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This switches the bootm code to the new uimage code. Also bootm can now handle other types of images than uImages. Currently the only architecture making use of this is arm which allows to boot zImages, raw images and barebox images. I intended to make a more bisectable series from this but I failed becuase there are many dependencies and no matter how I tried the patches grew bigger and and bigger. So I decided to put this all in a single patch. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ppc: switch to libfdt based oftree implementationSascha Hauer2011-12-141-225/+6
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'pu/ppc-oftree' into nextSascha Hauer2011-12-151-225/+6
|\ \
| * | ppc: switch to libfdt based oftree implementationSascha Hauer2011-12-151-225/+6
| |/ | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* / remove unused watchdog headerSascha Hauer2011-12-153-3/+0
|/ | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* fix malloc space sizesSascha Hauer2011-12-031-1/+1
| | | | | | end is start + size - 1, not start + size. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* bootm: push relocate_image up to the generic commandSascha Hauer2011-11-291-3/+0
| | | | | | | | | All handlers used to just relocate the image without any checks, so we are doomed if we write outside of SDRAM or will overwrite ourselves. Move the relocation up to the generic part where we have a chance of catching these issues. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* remove irq support fragmentsSascha Hauer2011-11-283-141/+0
| | | | | | | | We never had interrupt support in barebox and we have no plans to add interrupt support. Even if we do I doubt the current fragments of irq support are helpful, so remove them. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ppc: hardcode sdram base to 0x0Sascha Hauer2011-09-271-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* remove EARLY_INIT and EARLY_CONSOLE supportSascha Hauer2011-09-271-3/+0
| | | | | | Bitrotted over time and nearly unused, so remove it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* rename include/mem_malloc.h to include/memory.hSascha Hauer2011-09-231-1/+1
| | | | | | | Which is a better name and also better to collect other things. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* remove unused global_data.hSascha Hauer2011-08-011-1/+0
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* barebox compilation with gcc 4.5.2 and ptxdistAndre Naujoks2011-07-281-0/+14
| | | | | | | | | From 9b3985045da1161a934cba48749fe1759e62dae6 Mon Sep 17 00:00:00 2001 From: Andre Naujoks <nautsch2@googlemail.com> Date: Wed, 27 Jul 2011 11:29:43 +0200 Subject: [PATCH 2/2] Ported ppc ashrdi3 from linux kernel Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* barebox compilation with gcc 4.5.2 and ptxdistAndre Naujoks2011-07-282-0/+240
| | | | | | | | | From c479527616c5fc79c608e21573373a5a324f6e9b Mon Sep 17 00:00:00 2001 From: Andre Naujoks <nautsch2@googlemail.com> Date: Wed, 27 Jul 2011 11:28:35 +0200 Subject: [PATCH 1/2] Ported crtsavres from linux kernel to barebox Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ppc: fix printf compiler warningsSascha Hauer2011-01-071-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* clocksource: switch mask to CLOCKSOURCE_MASKJean-Christophe PLAGNIOL-VILLARD2010-11-291-1/+1
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* remove strange flush_cache functionsSascha Hauer2010-10-212-51/+0
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* image: remove confusing image_check_* functionsSascha Hauer2010-10-131-1/+1
| | | | | | | | | | | The function names do not make it clear what return value is expected and do not save a single line of code. Put the code inline and unbreak the wrong checks introduced with a3c1e5d888d0ee317ffc7635694684bb71213c9c. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Acked-by: Eric BĂ©nard <eric@eukrea.com> Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Replace direct header access with the API routinesJean-Christophe PLAGNIOL-VILLARD2010-10-081-3/+3
| | | | | | Copied from U-Boot Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Revert "Replace direct header access with the API routines"Sascha Hauer2010-10-071-3/+3
| | | | | | | | | | This reverts commit 0ceafe14be072696eff3e549d8c7b7de8a3e416d. Conflicts: include/image.h Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Replace direct header access with the API routinesJean-Christophe PLAGNIOL-VILLARD2010-09-241-3/+3
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* rename U-Boot-v2 project to bareboxSascha Hauer2009-12-153-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* [PPC] Move include/asm-ppc/arch-* to arch/ppc/*/include/machJean-Christophe PLAGNIOL-VILLARD2009-10-221-1/+1
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* remove SHOW_BOOT_PROGRESSSascha Hauer2009-03-192-14/+0
| | | | | | Though useful it is currently unsued and broken. Should be reimplemented Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* fix compiler warningSascha Hauer2008-08-131-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* [memory layout]: streamline memory layoutSascha Hauer2008-06-041-1/+2
| | | | | | | 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.
* [ppc] Fixed orphaned CONFIG_INTERRUPTSCarsten Schlote2008-02-212-2/+2
| | | | | | Changed CONFIG to CONFIG_USE_IRQ Signed-off-by: Carsten Schlote <c.schlote@konzeptpark.de>
* - Add functions to register image handlers for booting uImagesSascha Hauer2008-02-201-17/+29
|
* CONFIG_MODULE -> CONFIG_MODULESSascha Hauer2007-10-041-1/+1
|
* fix read_file()Sascha Hauer2007-10-011-1/+1
|
* add powerpc specific bits for modulesSascha Hauer2007-10-012-0/+298
|
* move ppc assembler templates to include/asm-ppcSascha Hauer2007-09-223-4/+4
|
* whitespace cleanupSascha Hauer2007-09-131-2/+2
|
* further reloc fixesSascha Hauer2007-07-251-1/+15
|
* use memmap() to save one memcpy call in bootmSascha Hauer2007-07-151-11/+15
|
* consolidate cpu_init_*Sascha Hauer2007-07-121-3/+0
|
* remove unused extern declarationSascha Hauer2007-07-121-3/+0
|
* use reset_cpu()Sascha Hauer2007-07-051-1/+1
|
* svn_rev_688Sascha Hauer2007-07-051-13/+14
| | | | fix compiler warnings
* svn_rev_683Sascha Hauer2007-07-052-22/+1
| | | | more cleanups, fix compiler warnings
* svn_rev_663Sascha Hauer2007-07-051-1/+0
|
* svn_rev_653Sascha Hauer2007-07-051-1/+1
| | | | restructure tree, add reginfo command
* svn_rev_624Sascha Hauer2007-07-051-5/+3
| | | | first successfull boot
* svn_rev_615Sascha Hauer2007-07-051-0/+2
|
* svn_rev_612Sascha Hauer2007-07-051-0/+49
|
* svn_rev_610Sascha Hauer2007-07-051-57/+0
| | | | no global data
* svn_rev_609Sascha Hauer2007-07-051-312/+106
| | | | on our way to boot...
* svn_rev_598Sascha Hauer2007-07-051-1/+1
| | | | no interrupts