mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 03:10:12 +00:00
ARM: davinci: dm644x-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: Bartosz Golaszewski <bgolaszewski@baylibre.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
This commit is contained in:
parent
79b9bb3110
commit
040c6a04bd
1 changed files with 1 additions and 0 deletions
|
@ -152,6 +152,7 @@ static struct davinci_aemif_timing davinci_evm_nandflash_timing = {
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct davinci_nand_pdata davinci_evm_nandflash_data = {
|
static struct davinci_nand_pdata davinci_evm_nandflash_data = {
|
||||||
|
.core_chipsel = 0,
|
||||||
.parts = davinci_evm_nandflash_partition,
|
.parts = davinci_evm_nandflash_partition,
|
||||||
.nr_parts = ARRAY_SIZE(davinci_evm_nandflash_partition),
|
.nr_parts = ARRAY_SIZE(davinci_evm_nandflash_partition),
|
||||||
.ecc_mode = NAND_ECC_HW,
|
.ecc_mode = NAND_ECC_HW,
|
||||||
|
|
Loading…
Reference in a new issue