ar71xx/sysmocom: set art table even for 8mb devices to the last sector of 16mb
This is possible because the memory will be wrapped around when using the mapped spi memory space.
This commit is contained in:
parent
f79215acdd
commit
acd543359d
|
@ -164,7 +164,7 @@ static void __init sysmocom_sob_ap1_setup(void)
|
||||||
|
|
||||||
static void __init sysmocom_sob_ap2_setup(void)
|
static void __init sysmocom_sob_ap2_setup(void)
|
||||||
{
|
{
|
||||||
u8 *art = (u8 *) KSEG1ADDR(0x1f7f0000);
|
u8 *art = (u8 *) KSEG1ADDR(0x1fff0000);
|
||||||
|
|
||||||
sysmocom_common_setup();
|
sysmocom_common_setup();
|
||||||
ath79_register_wmac(art + SYSMOCOM_CALDATA_OFFSET,
|
ath79_register_wmac(art + SYSMOCOM_CALDATA_OFFSET,
|
||||||
|
|
Loading…
Reference in New Issue