diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2012-09-29 22:33:51 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-10-19 23:52:37 +0400 |
commit | e661b75a44cc811426ea005c3cb858e45bd73d57 (patch) | |
tree | 504565efbb8010462b0d8d511000096dceffe4a0 /include/linux | |
parent | cc787081bcab5a83051c2a936927634d066e7284 (diff) | |
download | linux-e661b75a44cc811426ea005c3cb858e45bd73d57.tar.xz |
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>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/bcma/bcma_driver_chipcommon.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/bcma/bcma_driver_chipcommon.h b/include/linux/bcma/bcma_driver_chipcommon.h index 79993969953a..145f3c56227f 100644 --- a/include/linux/bcma/bcma_driver_chipcommon.h +++ b/include/linux/bcma/bcma_driver_chipcommon.h @@ -533,6 +533,7 @@ struct mtd_info; struct bcma_nflash { bool present; + bool boot; /* This is the flash the SoC boots from */ struct mtd_info *mtd; }; |