Re: [U-Boot] [PATCH v2 3/8] am33xx: NAND support

2012-11-21 Thread Tom Rini
On Thu, Nov 15, 2012 at 11:26:59PM +0100, Peter Korsgaard wrote: Ilya Hm. Non-BCH layouts was here because I initially planned to Ilya support nandecc command to switch between supported ECC Ilya schemas... But as Tom requested to remove it I guess we don't Ilya need these layouts any

Re: [U-Boot] [PATCH v2 3/8] am33xx: NAND support

2012-11-15 Thread Ilya Yanok
Hi Peter, On Thu, Nov 8, 2012 at 10:33 AM, Peter Korsgaard jac...@sunsite.dk wrote: Ilya +void enable_gpmc_cs_config(const u32 *gpmc_config, struct gpmc_cs *cs, u32 base, Ilya +u32 size) Ilya +{ Ilya +writel(0, cs-config7); Ilya +sdelay(1000);

Re: [U-Boot] [PATCH v2 3/8] am33xx: NAND support

2012-11-15 Thread Peter Korsgaard
Ilya == Ilya Yanok ilya.ya...@cogentembedded.com writes: Hi, Peter Why? You already do this in enable_gpmc_cs_config(). Ilya Hm... Again, I'm not the one who written this code, I just stole Ilya it ;) but probably the idea was to disable the config even in Ilya case of CONFIG_CMD_NAND

Re: [U-Boot] [PATCH v2 3/8] am33xx: NAND support

2012-11-08 Thread Peter Korsgaard
Ilya == Ilya Yanok ilya.ya...@cogentembedded.com writes: Ilya TI AM33XX has the same GPMC controller as OMAP3 so we could just use the Ilya existing omap_gpmc driver. This patch adds adds required Ilya definitions/intialization. Ilya Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com

[U-Boot] [PATCH v2 3/8] am33xx: NAND support

2012-11-06 Thread Ilya Yanok
TI AM33XX has the same GPMC controller as OMAP3 so we could just use the existing omap_gpmc driver. This patch adds adds required definitions/intialization. Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com --- Changes in v2: - rebased on current master - clean up mem.c (remove unused