mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
Merge commit '9f12600fe4' into for-linus
Backmerge of dcache.c changes from mainline. It's that, or complete rebase... Conflicts: fs/splice.c Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
commit
9c1d5284c7
599 changed files with 7374 additions and 3790 deletions
|
|
@ -523,6 +523,7 @@ static struct nand_ecclayout hwecc4_2048 = {
|
|||
#if defined(CONFIG_OF)
|
||||
static const struct of_device_id davinci_nand_of_match[] = {
|
||||
{.compatible = "ti,davinci-nand", },
|
||||
{.compatible = "ti,keystone-nand", },
|
||||
{},
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, davinci_nand_of_match);
|
||||
|
|
@ -581,6 +582,11 @@ static struct davinci_nand_pdata
|
|||
of_property_read_bool(pdev->dev.of_node,
|
||||
"ti,davinci-nand-use-bbt"))
|
||||
pdata->bbt_options = NAND_BBT_USE_FLASH;
|
||||
|
||||
if (of_device_is_compatible(pdev->dev.of_node,
|
||||
"ti,keystone-nand")) {
|
||||
pdata->options |= NAND_NO_SUBPAGE_WRITE;
|
||||
}
|
||||
}
|
||||
|
||||
return dev_get_platdata(&pdev->dev);
|
||||
|
|
|
|||
Loading…
Reference in a new issue