Skip to content

Commit

Permalink
ARM: davinci: da850-evm: specify the chipselect in davinci_nand_pdata
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Sekhar Nori <[email protected]>
  • Loading branch information
brgl authored and nsekhar committed May 2, 2018
1 parent 8fb6ca6 commit 4fe714c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/mach-davinci/board-da850-evm.c
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ static struct davinci_aemif_timing da850_evm_nandflash_timing = {
};

static struct davinci_nand_pdata da850_evm_nandflash_data = {
.core_chipsel = 1,
.parts = da850_evm_nandflash_partition,
.nr_parts = ARRAY_SIZE(da850_evm_nandflash_partition),
.ecc_mode = NAND_ECC_HW,
Expand Down

0 comments on commit 4fe714c

Please sign in to comment.