Commit 092c46498e76904a3c21124131a29edff56ce3ed
Committed by
John W. Linville
1 parent
d28e5e5d96
Exists in
master
and in
20 other branches
ssb: drop BROKEN from SSB_SFLASH
With recent patches ssb can fetch info about serial flash and register it as a platform device. No more reasons to mark it BROKEN. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Cc: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Showing 2 changed files with 4 additions and 6 deletions Side-by-side Diff
drivers/ssb/Kconfig
drivers/ssb/driver_chipcommon_sflash.c
... | ... | @@ -151,8 +151,8 @@ |
151 | 151 | sflash->size = sflash->blocksize * sflash->numblocks; |
152 | 152 | sflash->present = true; |
153 | 153 | |
154 | - pr_info("Found %s serial flash (blocksize: 0x%X, blocks: %d)\n", | |
155 | - e->name, e->blocksize, e->numblocks); | |
154 | + pr_info("Found %s serial flash (size: %dKiB, blocksize: 0x%X, blocks: %d)\n", | |
155 | + e->name, sflash->size / 1024, e->blocksize, e->numblocks); | |
156 | 156 | |
157 | 157 | /* Prepare platform device, but don't register it yet. It's too early, |
158 | 158 | * malloc (required by device_private_init) is not available yet. */ |
... | ... | @@ -160,8 +160,6 @@ |
160 | 160 | sflash->size; |
161 | 161 | ssb_sflash_dev.dev.platform_data = sflash; |
162 | 162 | |
163 | - pr_err("Serial flash support is not implemented yet!\n"); | |
164 | - | |
165 | - return -ENOTSUPP; | |
163 | + return 0; | |
166 | 164 | } |