diff options
author | Dave Airlie <airlied@redhat.com> | 2014-06-05 06:28:59 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2014-06-05 06:28:59 -0400 |
commit | 8d4ad9d4bb0a618c975a32d77087694ec6336f68 (patch) | |
tree | d18d12688174a623e3503b11118e44ef8186c90b /drivers/mtd/nand/davinci_nand.c | |
parent | 5ea1f752ae04be403a3dc8ec876a60d7f5f6990a (diff) | |
parent | 9e9a928eed8796a0a1aaed7e0b676db86ba84594 (diff) |
Merge commit '9e9a928eed8796a0a1aaed7e0b676db86ba84594' into drm-next
Merge drm-fixes into drm-next.
Both i915 and radeon need this done for later patches.
Conflicts:
drivers/gpu/drm/drm_crtc_helper.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem_execbuffer.c
drivers/gpu/drm/i915/i915_gem_gtt.c
Diffstat (limited to 'drivers/mtd/nand/davinci_nand.c')
-rw-r--r-- | drivers/mtd/nand/davinci_nand.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/mtd/nand/davinci_nand.c b/drivers/mtd/nand/davinci_nand.c index 4615d79fc93f..b922c8efcf40 100644 --- a/drivers/mtd/nand/davinci_nand.c +++ b/drivers/mtd/nand/davinci_nand.c | |||
@@ -523,6 +523,7 @@ static struct nand_ecclayout hwecc4_2048 = { | |||
523 | #if defined(CONFIG_OF) | 523 | #if defined(CONFIG_OF) |
524 | static const struct of_device_id davinci_nand_of_match[] = { | 524 | static const struct of_device_id davinci_nand_of_match[] = { |
525 | {.compatible = "ti,davinci-nand", }, | 525 | {.compatible = "ti,davinci-nand", }, |
526 | {.compatible = "ti,keystone-nand", }, | ||
526 | {}, | 527 | {}, |
527 | }; | 528 | }; |
528 | MODULE_DEVICE_TABLE(of, davinci_nand_of_match); | 529 | MODULE_DEVICE_TABLE(of, davinci_nand_of_match); |
@@ -581,6 +582,11 @@ static struct davinci_nand_pdata | |||
581 | of_property_read_bool(pdev->dev.of_node, | 582 | of_property_read_bool(pdev->dev.of_node, |
582 | "ti,davinci-nand-use-bbt")) | 583 | "ti,davinci-nand-use-bbt")) |
583 | pdata->bbt_options = NAND_BBT_USE_FLASH; | 584 | pdata->bbt_options = NAND_BBT_USE_FLASH; |
585 | |||
586 | if (of_device_is_compatible(pdev->dev.of_node, | ||
587 | "ti,keystone-nand")) { | ||
588 | pdata->options |= NAND_NO_SUBPAGE_WRITE; | ||
589 | } | ||
584 | } | 590 | } |
585 | 591 | ||
586 | return dev_get_platdata(&pdev->dev); | 592 | return dev_get_platdata(&pdev->dev); |