]> git.baikalelectronics.ru Git - kernel.git/commit
bcma: mark nflash if it is the boot flash
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 29 Sep 2012 18:33:51 +0000 (20:33 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 19 Oct 2012 19:52:37 +0000 (15:52 -0400)
commit35041daf19cfa3e956cba5b10e0839c12b7e4243
tree504565efbb8010462b0d8d511000096dceffe4a0
parentb19c0650b1a52b467b6f3c5880ebd019717c147d
bcma: mark nflash if it is the boot flash

There are some devices which are able to boot from nand flash and other
are using a serial flash for booting. Add a bool to indicate that the
device is booted from that flash chip and not from some other chip also
connected to the SoC. This is needed to find the nvram, as it is stored
on the flash the devices booted from.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/bcma/driver_chipcommon_nflash.c
include/linux/bcma/bcma_driver_chipcommon.h