diff options
| author | Hauke Mehrtens <hauke@hauke-m.de> | 2012-09-29 14:36:17 -0400 |
|---|---|---|
| committer | John W. Linville <linville@tuxdriver.com> | 2012-10-19 15:52:44 -0400 |
| commit | 54c974984e8840c9e20390ce16e3d9f4ea674499 (patch) | |
| tree | 2698ea78262a6fcc3fe29a1dbf1f33e04c9448dd /include/linux | |
| parent | e5c9d7c0757c2e1dcd7e3130b4c3446a7e9236c8 (diff) | |
ssb: move parallel flash config into an own struct
This is a preparing step for adding serial flash support.
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/ssb/ssb_driver_mips.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/linux/ssb/ssb_driver_mips.h b/include/linux/ssb/ssb_driver_mips.h index 5f44e9740cd2..5d057db53071 100644 --- a/include/linux/ssb/ssb_driver_mips.h +++ b/include/linux/ssb/ssb_driver_mips.h | |||
| @@ -13,6 +13,11 @@ struct ssb_serial_port { | |||
| 13 | unsigned int reg_shift; | 13 | unsigned int reg_shift; |
| 14 | }; | 14 | }; |
| 15 | 15 | ||
| 16 | struct ssb_pflash { | ||
| 17 | u8 buswidth; | ||
| 18 | u32 window; | ||
| 19 | u32 window_size; | ||
| 20 | }; | ||
| 16 | 21 | ||
| 17 | struct ssb_mipscore { | 22 | struct ssb_mipscore { |
| 18 | struct ssb_device *dev; | 23 | struct ssb_device *dev; |
| @@ -20,9 +25,7 @@ struct ssb_mipscore { | |||
| 20 | int nr_serial_ports; | 25 | int nr_serial_ports; |
| 21 | struct ssb_serial_port serial_ports[4]; | 26 | struct ssb_serial_port serial_ports[4]; |
| 22 | 27 | ||
| 23 | u8 flash_buswidth; | 28 | struct ssb_pflash pflash; |
| 24 | u32 flash_window; | ||
| 25 | u32 flash_window_size; | ||
| 26 | }; | 29 | }; |
| 27 | 30 | ||
| 28 | extern void ssb_mipscore_init(struct ssb_mipscore *mcore); | 31 | extern void ssb_mipscore_init(struct ssb_mipscore *mcore); |
