Sascha Hauer
a46098b1d1
ppc: switch to libfdt based oftree implementation
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-12-14 13:40:17 +01:00
Sascha Hauer
351058fa51
bootm: push relocate_image up to the generic command
...
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>
2011-11-29 20:59:56 +01:00
Sascha Hauer
147affbd8d
remove unused global_data.h
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-08-01 12:00:59 +02:00
Sascha Hauer
74d1e23604
ppc: fix printf compiler warnings
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-07 11:37:50 +01:00
Sascha Hauer
a64c756ad9
image: remove confusing image_check_* functions
...
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 a3c1e5d888
.
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>
2010-10-13 17:39:49 +02:00
Jean-Christophe PLAGNIOL-VILLARD
a3c1e5d888
Replace direct header access with the API routines
...
Copied from U-Boot
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2010-10-08 00:04:28 +08:00
Sascha Hauer
f7403928a9
Revert "Replace direct header access with the API routines"
...
This reverts commit 0ceafe14be
.
Conflicts:
include/image.h
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-10-07 14:11:38 +02:00
Jean-Christophe PLAGNIOL-VILLARD
0ceafe14be
Replace direct header access with the API routines
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-09-24 08:46:22 +02:00
Sascha Hauer
a3ffa97f40
rename U-Boot-v2 project to barebox
...
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>
2009-12-15 10:18:30 +01:00
Sascha Hauer
ee36cf25b5
remove SHOW_BOOT_PROGRESS
...
Though useful it is currently unsued and broken. Should be reimplemented
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-03-19 12:21:40 +01:00
Sascha Hauer
f95ec8a32d
- Add functions to register image handlers for booting uImages
2008-02-20 19:01:54 +01:00
Sascha Hauer
884988f6d6
fix read_file()
2007-10-01 09:51:56 +02:00
Sascha Hauer
8881fb7984
use memmap() to save one memcpy call in bootm
2007-07-15 14:02:53 +02:00
Sascha Hauer
432693b733
use reset_cpu()
2007-07-05 21:43:36 +02:00
Sascha Hauer
5137cafad8
svn_rev_688
...
fix compiler warnings
2007-07-05 18:02:17 +02:00
Sascha Hauer
adfd4533a4
svn_rev_624
...
first successfull boot
2007-07-05 18:02:10 +02:00
Sascha Hauer
954d38d0ba
svn_rev_609
...
on our way to boot...
2007-07-05 18:02:09 +02:00
Sascha Hauer
758a1107f8
svn_rev_538
...
several powerpc fixes
2007-07-05 18:02:03 +02:00
Sascha Hauer
17f9b2c9ac
svn_rev_463
...
make ppc compile again
2007-07-05 18:01:56 +02:00
Sascha Hauer
a4b702a62f
svn_rev_280
...
move ppc linux startup to arch/ppc
2007-07-05 18:01:39 +02:00