[U-Boot] [PATCH V3 3/4] i2c: rewrite mvtwsi, support orion5x and kirkwood

2010-08-26 Thread Albert Aribaud
This rewrite of the mvtwsi driver is 25% smaller and much faster and simpler than the previous code. Signed-off-by: Albert Aribaud --- drivers/i2c/mvtwsi.c | 742 +++--- 1 files changed, 334 insertions(+), 408 deletions(-) diff --git a/drivers/i2c/mv

[U-Boot] [PATCH V3 4/4] edminiv2: add I2C support using mvtwsi driver

2010-08-26 Thread Albert Aribaud
Signed-off-by: Albert Aribaud --- include/configs/edminiv2.h |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/include/configs/edminiv2.h b/include/configs/edminiv2.h index 57dd165..36ed392 100644 --- a/include/configs/edminiv2.h +++ b/include/configs/edminiv2.h @@

[U-Boot] [PATCH V3 2/4] i2c: rename kirkwood_i2c to mvtwsi

2010-08-26 Thread Albert Aribaud
This driver is not kirkwood-specific and can also be used e.g. by orion5x. Rename to a SoC-neutral name. Signed-off-by: Albert Aribaud --- drivers/i2c/Makefile |2 +- drivers/i2c/{kirkwood_i2c.c => mvtwsi.c} |0 2 files changed, 1 insertions(+), 1 deletions(-) rename

[U-Boot] [PATCH V3 1/4] suen3: remove CONFIG_HARD_I2C and related defines

2010-08-26 Thread Albert Aribaud
These are not used on this board, which uses soft I2C instead. Signed-off-by: Albert Aribaud --- include/configs/km_arm.h |8 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/include/configs/km_arm.h b/include/configs/km_arm.h index 6519c90..1617e69 100644 --- a/includ

[U-Boot] [PATCH V3 0/4] Improve I2C for orion5x, kirkwood and ED Mini V2

2010-08-26 Thread Albert Aribaud
SUMMARY: This patchset improves the driver for the Marvell TWSI interface found on orion5x and kirkwood SoCs and adds I2C support to the orion5x-based ED Mini V2 board. The mvtwsi driver is a complete rewrite, 50% shorter in source code lines, 25% smaller in object size, much simpler and way faste

Re: [U-Boot] [PATCH 1/2] I2C: add Marvell TWSI simple driver

2010-08-26 Thread Albert ARIBAUD
Le 27/08/2010 07:25, Heiko Schocher a écrit : +#defineMVTWSI_STATUS_DATA_R_NAK0x58 /* our NAK, not the slave's */ >>> >>> line too long. >> >> Checkpatch did not complain on this one. Is there a specific line length >> contraint beside passing checkpatch? > > Yep, 78 characters.

Re: [U-Boot] [PATCH] Orion5x: bugfix: window size (mis)calculation

2010-08-26 Thread Albert ARIBAUD
Le 27/08/2010 07:37, Albert ARIBAUD a écrit : > I think your proposal to handle size 0 as meaning '4 MB' That's 4 *TB*, of course. :) Amicalement, -- Albert. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] Orion5x: bugfix: window size (mis)calculation

