diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2008-11-04 15:34:28 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-11-06 00:49:57 -0500 |
commit | f41507245ef8b079685aba8da5b5b2b5e87e70bc (patch) | |
tree | be8c8aee6a6fc3c69d946dcd3fe24306bf89775e /drivers/net/sfc/Kconfig | |
parent | 0a95f56323ce93dac354c1b2d54bf959a985cf7d (diff) |
sfc: Expose flash region storing boot code as MTD
The boot code that appears as a PCI expansion ROM on the SFC4000 is
stored in flash. Expose this as a standard MTD device to allow for
in-place upgrades.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/sfc/Kconfig')
-rw-r--r-- | drivers/net/sfc/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/sfc/Kconfig b/drivers/net/sfc/Kconfig index 3be13b592b4d..3e25fb38f739 100644 --- a/drivers/net/sfc/Kconfig +++ b/drivers/net/sfc/Kconfig | |||
@@ -12,3 +12,11 @@ config SFC | |||
12 | 12 | ||
13 | To compile this driver as a module, choose M here. The module | 13 | To compile this driver as a module, choose M here. The module |
14 | will be called sfc. | 14 | will be called sfc. |
15 | config SFC_MTD | ||
16 | bool "Solarflare Solarstorm SFC4000 flash MTD support" | ||
17 | depends on SFC && MTD | ||
18 | default y | ||
19 | help | ||
20 | This exposes the on-board flash memory as an MTD device (e.g. | ||
21 | /dev/mtd1). This makes it possible to upload new boot code | ||
22 | to the NIC. | ||