History log of /linux-master/drivers/bcma/driver_chipcommon_sflash.c
Revision Date Author Comments
# 5651d6aa 26-Feb-2016 Brian Norris <computersforpeace@gmail.com>

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>


# 1b3b36b0 15-Jan-2016 Rafał Miłecki <zajec5@gmail.com>

bcma: support identifying MX25L25635F serial flash

It's a Macronix 32 MiB flash found on board with BCM47189 SoC.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>


# 3ee37305 02-Jan-2014 Hauke Mehrtens <hauke@hauke-m.de>

bcma: fix sparse warnings in driver_chipcommon_sflash.c

CHECK drivers/bcma/driver_chipcommon_sflash.c
drivers/bcma/driver_chipcommon_sflash.c:41:11: warning: Using plain integer as NULL pointer
drivers/bcma/driver_chipcommon_sflash.c:59:11: warning: Using plain integer as NULL pointer
drivers/bcma/driver_chipcommon_sflash.c:70:11: warning: Using plain integer as NULL pointer

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>


# 4a71053e 17-Jun-2013 Rafał Miłecki <zajec5@gmail.com>

bcma: use const for serial flash hardware table

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>


# 58b27101 30-Jan-2013 Rafał Miłecki <zajec5@gmail.com>

bcma: Xflash: reorder includes to make pr_fmt work

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>


# 4dd6ff72 25-Dec-2012 Rafał Miłecki <zajec5@gmail.com>

bcma: correct M25P32 serial flash ID

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>


# e5c9d7c0 29-Sep-2012 Hauke Mehrtens <hauke@hauke-m.de>

bcma: add some more flash chips for serial flash

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>


# cc787081 29-Sep-2012 Hauke Mehrtens <hauke@hauke-m.de>

bcma: add and use constants for the flash windows

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>


# d57ef3a6 10-Aug-2012 Rafał Miłecki <zajec5@gmail.com>

bcma: detect and register serial flash device

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>


# 23cb3b21 17-Jul-2012 Rafał Miłecki <zajec5@gmail.com>

bcma: add place for flash memory support

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>