mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-09-21 03:43:03 +00:00
msm-nand: Enable interleave mode based on modem build ID.
Add build id detection to enable the interleave mode feature in the driver. In the interleave mode image ( boot, userdata etc ) codewords are written to the NAND devices in a interleave fashion. Hence modem and apps should operate in the same mode to read/write the images properly. Change-Id: Ie9182eadd5750662dde07abfe793b4d231cf0ae1 Signed-off-by: Murali Nalajala <mnalajal@qualcomm.com> (cherry picked from commit e80fa943d6aba79406c5793c84c5afa076a84e0c) Conflicts: arch/arm/mach-msm/board-msm7x30.c arch/arm/mach-msm/devices-msm7x30.c drivers/mtd/devices/msm_nand.c
This commit is contained in:
parent
6fcb181016
commit
661084a7e9
|
@ -22,6 +22,7 @@ enum sw_version {
|
|||
* map_name: the map probe function name
|
||||
* name: flash device name (eg, as used with mtdparts=)
|
||||
* width: width of mapped device
|
||||
* interleave: interleave mode feature support
|
||||
* init: method called at driver/device initialisation
|
||||
* exit: method called at driver/device removal
|
||||
* set_vpp: method called to enable or disable VPP
|
||||
|
@ -34,6 +35,7 @@ struct flash_platform_data {
|
|||
const char *map_name;
|
||||
const char *name;
|
||||
unsigned int width;
|
||||
unsigned int interleave;
|
||||
int (*init)(void);
|
||||
void (*exit)(void);
|
||||
void (*set_vpp)(int on);
|
||||
|
|
Loading…
Reference in a new issue