mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
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
This commit is contained in:
parent
b3f7b13945
commit
1ccd15cac7
1 changed files with 1 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue