[U-Boot] Fwd: [PATCH] Add support s3c2440 NAND controller

2012-04-24 Thread Ilya Averyanov
Dear Marek Vasut Dear Ilya Averyanov, please always Cc the mainline list. Also, I'm now s3c2440 person, I have no relationship with this chip at all ...  arch/arm/include/asm/arch-s3c24x0/s3c2410.h |    4 +-  arch/arm/include/asm/arch-s3c24x0/s3c2440.h |    4 +-  arch/arm/include/asm

Re: [U-Boot] [PATCH] Add support s3c2440 NAND controller

2012-04-24 Thread Ilya Averyanov
Dear Marek Vasut Dear Ilya Averyanov, please always Cc the mainline list. Also, I'm now s3c2440 person, I have no relationship with this chip at all ...  arch/arm/include/asm/arch-s3c24x0/s3c2410.h |    4 +-  arch/arm/include/asm/arch-s3c24x0/s3c2440.h |    4 +-  arch/arm/include/asm

Re: [U-Boot] [PATCH v3] Add support for MINI2440 (s3c2440). Documentation about the product can be found on: http://www.friendlyarm.net/products/mini2440

2012-04-23 Thread Ilya Averyanov
Dear Marek Vasut, Would you please explain, why do you want to initialize the sdram has been in C code. If for provide this feature should be written assembly code. And it would sometimes even harder than the initialization code sdram? 2012/4/21 Marek Vasut ma...@denx.de Dear Ilya Averyanov

Re: [U-Boot] [PATCH v3] Add support for MINI2440 (s3c2440). Documentation about the product can be found on: http://www.friendlyarm.net/products/mini2440

2012-04-23 Thread Ilya Averyanov
2012/4/23 Marek Vasut ma...@denx.de Dear Ilya Averyanov, Dear Marek Vasut, Would you please explain, why do you want to initialize the sdram has been in C code. Ok, no problem: - You'll be able to call get_ram_size() to scan for ram size as any other board - SDRAM driver will fit

Re: [U-Boot] [PATCH] Add support s3c2440 NAND controller

2012-04-22 Thread Ilya Averyanov
2012/4/19 Ilya Averyanov averyano...@gmail.com arch/arm/include/asm/arch-s3c24x0/s3c2410.h |4 +- arch/arm/include/asm/arch-s3c24x0/s3c2440.h |4 +- arch/arm/include/asm/arch-s3c24x0/s3c24x0.h | 13 +- drivers/mtd/nand/Makefile |3 +- drivers/mtd/nand

Re: [U-Boot] [PATCH v3] Add support for MINI2440 (s3c2440). Documentation about the product can be found on: http://www.friendlyarm.net/products/mini2440

2012-04-21 Thread Ilya Averyanov
2012/4/21 Vasily Khoruzhick anars...@gmail.com 2012/4/21 Ilya Averyanov averyanovin+ub...@gmail.com: No have problem. Available only if you boot from NOR flash. If you boot from the NAND 4kb of SRAM (steppingstone) not available. For NAND boot it's mapped at 0x0 For NOR boot it's

Re: [U-Boot] [PATCH] Add support s3c2440 NAND controller

2012-04-21 Thread Ilya Averyanov
2012/4/19 Ilya Averyanov averyano...@gmail.com arch/arm/include/asm/arch-s3c24x0/s3c2410.h |4 +- arch/arm/include/asm/arch-s3c24x0/s3c2440.h |4 +- arch/arm/include/asm/arch-s3c24x0/s3c24x0.h | 13 +- drivers/mtd/nand/Makefile |3 +- drivers/mtd/nand

Re: [U-Boot] [PATCH v3] Add support for MINI2440 (s3c2440). Documentation about the product can be found on: http://www.friendlyarm.net/products/mini2440

2012-04-20 Thread Ilya Averyanov
2012/4/20 Marek Vasut ma...@denx.de Dear Gabriel Huau, On Thu, Apr 19, 2012 at 10:45:21PM +0200, Marek Vasut wrote: Dear Gabriel Huau, On Thu, Apr 19, 2012 at 10:08:47PM +0200, Marek Vasut wrote: Dear Gabriel Huau, --- Changes for v2: - Coding

Re: [U-Boot] [PATCH v3] Add support for MINI2440 (s3c2440). Documentation about the product can be found on: http://www.friendlyarm.net/products/mini2440

