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
@ -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…
x
Reference in New Issue
Block a user