summaryrefslogtreecommitdiffstats
path: root/sys/arm/xscale/ixp425
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2012-06-14 04:00:30 +0000
committerimp <imp@FreeBSD.org>2012-06-14 04:00:30 +0000
commitf69b442d94ad25c4757da3576ce5afd2ca318cd5 (patch)
treecfdbf8858829ac4ab6783d0c91f5d459501ed435 /sys/arm/xscale/ixp425
parent261e450cc4dc2265056f6ef9669212e5bfb06493 (diff)
downloadFreeBSD-src-f69b442d94ad25c4757da3576ce5afd2ca318cd5.zip
FreeBSD-src-f69b442d94ad25c4757da3576ce5afd2ca318cd5.tar.gz
Modify all the arm platform files to call parse_boot_param passing in
the boot parameters from initarm first thing. parse_boot_param parses the boot arguments and converts them to the /boot/loader metadata the rest of the kernel uses. parse_boot_param is a weak alias to fake_preload_metadata, which all the platforms use now, but may become more extensive in the future. Since it is a weak symbol, specific boards may define their own parse_boot_param to interface to custom boot loaders. Reviewed by: cognet@, Ian Lapore
Diffstat (limited to 'sys/arm/xscale/ixp425')
-rw-r--r--sys/arm/xscale/ixp425/avila_machdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm/xscale/ixp425/avila_machdep.c b/sys/arm/xscale/ixp425/avila_machdep.c
index 97623bd..22b0e10 100644
--- a/sys/arm/xscale/ixp425/avila_machdep.c
+++ b/sys/arm/xscale/ixp425/avila_machdep.c
@@ -238,8 +238,8 @@ initarm(struct arm_boot_params *abp)
vm_offset_t lastaddr;
uint32_t memsize;
+ lastaddr = parse_boot_param(abp);
set_cpufuncs(); /* NB: sets cputype */
- lastaddr = fake_preload_metadata();
pcpu_init(pcpup, 0, sizeof(struct pcpu));
PCPU_SET(curthread, &thread0);
OpenPOWER on IntegriCloud