linux-stable/include/linux/bcma
Brian Norris 5651d6aaf4 mtd: bcm47xxsflash: use ioremap_cache() instead of KSEG0ADDR()
Using KSEG0ADDR makes code highly MIPS dependent and not portable.
Thanks to the fix a68f376 ("MIPS: io.h: Define `ioremap_cache'") we can
use ioremap_cache which is generic and supported on MIPS as well now.

KSEG0ADDR was translating 0x1c000000 into 0x9c000000. With ioremap_cache
we use MIPS's __ioremap (and then remap_area_pages). This results in
different address (e.g. 0xc0080000) but it still should be cached as
expected and it was successfully tested with BCM47186B0.

Other than that drivers/bcma/driver_chipcommon_sflash.c nicely setups a
struct resource for access window, but we wren't using it. Use it now
and drop duplicated info.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
2016-04-04 00:07:57 -07:00
..
bcma.h bcma: add support for BCM47094 2016-02-06 13:46:59 +02:00
bcma_driver_chipcommon.h mtd: bcm47xxsflash: use ioremap_cache() instead of KSEG0ADDR() 2016-04-04 00:07:57 -07:00
bcma_driver_gmac_cmn.h bcma: move internal function declarations to private header 2015-03-05 14:11:43 +02:00
bcma_driver_mips.h bcma: move internal function declarations to private header 2015-03-05 14:11:43 +02:00
bcma_driver_pci.h bcma: make calls to PCI hostmode functions config-safe 2015-06-08 14:33:26 +03:00
bcma_driver_pcie2.h bcma: move internal function declarations to private header 2015-03-05 14:11:43 +02:00
bcma_regs.h bcma: implement host code support for PCIe Gen 2 devices 2015-01-29 10:54:43 +02:00
bcma_soc.h bcma: use standard bus scanning during early register 2015-01-23 21:47:55 +02:00