2012-04-20 Thread Ilya Averyanov
2012/4/20 Marek Vasut ma...@denx.de Dear Ilya Averyanov, [...] .word 0x32 +.word 0x30 +.word 0x30 What this undocumented stuff? SoC specific, I pasted it from smdk2410, it's for initialize the DRAM. Can't you init DRAM

Re: [U-Boot] [PATCH v3] Add support for MINI2440 (s3c2440). Documentation about the product can be found on: http://www.friendlyarm.net/products/mini2440

2012-04-20 Thread Ilya Averyanov
2012/4/20 Marek Vasut ma...@denx.de Dear Ilya Averyanov, 2012/4/20 Marek Vasut ma...@denx.de Dear Ilya Averyanov, [...] .word 0x32 +.word 0x30 +.word 0x30 What this undocumented stuff? SoC specific, I pasted

Re: [U-Boot] [PATCH v3] Add support for MINI2440 (s3c2440). Documentation about the product can be found on: http://www.friendlyarm.net/products/mini2440

2012-04-20 Thread Ilya Averyanov
2012/4/20 Ilya Averyanov averyanovin+ub...@gmail.com 2012/4/20 Marek Vasut ma...@denx.de Dear Ilya Averyanov, 2012/4/20 Marek Vasut ma...@denx.de Dear Ilya Averyanov, [...] .word 0x32 +.word 0x30 +.word 0x30 What

Re: [U-Boot] [PATCH v3] Add support for MINI2440 (s3c2440). Documentation about the product can be found on: http://www.friendlyarm.net/products/mini2440

2012-04-20 Thread Ilya Averyanov
2012/4/20 Marek Vasut ma...@denx.de Dear Ilya Averyanov, 2012/4/20 Ilya Averyanov averyanovin+ub...@gmail.com 2012/4/20 Marek Vasut ma...@denx.de Dear Ilya Averyanov, 2012/4/20 Marek Vasut ma...@denx.de Dear Ilya Averyanov, [...] .word

Re: [U-Boot] [PATCH v3] Add support for MINI2440 (s3c2440). Documentation about the product can be found on: http://www.friendlyarm.net/products/mini2440

2012-04-20 Thread Ilya Averyanov
2012/4/21 Marek Vasut ma...@denx.de Dear Vasily Khoruzhick, 2012/4/20 Marek Vasut ma...@denx.de: Which doesn't matter, either way you need stack ... and you can have the stack in cache ;-) s3c24xx has 4kb of SRAM (steppingstone), you can use it for stack Oh, I didn't know that

Re: [U-Boot] [PATCH v3] Add support for MINI2440 (s3c2440)

2012-04-20 Thread Ilya Averyanov
2012/4/21 Gabriel Huau cont...@huau-gabriel.fr On Sat, Apr 21, 2012 at 02:51:46AM +0400, Ilya Averyanov wrote: 2012/4/21 Marek Vasut ma...@denx.de Dear Vasily Khoruzhick, 2012/4/20 Marek Vasut ma...@denx.de: Which doesn't matter, either way you need stack ... and you can have

[U-Boot] [PATCH] Add support s3c2440 NAND controller

2012-04-19 Thread Ilya Averyanov
arch/arm/include/asm/arch-s3c24x0/s3c2410.h |4 +- arch/arm/include/asm/arch-s3c24x0/s3c2440.h |4 +- arch/arm/include/asm/arch-s3c24x0/s3c24x0.h | 13 +- drivers/mtd/nand/Makefile |3 +- drivers/mtd/nand/s3c2410_nand.c | 189 ---

[U-Boot] [PATCH] Fix s3c24x0 timer

2012-04-19 Thread Ilya Averyanov
Timer in s3c24x0 arch very old and use global variable. This patch fix it and use DECLARE_GLOBAL_DATA_PTR diff --git a/arch/arm/cpu/arm920t/s3c24x0/timer.c b/arch/arm/cpu/arm920t/s3c24x0/timer.c index 9571870..3ded465 100644 --- a/arch/arm/cpu/arm920t/s3c24x0/timer.c +++

Re: [U-Boot] [PATCH v3] Add support for MINI2440 (s3c2440). Documentation about the product can be found on: http://www.friendlyarm.net/products/mini2440

2012-04-19 Thread Ilya Averyanov
2012/4/20 Marek Vasut ma...@denx.de Dear Gabriel Huau, On Thu, Apr 19, 2012 at 10:08:47PM +0200, Marek Vasut wrote: Dear Gabriel Huau, --- Changes for v2: - Coding style cleanup - Remove unnecessary files modification - Remove unnecessary board