summaryrefslogtreecommitdiffstats
path: root/sys/arm/mv/mv_machdep.c
diff options
context:
space:
mode:
authorraj <raj@FreeBSD.org>2009-01-08 18:31:43 +0000
committerraj <raj@FreeBSD.org>2009-01-08 18:31:43 +0000
commitfa4df0b07e913c64e1a41505b9a10843bc12f773 (patch)
tree7e1d5a2c8e0851351dd7e0f146f068deba3eba7c /sys/arm/mv/mv_machdep.c
parent8c23321acb993cc6cbb9f540aa6b10046d7e2dcf (diff)
downloadFreeBSD-src-fa4df0b07e913c64e1a41505b9a10843bc12f773.zip
FreeBSD-src-fa4df0b07e913c64e1a41505b9a10843bc12f773.tar.gz
Improve and extend Marvell SOCs platform code.
- Allow for setting per platform MPP/GPIO configuration in the kernel, so that we can override all settings firmware might set. - Set decode windows for the remaining on-chip peripherals: CESA, SATA and XOR. - Improve handling of USB controllers so that all port are available on the given SOC/platform (e.g. up to three on DB-78xxx), this includes rework of USB decode windows set-up. - Other minor fixes and cosmetics. Obtained from: Semihalf
Diffstat (limited to 'sys/arm/mv/mv_machdep.c')
-rw-r--r--sys/arm/mv/mv_machdep.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/arm/mv/mv_machdep.c b/sys/arm/mv/mv_machdep.c
index 8b5388f..1c00eb5 100644
--- a/sys/arm/mv/mv_machdep.c
+++ b/sys/arm/mv/mv_machdep.c
@@ -551,6 +551,11 @@ initarm(void *mdp, void *unused __unused)
print_kenv();
/*
+ * Re-initialise MPP
+ */
+ platform_mpp_init();
+
+ /*
* Re-initialise decode windows
*/
if (soc_decode_win() != 0)
OpenPOWER on IntegriCloud