2010-08-26 Thread Albert ARIBAUD
Le 27/08/2010 07:00, Chris Moore a écrit : > Hi list, Hi Chris! > [...] > For range 0x to 0x Chris Moore's fast > orion5x_winctrl_calcsize returns 0x > [...] > For range 0x8001 to 0x Chris Moore's fast > orion5x_winctrl_calcsize returns 0x > > AIUI (apart from

Re: [U-Boot] [PATCH V2 3/4] i2c: rewrite mvtwsi, support orion5x and kirkwood

2010-08-26 Thread Heiko Schocher
Hello Albert, Albert Aribaud wrote: > This rewrite of the mvtwsi driver is 25% smaller and much > faster and simpler than the previous code. > > Signed-off-by: Albert Aribaud > --- > drivers/i2c/mvtwsi.c | 748 > +++--- > 1 files changed, 341 insert

Re: [U-Boot] [PATCH 1/2] I2C: add Marvell TWSI simple driver

2010-08-26 Thread Heiko Schocher
Hello Albert, Albert ARIBAUD wrote: > Le 26/08/2010 08:30, Heiko Schocher a écrit : > >> Beside of that, I have just some minor codstyling comments: > > Meanwhile, I've run checkpatch on this file and fixed every warning and > error, thus some of your comments were taken care of in the process.

[U-Boot] [PATCH v4 2/2] TI: DaVinci DA850 EVM: support passing maximum allowed cpu clock rate information to kernel

2010-08-26 Thread Sekhar Nori
The TI DA850/OMAP-L138/AM18x EVM can be populated with devices having different maximum allowed CPU clock rating. The maximum clock the chip can support can only be determined from the label on the package (not software readable). Introduce a method to pass the maximum allowed clock rate informat

[U-Boot] [PATCH 1/2] TI: DaVinci DA850 EVM: add information regarding DA850 in README.davinci

2010-08-26 Thread Sekhar Nori
The README.davinci in documentation folder is missing information regarding DA850 which is a supported DaVinci device. Add this information. Signed-off-by: Sekhar Nori --- applies to latest of U-Boot mainline. doc/README.davinci | 11 +++ 1 files changed, 11 insertions(+), 0 deletion

Re: [U-Boot] [PATCH] Orion5x: bugfix: window size (mis)calculation

2010-08-26 Thread Chris Moore
Hi list, Le 24/08/2010 15:27, Albert Aribaud a écrit : > Fix orion5x_winctrl_calcsize() off-by-1 bug which caused mapping > windows to be cut by half. This afected all windows including NOR > flash (causing half the flash to be unaccessible) but DRAM was and > still is fine as its size is determ

[U-Boot] [PATCH] orion5x: fix comment-in-comment typo in cpu.h

2010-08-26 Thread Albert Aribaud
Signed-off-by: Albert Aribaud --- arch/arm/include/asm/arch-orion5x/cpu.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/include/asm/arch-orion5x/cpu.h b/arch/arm/include/asm/arch-orion5x/cpu.h index 80717f8..6ce02a9 100644 --- a/arch/arm/include/asm/arch-ori

[U-Boot] [PATCH V2 4/4] edminiv2: add I2C support using mvtwsi driver

2010-08-26 Thread Albert Aribaud
Signed-off-by: Albert Aribaud --- include/configs/edminiv2.h |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/include/configs/edminiv2.h b/include/configs/edminiv2.h index 57dd165..36ed392 100644 --- a/include/configs/edminiv2.h +++ b/include/configs/edminiv2.h @@

[U-Boot] [PATCH V2 3/4] i2c: rewrite mvtwsi, support orion5x and kirkwood

2010-08-26 Thread Albert Aribaud
This rewrite of the mvtwsi driver is 25% smaller and much faster and simpler than the previous code. Signed-off-by: Albert Aribaud --- drivers/i2c/mvtwsi.c | 748 +++--- 1 files changed, 341 insertions(+), 407 deletions(-) diff --git a/drivers/i2c/mv

[U-Boot] [PATCH V2 2/4] i2c: rename kirkwood_i2c to mvtwsi

2010-08-26 Thread Albert Aribaud
This driver is not kirkwood-specific and can also be used e.g. by orion5x. Rename to a SoC-neutral name. Signed-off-by: Albert Aribaud --- drivers/i2c/Makefile |2 +- drivers/i2c/{kirkwood_i2c.c => mvtwsi.c} |0 2 files changed, 1 insertions(+), 1 deletions(-) rename

[U-Boot] [PATCH V2 1/4] suen3: remove CONFIG_HARD_I2C and related defines

2010-08-26 Thread Albert Aribaud
These are not used on this board, which uses soft I2C instead. Signed-off-by: Albert Aribaud --- include/configs/km_arm.h |8 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/include/configs/km_arm.h b/include/configs/km_arm.h index 6519c90..1617e69 100644 --- a/includ

[U-Boot] [PATCH V2 0/4] Improve I2C for orion5x, kirkwood and ED Mini V2

2010-08-26 Thread Albert Aribaud
SUMMARY: This patchset improves the driver for the Marvell TWSI interface found on orion5x and kirkwood SoCs and adds I2C support to the orion5x-based ED Mini V2 board. The mvtwsi driver is a complete rewrite, 50% shorter in source code lines, 25% smaller in object size, much simpler and way faste

Re: [U-Boot] [PATCH v4 4/4] mtdparts: new add.spread: add part skipping bad blocks

2010-08-26 Thread Scott Wood
On Mon, Aug 09, 2010 at 04:44:00PM -0400, Ben Gardiner wrote: > +#if defined(CONFIG_CMD_MTDPARTS_SPREAD) > + s = strchr(argv[1], '.'); > + > + if (get_mtd_info(dev->id->type, dev->id->num, &mtd)) > + return 1; > +#endif > + > if ((dev_tmp =

Re: [U-Boot] [PATCH 1/2] I2C: add Marvell TWSI simple driver

2010-08-26 Thread Albert ARIBAUD
Le 26/08/2010 08:30, Heiko Schocher a écrit : > Beside of that, I have just some minor codstyling comments: Meanwhile, I've run checkpatch on this file and fixed every warning and error, thus some of your comments were taken care of in the process. That left: >> +#define MVTWSI_STATUS_DATA

[U-Boot] [PATCH 1/8] APM82xxx: Add CPU support

2010-08-26 Thread tmarri
From: Tirumala Marri APM82XXX is a new line of SoCs which are derivatives of PPC44X family of processors. This patch adds support of CPU, cache, tlb, 32k ocm, bootstraps, PLB and AHB bus. Signed-off-by: Tirumala R Marri --- arch/powerpc/cpu/ppc4xx/cpu.c| 35 ++

[U-Boot] [PATCH 0/8] Add support for new SoC APM82XXX

2010-08-26 Thread tmarri
From: Tirumala Marri APM8 is Applied Micro Circuits Corporations naming convention for new line of SoCs. Tirumala Marri (8): APM82xxx: Add CPU support APM82xxx: Add Common register definitions APM82xxx: Add clock speed calculations APM82xxx: Add DDR support APM82xxx: Add UIC suppo

[U-Boot] [PATCH 2/8] APM82xxx: Add Common register definitions

2010-08-26 Thread tmarri
From: Tirumala Marri This patch adds APM82XXX specific definitions, which include clock and boot strap. Signed-off-by: Tirumala R Marri --- include/ppc440.h | 57 - include/ppc4xx.h |7 +++-- 2 files changed, 59 insertions(+), 5 deletio

[U-Boot] [PATCH 7/8] APM82xxx: Add bluestone board support

2010-08-26 Thread tmarri
From: Tirumala Marri Add support code for bluestone board wth APM82XXX processor based. This patch includes early board init, misc init, configure EBC, and initializes UIC. Signed-off-by: Tirumala R Marri --- arch/powerpc/include/asm/ppc4xx-ebc.h |4 + board/amcc/bluestone/Makefile

[U-Boot] [PATCH 4/8] APM82xxx: Add DDR support

2010-08-26 Thread tmarri
From: Tirumala Marri This patch adds 32bit DDR2 static as well as dynamic setting of different DRAM parameters like CAS and read/write delays. Signed-off-by: Tirumala R Marri --- arch/powerpc/include/asm/ppc4xx-sdram.h | 25 +++-- 1 files changed, 19 insertions(+), 6 dele

[U-Boot] [PATCH 3/8] APM82xxx: Add clock speed calculations

2010-08-26 Thread tmarri
From: Tirumala Marri This patch adds support for speed calculations for different IP blocks, based on the bootstrap values programmed into EPROM device. Signed-off-by: Tirumala R Marri --- arch/powerpc/cpu/ppc4xx/speed.c | 85 ++- 1 files changed, 84 inser

[U-Boot] [PATCH 6/8] APM82xxx: Add SRAM support

2010-08-26 Thread tmarri
From: Tirumala Marri This patch adds L2Cache/SRAM and OCM register definitions. Signed-off-by: Tirumala R Marri --- arch/powerpc/include/asm/ppc4xx-isram.h |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/include/asm/ppc4xx-isram.h b/arch/powerpc/in

[U-Boot] [PATCH 8/8] APM82xxx: Add top level common file changes

2010-08-26 Thread tmarri
From: Tirumala Marri Add bluestone board name to the board.cfg. Change Makefile to include bluestone board support. Modified MAINTAINERS file to include board maintainers name. Modified to include blouestone entry in the MAKEALL file. Signed-off-by: Tirumala R Marri --- MAINTAINERS |3 +++

[U-Boot] [PATCH 5/8] APM82xxx: Add UIC support

2010-08-26 Thread tmarri
From: Tirumala Marri This patch adds Universal Interrupt Controller support for APM82XXX processor. Signed-off-by: Tirumala R Marri --- arch/powerpc/include/asm/ppc4xx-uic.h |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/include/asm/ppc4xx-uic.h b/ar

Re: [U-Boot] [PATCH v4 3/4] mtdparts: add new sub-command "spread"

2010-08-26 Thread Scott Wood
On Mon, Aug 09, 2010 at 04:43:59PM -0400, Ben Gardiner wrote: > +static void spread_partition(struct mtd_info *mtd, struct part_info *part, > + u32 *next_offset) As in patch 2, change u32 to uint64_t. > +{ > + if (!mtd->block_isbad) > +

[U-Boot] [PATCH 3/3] mpc8610: refactor DIU initialization code to use existing bitmap function

2010-08-26 Thread Timur Tabi
The Freescale MPC8610 DIU code has its own bitmap-drawing function, fsl_diu_display_bmp(), which is redundant. Instead, use the existing function video_display_bitmap(). Replacing fsl_diu_display_bmp() with video_display_bitmap() also requires refactoring the DIU initialization code. Signed-off-

Re: [U-Boot] [PATCH] MTD/SPI/FLASH: add support for Ramtron FRAMs using SPI

2010-08-26 Thread Reinhard Meyer
Dear Mike, I have been looking at the possible solutions quite some time now, the issue is rather complex: 1. according to Ramtron, 0x7f is a continuation byte defined in a JEDEC standard (I could not find a spec for that), and shall be ignored until a non-0x7f shows. That shall be Manufacturer I

[U-Boot] [PATCH 8/8] arm/pxa: fix and cleanup of pxa_mem_setup macro (v.3)

2010-08-26 Thread Mikhail Kshevetskiy
WARNING: This macro do not assume the values for K0DB4, KxDB2, KxFREE, K1RUN, K2RUN and APD bits of CONFIG_SYS_MDREFR_VAL as it was done early on many pxa platforms. All pxa developers that plan v1: * strict following to section 6.4.10 of Intel PXA27xx Developer's Manual. * u

[U-Boot] [PATCH 5/8] arm/pxa: decrease environment size and stack size for vpac270 (v.2)

2010-08-26 Thread Mikhail Kshevetskiy
it looks like 4Kb for environment and 64Kb for stack is sufficient v2: rebased against for-wd-master branch Signed-off-by: Mikhail Kshevetskiy --- include/configs/vpac270.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/configs/vpac270.h b/include/configs/vp

[U-Boot] [PATCH 1/8] (RESEND) arm/pxa: remove unused u-boot.lds from board/vpac270

2010-08-26 Thread Mikhail Kshevetskiy
This file is not used, automatically generated u-boot.lds is used instead Signed-off-by: Mikhail Kshevetskiy --- board/vpac270/u-boot.lds | 55 -- 1 files changed, 0 insertions(+), 55 deletions(-) delete mode 100644 board/vpac270/u-boot.lds diff --

[U-Boot] [PATCH 3/8] arm/pxa: cleanup vpac270 config and set CONFIG_SYS_HZ to 1000 (v.2)

2010-08-26 Thread Mikhail Kshevetskiy
* CONFIG_SYS_CLKS_IN_HZ is not used anywhere, so removing it * CONFIG_SYS_HZ is set to 1000 on most architectures, so it seems to be the safe default v2: rebased against for-wd-master branch Signed-off-by: Mikhail Kshevetskiy --- include/configs/vpac270.h |3 +-- 1 files changed, 1 insert

[U-Boot] [PATCH 7/8] arm/pxa: fix MDREFR[APD] bit setting

2010-08-26 Thread Mikhail Kshevetskiy
pxa_mem_setup macro use r6 to store CONFIG_SYS_MDREFR_VAL during memory initialization. This reg is modified during execution of pxa_wait_ticks. Later we use r6 to setup MDREFR[APD] bit. As result MDREFR[APD] is always zero. Signed-off-by: Mikhail Kshevetskiy --- arch/arm/include/asm/arch-pxa/ma

[U-Boot] [PATCH 2/8] (RESEND) arm/pxa: enable stuart/btuart for vpac270

2010-08-26 Thread Mikhail Kshevetskiy
Signed-off-by: Mikhail Kshevetskiy --- include/configs/vpac270.h |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/include/configs/vpac270.h b/include/configs/vpac270.h index 694a8f9..1e4d4c5 100644 --- a/include/configs/vpac270.h +++ b/include/configs/vpac270.h @@ -58,7

[U-Boot] [PATCH 4/8] arm/pxa: fix environment sector size, kernel and environment location for vpac270 (v.2)

2010-08-26 Thread Mikhail Kshevetskiy
Define ENV_ADDR as MONITOR_BASE + MONITOR_LEN. Fix environment sector size (NOR: 32Kb for first four sectors and 128Kb for other; OneNAND: 128Kb). Last but not least: we have MONITOR_LEN = 0x4 and one sector for environment (size = 0x2), so the kernel may start from 0x0006 only. v2: r

[U-Boot] [PATCH 6/8] arm/pxa: increase CONFIG_SYS_MALLOC_LEN to (196Kb + space for environment) (v.2)

2010-08-26 Thread Mikhail Kshevetskiy
it looks like u-boot allocates a buffer of CONFIG_ENV_SECT_SIZE size when making "saveenv" command. In our case CONFIG_ENV_SECT_SIZE is 128Kb, so having CONFIG_SYS_MALLOC_LEN = 128Kb is not sufficient. Increase CONFIG_SYS_MALLOC_LEN to (196Kb + space for environment) to resolve a problem. v2: reb

Re: [U-Boot] [PATCH v4 2/4] mtdparts: show net size in mtdparts list

2010-08-26 Thread Scott Wood
On Mon, Aug 09, 2010 at 04:43:58PM -0400, Ben Gardiner wrote: > diff --git a/common/cmd_mtdparts.c b/common/cmd_mtdparts.c > index 772ad54..500a38e 100644 > --- a/common/cmd_mtdparts.c > +++ b/common/cmd_mtdparts.c > @@ -1215,18 +1215,65 @@ static int generate_mtdparts_save(char *buf, u32 > buflen

Re: [U-Boot] [PATCH] ppc4xx: Fix 440EPx bug in reconfigure_pll()

2010-08-26 Thread Victor Gallardo
Hi Stefan, > This patch fixes a bug in reconfigure_pll(), where the detection of > the current bootstrap option is wrong. The ICS bits where incorrectly > shifted. This bug was found on the lwmon5 board, which uses bootstrap > option H (I2C bootstrap EEPROM). > > Additionally a bit of code was mov

Re: [U-Boot] TFTP timeout issue while downloading the linux kernel in openpxa vpac270 u-boot source code

2010-08-26 Thread Marek Vasut
Dne Čt 26. srpna 2010 17:06:08 StephenPaulraj Chinnadurai-ERS,HCLTech napsal(a): > -Original Message- > From: Marek Vasut [mailto:marek.va...@gmail.com] > Sent: Thursday, August 26, 2010 5:56 PM > To: StephenPaulraj Chinnadurai-ERS,HCLTech > Cc: u-boot@lists.denx.de; Wolfgang Denk > Subject

[U-Boot] [PATCH] ppc4xx: Fix 440EPx bug in reconfigure_pll()

2010-08-26 Thread Stefan Roese
This patch fixes a bug in reconfigure_pll(), where the detection of the current bootstrap option is wrong. The ICS bits where incorrectly shifted. This bug was found on the lwmon5 board, which uses bootstrap option H (I2C bootstrap EEPROM). Additionally a bit of code was moved into the if statemen

Re: [U-Boot] TFTP timeout issue while downloading the linux kernel in openpxa vpac270 u-boot source code

2010-08-26 Thread StephenPaulraj Chinnadurai-ERS,HCLTech
-Original Message- From: Marek Vasut [mailto:marek.va...@gmail.com] Sent: Thursday, August 26, 2010 5:56 PM To: StephenPaulraj Chinnadurai-ERS,HCLTech Cc: u-boot@lists.denx.de; Wolfgang Denk Subject: Re: [U-Boot] TFTP timeout issue while downloading the linux kernel in openpxa vpac270 u-b

Re: [U-Boot] [PATCH] IDE: Don't assume there are always two devices per bus

2010-08-26 Thread Rogan Dawes
On 2010/08/16 7:47 AM, Rogan Dawes wrote: > From: Rogan Dawes > > Some SATA controllers can operate in an IDE compatible mode (e.g. mvsata) > but will only ever have a single device per bus. > > This allows the upcoming DNS323 port to properly identify and use > a drive on both SATA interfaces.

Re: [U-Boot] TFTP timeout issue while downloading the linux kernel in openpxa vpac270 u-boot source code

2010-08-26 Thread Marek Vasut
Dne St 25. srpna 2010 11:03:30 StephenPaulraj Chinnadurai-ERS,HCLTech napsal(a): > Hello Marek, > > I increased the memory clock speed from 104 MHz to 208 MHz in the PXA270 > controller by including the following lines of in the .macro > pxa_clock_setup (macro.h file) > > ldr r0, =0x8

Re: [U-Boot] [PATCH 11/11] arm/pxa: fix and cleanup of pxa_mem_setup macro v2

2010-08-26 Thread Marek Vasut
Dne Čt 26. srpna 2010 12:55:46 Mikhail Kshevetskiy napsal(a): > WARNING: This macro do not assume the values for K0DB4, KxDB2, KxFREE, > K1RUN, K2RUN and APD bits of CONFIG_SYS_MDREFR_VAL as it was > done early on many pxa platforms. All pxa developers that plan > to use

Re: [U-Boot] [PATCH 4/4] net: Add LL TEMAC driver to u-boot

2010-08-26 Thread Michal Simek
Michal Simek wrote: > Add Xilinx LL Temac driver to u-boot. > > Signed-off-by: Michal Simek Ben: any comment on this patch? Thanks, Michal -- Michal Simek, Ing. (M.Eng) w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/ Microblaze

Re: [U-Boot] [PATCH 2/4] net: Move Emaclite to NET_MULTI

2010-08-26 Thread Michal Simek
Michal Simek wrote: > Emaclite was using old net api that's why > this patch move emaclite to NET_MULTI api. > > Signed-off-by: Michal Simek Ben: any comment on this patch? Thanks, Michal -- Michal Simek, Ing. (M.Eng) w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel 2.6 Microbl

[U-Boot] [PATCH] Orion5x: Correct DRAM bank detection

2010-08-26 Thread Rogan Dawes
This code was referencing the wrong register, and only happened to "work" because the DRAM on both users of this code happened to be a single bank located at address 0. Signed-off-by: Rogan Dawes --- Prafulla, according to Albert, this code was copied from the Kirkwood code, and may be incorr

Re: [U-Boot] [PATCH 10/11] arm/pxa: fix sdram memory layout for vpac270

2010-08-26 Thread Marek Vasut
Dne Čt 26. srpna 2010 12:55:45 Mikhail Kshevetskiy napsal(a): > The board have only 128 Mb of memory and only two first memory banks are > used. Also remove unneeded CONFIG_SYS_DRAM_SIZE constant and set default > load address to be in sdram. > > PS: This patch should not go upstream at this point

Re: [U-Boot] [PATCH 09/11] arm/pxa: fix number of cfi flashes in vpac270

2010-08-26 Thread Marek Vasut
Dne Čt 26. srpna 2010 12:55:44 Mikhail Kshevetskiy napsal(a): > This board have only one CFI flash actually, so fix it in config. > > PS: This patch should not go upstream at this point as it specific > to my revision of voipac > This is a PRO module, right? I got my hands on one and support

Re: [U-Boot] [PATCH 08/11] arm/pxa: increase CONFIG_SYS_MALLOC_LEN to (196Kb + space for environment)

2010-08-26 Thread Marek Vasut
Dne Čt 26. srpna 2010 12:48:03 Mikhail Kshevetskiy napsal(a): > it looks like u-boot allocates a buffer of CONFIG_ENV_SECT_SIZE > size when making "saveenv" command. In our case CONFIG_ENV_SECT_SIZE > is 128Kb, so having CONFIG_SYS_MALLOC_LEN = (128Kb + space for > environment) is not sufficient. >

Re: [U-Boot] [PATCH 07/11] arm/pxa: decrease environment size and stack size for vpac270

2010-08-26 Thread Marek Vasut
Dne Čt 26. srpna 2010 12:48:02 Mikhail Kshevetskiy napsal(a): > it looks like 4Kb for environment and 64Kb for stack is sufficient Wolfgang, what's your opinion? Thanks > > Signed-off-by: Mikhail Kshevetskiy > --- > include/configs/vpac270.h |4 ++-- > 1 files changed, 2 insertions(+), 2 d

Re: [U-Boot] [PATCH 06/11] arm/pxa: remove CONFIG_ENV_OVERWRITE from vpac270 config

2010-08-26 Thread Marek Vasut
Dne Čt 26. srpna 2010 12:48:01 Mikhail Kshevetskiy napsal(a): > it is not required and not recommended. If CONFIG_ENV_OVERWRITE is #defined in your config file, the write protection for vendor parameters is completely disabled. Anybody can change or delete these parameters. I think that's ok. Any

Re: [U-Boot] [PATCH 05/11] arm/pxa: fix environment location/length for vpac270 and related bugs.

2010-08-26 Thread Marek Vasut
Dne Čt 26. srpna 2010 12:48:00 Mikhail Kshevetskiy napsal(a): > Define MONITOR_BASE on the base of used flash type. Define ENV_ADDR as > MONITOR_BASE + MONITOR_LEN. Fix environment sector size (NOR: 32Kb for > first four sectors and 128Kb for other; OneNAND: 128Kb). > > Last but not least: we have

[U-Boot] [PATCH 11/11] arm/pxa: fix and cleanup of pxa_mem_setup macro v2

2010-08-26 Thread Mikhail Kshevetskiy
WARNING: This macro do not assume the values for K0DB4, KxDB2, KxFREE, K1RUN, K2RUN and APD bits of CONFIG_SYS_MDREFR_VAL as it was done early on many pxa platforms. All pxa developers that plan to use this macro should check the validity of their MDREFR values. v1: *

[U-Boot] [PATCH 10/11] arm/pxa: fix sdram memory layout for vpac270

2010-08-26 Thread Mikhail Kshevetskiy
The board have only 128 Mb of memory and only two first memory banks are used. Also remove unneeded CONFIG_SYS_DRAM_SIZE constant and set default load address to be in sdram. PS: This patch should not go upstream at this point as it specific to my revision of voipac Signed-off-by: Mikhail Ksh

[U-Boot] [PATCH 09/11] arm/pxa: fix number of cfi flashes in vpac270

2010-08-26 Thread Mikhail Kshevetskiy
This board have only one CFI flash actually, so fix it in config. PS: This patch should not go upstream at this point as it specific to my revision of voipac Signed-off-by: Mikhail Kshevetskiy --- include/configs/vpac270.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff

Re: [U-Boot] Non-experimental U-Boot compilation

2010-08-26 Thread sandeep suresh
Dear All,   After erasing the data flash, NAnd flash and installing the Bootstrap loader and U-Boot, the problem is solved. I have a U-Boot prompt using which I should be able to proceed further. Before building the Linux kernel and file system, I want to experiment with prebuilt images of

[U-Boot] [PATCH 07/11] arm/pxa: decrease environment size and stack size for vpac270

2010-08-26 Thread Mikhail Kshevetskiy
it looks like 4Kb for environment and 64Kb for stack is sufficient Signed-off-by: Mikhail Kshevetskiy --- include/configs/vpac270.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/configs/vpac270.h b/include/configs/vpac270.h index c8663e8..98faf9a 100644 ---

[U-Boot] [PATCH 08/11] arm/pxa: increase CONFIG_SYS_MALLOC_LEN to (196Kb + space for environment)

2010-08-26 Thread Mikhail Kshevetskiy
it looks like u-boot allocates a buffer of CONFIG_ENV_SECT_SIZE size when making "saveenv" command. In our case CONFIG_ENV_SECT_SIZE is 128Kb, so having CONFIG_SYS_MALLOC_LEN = (128Kb + space for environment) is not sufficient. Increase CONFIG_SYS_MALLOC_LEN to (196Kb + space for environment) to r

[U-Boot] [PATCH 05/11] arm/pxa: fix environment location/length for vpac270 and related bugs.

2010-08-26 Thread Mikhail Kshevetskiy
Define MONITOR_BASE on the base of used flash type. Define ENV_ADDR as MONITOR_BASE + MONITOR_LEN. Fix environment sector size (NOR: 32Kb for first four sectors and 128Kb for other; OneNAND: 128Kb). Last but not least: we have MONITOR_LEN = 0x4, one sector for environment and one sector for it

[U-Boot] [PATCH 06/11] arm/pxa: remove CONFIG_ENV_OVERWRITE from vpac270 config

2010-08-26 Thread Mikhail Kshevetskiy
it is not required and not recommended. Signed-off-by: Mikhail Kshevetskiy --- include/configs/vpac270.h |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/include/configs/vpac270.h b/include/configs/vpac270.h index d3e805a..c8663e8 100644 --- a/include/configs/vpac270.h +

[U-Boot] [PATCH 02/11] arm/pxa: fix board/vpac270/vpac270.c compilation if usb support is disabled

2010-08-26 Thread Mikhail Kshevetskiy
Signed-off-by: Mikhail Kshevetskiy --- board/vpac270/vpac270.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/board/vpac270/vpac270.c b/board/vpac270/vpac270.c index 18e47e2..2f29cf4 100644 --- a/board/vpac270/vpac270.c +++ b/board/vpac270/vpac270.c @@ -73,6 +73,7 @@ in

[U-Boot] [PATCH 03/11] arm/pxa: enable stuart/btuart for vpac270

2010-08-26 Thread Mikhail Kshevetskiy
Signed-off-by: Mikhail Kshevetskiy --- include/configs/vpac270.h |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/include/configs/vpac270.h b/include/configs/vpac270.h index d3e22d9..e31b08a 100644 --- a/include/configs/vpac270.h +++ b/include/configs/vpac270.h @@ -62,7

[U-Boot] [PATCH 04/11] arm/pxa: cleanup vpac270 config and set CONFIG_SYS_HZ to 1000

2010-08-26 Thread Mikhail Kshevetskiy
* CONFIG_SYS_CLKS_IN_HZ is not used anywhere, so removing it * CONFIG_SYS_HZ is set to 1000 on most architectures, so it seems to be the safe default Signed-off-by: Mikhail Kshevetskiy --- include/configs/vpac270.h |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/incl

[U-Boot] [PATCH 01/11] arm/pxa: remove unused u-boot.lds from board/vpac270

2010-08-26 Thread Mikhail Kshevetskiy
This file is not used, automatically generated u-boot.lds is used instead Signed-off-by: Mikhail Kshevetskiy --- board/vpac270/u-boot.lds | 55 -- 1 files changed, 0 insertions(+), 55 deletions(-) delete mode 100644 board/vpac270/u-boot.lds diff --

Re: [U-Boot] [PATCH 1/2] I2C: add Marvell TWSI simple driver

2010-08-26 Thread Albert ARIBAUD
Le 26/08/2010 10:23, Prafulla Wadaskar a écrit : >> We use only soft i2c on this board, so please remove the >> kirkwood_i2c.c >> driver completely. So we have only your driver in tree, which >> is used and >> working. > > Ack. > Regards.. > Prafulla . . Wilco. As a safety and cleanliness measure

Re: [U-Boot] [PATCH v2] SPI: cmd_spi.c: add options to specify bus and mode

2010-08-26 Thread Mike Frysinger
On Thursday, August 26, 2010 04:57:27 Reinhard Meyer wrote: > and cleaned up error messages and help, > removed pointless debug() call. this looks good to me. i'll give it a spin on my hardware when i get a chance, and pull into my sf tree so it doesnt get lost. -mike signature.asc Description

Re: [U-Boot] [PATCH] MTD/SPI/FLASH: add support for Ramtron FRAMs using SPI

2010-08-26 Thread Mike Frysinger
On Thursday, August 26, 2010 04:27:36 Reinhard Meyer wrote: > 1. looking at spi_flash.c, shall I add the standard copyright, > keeping atmel as author? doesnt matter to me > 2. I can find the following lengths of idcode used: > atmel 2 > macronix 3 > ramtron 9 > spansion 5 > sst 3 > stmicro 4 > w

Re: [U-Boot] [PATCH] Use common function to set GPIOs for MX3 and MX5

2010-08-26 Thread Detlev Zundel
Hi Mike, > On Monday, August 23, 2010 17:03:24 Detlev Zundel wrote: >> Hi Stefan, >> > On Monday 23 August 2010 17:55:44 Stefano Babic wrote: >> >> > I am also adding support for S25FL032P chips to the spansion driver. >> >> > Will post a patch later. >> >> >> >> I have seen. However, it should b

Re: [U-Boot] [PATCH] ARMV7: S5P: fix the macro at samsung_get_base function

2010-08-26 Thread Minkyu Kang
On 24 August 2010 16:50, Minkyu Kang wrote: > New line is unnecessary at last line of macro. > > Signed-off-by: Minkyu Kang > --- >  arch/arm/include/asm/arch-s5pc1xx/cpu.h |    2 +- >  1 files changed, 1 insertions(+), 1 deletions(-) > applied to u-boot-samsung Minkyu Kang -- from. prom. www.p

Re: [U-Boot] [PATCH] ARMV7: S5P: rename from CONFIG_S5PC1XX to CONFIG_S5P

2010-08-26 Thread Minkyu Kang
On 23 August 2010 20:01, Minkyu Kang wrote: > Use the same configuration around S5P SoCs. > (s5pc100, s5pc110, s5pc210 and so on) > > Signed-off-by: Minkyu Kang > --- >  common/serial.c               |    4 ++-- >  drivers/gpio/Makefile         |    2 +- >  drivers/mtd/onenand/samsung.c |    6 ++

Re: [U-Boot] [PATCH v2] Add generic support for samsung s3c2440

2010-08-26 Thread Minkyu Kang
Dear C Nauman, On 25 August 2010 03:18, C Nauman wrote: > Minkyu, remove it. please write the commit msg only. > > - This patch adds generic support for the Samsung s3c2440 processor. >       Started from patch posted by Kevin Morfitt. > - v2 Changed struct members to lower case please move th

Re: [U-Boot] [PATCH] MTD/SPI/FLASH: add support for Ramtron FRAMs using SPI

2010-08-26 Thread Reinhard Meyer
Dear Mike, 1. looking at spi_flash.c, shall I add the standard copyright, keeping atmel as author? 2. I can find the following lengths of idcode used: atmel 2 macronix 3 ramtron 9 spansion 5 sst 3 stmicro 4 winbond 3 Do you really want to flexify this? Even before relocation 5 bytes more on stac

Re: [U-Boot] [PATCH 1/2] I2C: add Marvell TWSI simple driver

2010-08-26 Thread Prafulla Wadaskar
> -Original Message- > From: Heiko Schocher [mailto:h...@denx.de] > Sent: Thursday, August 26, 2010 12:17 PM > To: Albert ARIBAUD > Cc: Prafulla Wadaskar; u-boot@lists.denx.de; Heiko Schosher; > Ashish Karkare; Prabhanjan Sarnaik > Subject: Re: [U-Boot] [PATCH 1/2] I2C: add Marvell TWS

[U-Boot] [PATCH v2] SPI: cmd_spi.c: add options to specify bus and mode

2010-08-26 Thread Reinhard Meyer
and cleaned up error messages and help, removed pointless debug() call. Signed-off-by: Reinhard Meyer --- common/cmd_spi.c | 40 +--- 1 files changed, 25 insertions(+), 15 deletions(-) diff --git a/common/cmd_spi.c b/common/cmd_spi.c index bafa217..8c623c9

Re: [U-Boot] [PATCH] NET: add ENC28J60 driver using SPI framework

2010-08-26 Thread Mike Frysinger
On Thursday, August 26, 2010 02:41:56 Reinhard Meyer wrote: > From: Reinhard Meyer > >> > >> Give me a tip how I can change that info. The first patch to this was > >> committed while I used. Squashing other patches into it does not > >> change that. rebase -i, edit, --amend does not present