diff options
author | Michael Buesch <mb@bu3sch.de> | 2009-02-27 10:59:05 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-03-05 14:39:32 -0500 |
commit | e79c1ba84c68de9161d541bd2bcc8ea65c89955c (patch) | |
tree | 9399343651e9d92fb92f0c7bd6280353cb296913 /drivers/ssb/ssb_private.h | |
parent | e31ae0508315ebf5d8b1b8a1fca8550737fb3996 (diff) |
ssb: Add SPROM fallback support
This adds SSB functionality to register a fallback SPROM image from the
architecture setup code.
Weird architectures exist that have half-assed SSB devices without SPROM attached to
their PCI busses. The architecture can register a fallback SPROM image that is
used if no SPROM is found on the SSB device.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Cc: Florian Fainelli <florian@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/ssb/ssb_private.h')
-rw-r--r-- | drivers/ssb/ssb_private.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ssb/ssb_private.h b/drivers/ssb/ssb_private.h index ebc32d8fe15f..57fa482abb94 100644 --- a/drivers/ssb/ssb_private.h +++ b/drivers/ssb/ssb_private.h | |||
@@ -131,6 +131,7 @@ ssize_t ssb_attr_sprom_store(struct ssb_bus *bus, | |||
131 | const char *buf, size_t count, | 131 | const char *buf, size_t count, |
132 | int (*sprom_check_crc)(const u16 *sprom, size_t size), | 132 | int (*sprom_check_crc)(const u16 *sprom, size_t size), |
133 | int (*sprom_write)(struct ssb_bus *bus, const u16 *sprom)); | 133 | int (*sprom_write)(struct ssb_bus *bus, const u16 *sprom)); |
134 | extern const struct ssb_sprom *ssb_get_fallback_sprom(void); | ||
134 | 135 | ||
135 | 136 | ||
136 | /* core.c */ | 137 | /* core.c */ |