summaryrefslogtreecommitdiffstats
path: root/sys/arm/xscale/i80321/ep80219_machdep.c
diff options
context:
space:
mode:
authorian <ian@FreeBSD.org>2013-11-21 01:08:10 +0000
committerian <ian@FreeBSD.org>2013-11-21 01:08:10 +0000
commit7a4153554571ab356aa48545087c260db526a181 (patch)
tree49866e7c2e22069bf3d3aa0562a8455ce21b8918 /sys/arm/xscale/i80321/ep80219_machdep.c
parent60dc70fdca568e2b6848093fc0e8141b8a342ae8 (diff)
downloadFreeBSD-src-7a4153554571ab356aa48545087c260db526a181.zip
FreeBSD-src-7a4153554571ab356aa48545087c260db526a181.tar.gz
Call cpu_setup() from the initarm() routine on platforms that don't use
the common FDT-aware initarm() in arm/machdep.c. Pointed out by: cognet Pointy hat to: ian
Diffstat (limited to 'sys/arm/xscale/i80321/ep80219_machdep.c')
-rw-r--r--sys/arm/xscale/i80321/ep80219_machdep.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/arm/xscale/i80321/ep80219_machdep.c b/sys/arm/xscale/i80321/ep80219_machdep.c
index 7697b61..3c52d55 100644
--- a/sys/arm/xscale/i80321/ep80219_machdep.c
+++ b/sys/arm/xscale/i80321/ep80219_machdep.c
@@ -334,6 +334,8 @@ initarm(struct arm_boot_params *abp)
* this problem will not occur after initarm().
*/
cpu_idcache_wbinv_all();
+ cpu_setup("");
+
/*
* Fetch the SDRAM start/size from the i80321 SDRAM configration
* registers.
OpenPOWER on IntegriCloud