265dfbd9ae4388d582dd58e66aff24f4c30831ed |
|
24-Mar-2013 |
Rafał Miłecki <zajec5@gmail.com> |
mtd: bcm47xxsflash: implement ChipCommon R/W ops They are needed for erasing/writing. Use a magic pointers and small functions to prepare code for adding other buses support in the future (like SSB). Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
|
a6fb35d3790aeaaaa50575c68fa188da29da6ecf |
|
06-Mar-2013 |
Rafał Miłecki <zajec5@gmail.com> |
mtd: bcm47xxsflash: define opcodes We need them to add erase/write support. This may duplicate some defines with bcma and/or ssb code, but it makes more sense to keep that in bcm47xxsflash which is supposed to work with both buses. Duplicated defines will be removed from ssb/bcma. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
|
1f816bc729fd5dec7c3633b0a54b75dc7a1fea0f |
|
06-Mar-2013 |
Rafał Miłecki <zajec5@gmail.com> |
mtd: bcm47xxsflash: store info about flash type It's going to be needed for erase and write operations, they differ between Atmel and ST flashes. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
|
41c81536ea25d17933b5b503053a5990ec05502a |
|
06-Mar-2013 |
Rafał Miłecki <zajec5@gmail.com> |
mtd: bcm47xxsflash: keep a reference to the BCMA To implement erase and write support we need to "talk" with ChipCommon BCMA core which serial flash it attached to. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
|
a2f74a7dacc1c17a0b146eb3112217874c5db436 |
|
06-Jan-2013 |
Rafał Miłecki <zajec5@gmail.com> |
mtd: bcm47xxsflash: add own struct for abstrating bus type Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
|