Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 216817
b: refs/heads/master
c: 0b3fc7b
h: refs/heads/master
i:
  216815: b0e0a66
v: v3
  • Loading branch information
Sekhar Nori authored and Kevin Hilman committed Sep 24, 2010
1 parent 4d135cd commit 222f457
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 18a8505cc130448c8c0a29a46573b46697bf0e42
refs/heads/master: 0b3fc7bb88243371a2bd4a4990fb62a0b722efe7
14 changes: 14 additions & 0 deletions trunk/arch/arm/mach-davinci/board-dm646x-evm.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
#include <mach/nand.h>
#include <mach/clock.h>
#include <mach/cdce949.h>
#include <mach/aemif.h>

#include "clock.h"

Expand Down Expand Up @@ -71,6 +72,16 @@ static struct mtd_partition davinci_nand_partitions[] = {
}
};

static struct davinci_aemif_timing dm6467tevm_nandflash_timing = {
.wsetup = 29,
.wstrobe = 24,
.whold = 14,
.rsetup = 19,
.rstrobe = 33,
.rhold = 0,
.ta = 29,
};

static struct davinci_nand_pdata davinci_nand_data = {
.mask_cle = 0x80000,
.mask_ale = 0x40000,
Expand Down Expand Up @@ -763,6 +774,9 @@ static __init void evm_init(void)
dm646x_init_mcasp0(&dm646x_evm_snd_data[0]);
dm646x_init_mcasp1(&dm646x_evm_snd_data[1]);

if (machine_is_davinci_dm6467tevm())
davinci_nand_data.timing = &dm6467tevm_nandflash_timing;

platform_device_register(&davinci_nand_device);

dm646x_init_edma(dm646x_edma_rsv);
Expand Down

0 comments on commit 222f457

Please sign in to comment.