summaryrefslogtreecommitdiffstats
path: root/sys/boot/uboot/lib
diff options
context:
space:
mode:
authorraj <raj@FreeBSD.org>2008-10-14 10:11:14 +0000
committerraj <raj@FreeBSD.org>2008-10-14 10:11:14 +0000
commit745c5c702fbda516ce2ffc4ea5fab4733a300b08 (patch)
tree94686d1eac378d2739cca0ac82d224e003a620c6 /sys/boot/uboot/lib
parent556a6465983a877b5787e9b340efce702299dc65 (diff)
downloadFreeBSD-src-745c5c702fbda516ce2ffc4ea5fab4733a300b08.zip
FreeBSD-src-745c5c702fbda516ce2ffc4ea5fab4733a300b08.tar.gz
Initial support of loader(8) for ARM machines running U-Boot.
This uses the common U-Boot support lib (sys/boot/uboot, already used on FreeBSD/powerpc), and assumes the underlying firmware has the modern API for stand-alone apps enabled in the config (CONFIG_API). Only netbooting is supported at the moment. Obtained from: Marvell, Semihalf
Diffstat (limited to 'sys/boot/uboot/lib')
-rw-r--r--sys/boot/uboot/lib/glue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/uboot/lib/glue.c b/sys/boot/uboot/lib/glue.c
index 39b72ef..3f09cc1 100644
--- a/sys/boot/uboot/lib/glue.c
+++ b/sys/boot/uboot/lib/glue.c
@@ -147,7 +147,7 @@ api_search_sig(struct api_signature **sig)
uboot_address = 255 * 1024 * 1024;
sp = (void *)(uboot_address & ~0x000fffff);
- spend = sp + 0x00100000 - API_SIG_MAGLEN;
+ spend = sp + 0x00300000 - API_SIG_MAGLEN;
while (sp < spend) {
if (!bcmp(sp, API_SIG_MAGIC, API_SIG_MAGLEN)) {
*sig = (struct api_signature *)sp;
OpenPOWER on IntegriCloud