svn commit: r297714 - head/sys/mips/mediatek
Stanislav Galabov
sgalabov at FreeBSD.org
Fri Apr 8 15:13:39 UTC 2016
Author: sgalabov
Date: Fri Apr 8 15:13:38 2016
New Revision: 297714
URL: https://svnweb.freebsd.org/changeset/base/297714
Log:
Fix wrong memory mapping
In mtk_soc.c memory is mapped incorrectly for MT7621. This revision fixes
this.
Approved by: adrian (mentor)
Sponsored by: Smartcom - Bulgaria AD
Differential Revision: https://reviews.freebsd.org/D5882
Modified:
head/sys/mips/mediatek/mtk_soc.c
Modified: head/sys/mips/mediatek/mtk_soc.c
==============================================================================
--- head/sys/mips/mediatek/mtk_soc.c Fri Apr 8 15:08:22 2016 (r297713)
+++ head/sys/mips/mediatek/mtk_soc.c Fri Apr 8 15:13:38 2016 (r297714)
@@ -257,7 +257,7 @@ mtk_soc_try_early_detect(void)
else
base = MTK_DEFAULT_BASE;
- if (bus_space_map(bst, MTK_DEFAULT_BASE, MTK_DEFAULT_SIZE, 0, &bsh))
+ if (bus_space_map(bst, base, MTK_DEFAULT_SIZE, 0, &bsh))
return;
/* First, figure out the CPU clock */
More information about the svn-src-head
mailing list