提交 4fe714c0 编写于 作者: B Bartosz Golaszewski 提交者: Sekhar Nori

ARM: davinci: da850-evm: specify the chipselect in davinci_nand_pdata

We now have the core_chipsel field in davinci_nand_pdata. Use it
instead of the platform_device id number.
Signed-off-by: NBartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: NSekhar Nori <nsekhar@ti.com>
上级 8fb6ca6b
...@@ -244,6 +244,7 @@ static struct davinci_aemif_timing da850_evm_nandflash_timing = { ...@@ -244,6 +244,7 @@ static struct davinci_aemif_timing da850_evm_nandflash_timing = {
}; };
static struct davinci_nand_pdata da850_evm_nandflash_data = { static struct davinci_nand_pdata da850_evm_nandflash_data = {
.core_chipsel = 1,
.parts = da850_evm_nandflash_partition, .parts = da850_evm_nandflash_partition,
.nr_parts = ARRAY_SIZE(da850_evm_nandflash_partition), .nr_parts = ARRAY_SIZE(da850_evm_nandflash_partition),
.ecc_mode = NAND_ECC_HW, .ecc_mode = NAND_ECC_HW,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册