openwrt-owl/target/linux/lantiq
Eddi De Pieri 07bc0d6089 lantiq: fix pci issue if mem kernel parameter is used
As specified by e0229a16b0 if the VR9
based router provides FXS ports and they should enabled then the
following must added to the kernel command line:

  mem=[TOTALMEMSIZE-2M] vpe1_load_addr=ADDRESS vpe1_mem=2M

By adding mem= parameter a pci device stop working correctly. The
pci-lantiq.c module use get_num_physpages() to compute dynamically the
memory amount of the board.

The mem= make the module to compute in the wrong way the BAR11MASK, so
in this situation the mask is misaligned with the dma area that the
hardware expects.

This patch is a port of what legacy ifxmips_pci.c does.

Signed-off-by: Eddi De Pieri <eddi@depieri.net>
2016-11-12 21:04:15 +01:00
..
base-files lantiq: use the device tree bindings from rt2x00 driver 2016-11-09 20:02:18 +01:00
dts lantiq: use the device tree bindings from rt2x00 driver 2016-11-09 20:02:18 +01:00
files/firmware/lantiq move GPHY FW blobs to non versioned folder 2013-03-14 18:42:21 +00:00
image lantiq: use new build code for DGN3500 2016-10-19 19:06:15 +02:00
patches-4.4 lantiq: fix pci issue if mem kernel parameter is used 2016-11-12 21:04:15 +01:00
xrx200 lantiq: add vpe/watchdog modules to kernel 2016-10-31 16:51:33 +01:00
xway lantiq: switch from 34k to 24k 2016-08-23 11:55:32 +02:00
xway_legacy lantiq: switch from 34k to 24k 2016-08-23 11:55:32 +02:00
Makefile use immediate set in target Makefiles 2016-09-10 15:30:38 +02:00
config-4.4 lantiq: add cpu temperatur sensor driver for xrx200 2016-08-03 15:30:13 +02:00
modules.mk fix i2c-lantiq module 2012-12-16 10:03:18 +00:00