You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/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>
8 years ago
..
base-files lantiq: use the device tree bindings from rt2x00 driver 8 years ago
dts lantiq: use the device tree bindings from rt2x00 driver 8 years ago
files/firmware/lantiq move GPHY FW blobs to non versioned folder 11 years ago
image lantiq: use new build code for DGN3500 8 years ago
patches-4.4 lantiq: fix pci issue if mem kernel parameter is used 8 years ago
xrx200 lantiq: add vpe/watchdog modules to kernel 8 years ago
xway lantiq: switch from 34k to 24k 8 years ago
xway_legacy lantiq: switch from 34k to 24k 8 years ago
Makefile use immediate set in target Makefiles 8 years ago
config-4.4 lantiq: add cpu temperatur sensor driver for xrx200 8 years ago
modules.mk fix i2c-lantiq module 12 years ago