[U-Boot] [PATCH v2 2/2] net: ftmac100: update get_timer() usages

2011-01-20 Thread Po-Yu Chuang
From: Po-Yu Chuang Use get_timer() the same way as drivers/net/ftgmac100.c Signed-off-by: Po-Yu Chuang --- v2: this patch is splitted from "net: ftmac100: remove unncessary volatiles" drivers/net/ftmac100.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/

[U-Boot] [PATCH v2 1/2] net: ftmac100: remove unncessary volatiles

2011-01-20 Thread Po-Yu Chuang
From: Po-Yu Chuang Signed-off-by: Po-Yu Chuang --- v2: split get_timer() changes to a seperate patch drivers/net/ftmac100.c | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/net/ftmac100.c b/drivers/net/ftmac100.c index 2328cb5..27381a3 100644 --- a/d

[U-Boot] ??: [PATCH v2] include/linux/mii.h: update for supporting GE

2011-01-20 Thread macpaul
Dear Wolfgang, > /home/wd/git/u-boot/work/include/linux/mii.h:134:1: warning: > "LPA_1000HALF" redefined > In file included from uec_phy.c:26: > uec_phy.h:35:1: warning: this is the location of the previous > definition >textdata bss dec hex filename > 327682 28828 2305

[U-Boot] ??: [PATCH v2] include/linux/mii.h: update for supporting GE

2011-01-20 Thread macpaul
Dear Wolfgang, > /home/wd/git/u-boot/work/include/linux/mii.h:133:1: warning: > "LPA_1000FULL" redefined > In file included from uec.c:31: > uec_phy.h:34:1: warning: this is the location of the previous > definition > In file included from /home/wd/git/u-boot/work/include/miiphy.h:37, >

[U-Boot] ??: [PATCH v2] include/linux/mii.h: update for supporting GE

2011-01-20 Thread macpaul
Dear Wolfgang, > > Dear Macpaul Lin, > > In message > <129134-18586-1-git-send-email-macp...@andestech.com> you wrote: > > This file has been synced (copy) from Linux source code. > > This commit was based on kernel 2.6.32. > > It updates gigabit related phy registers and basic definitions

Re: [U-Boot] [PATCH v2] include/linux/mii.h: update for supporting GE

2011-01-20 Thread Wolfgang Denk
Dear Macpaul Lin, In message <129134-18586-1-git-send-email-macp...@andestech.com> you wrote: > This file has been synced (copy) from Linux source code. > This commit was based on kernel 2.6.32. > It updates gigabit related phy registers and basic definitions. > > Signed-off-by: Macpaul Lin

Re: [U-Boot] U-Boot support for board(s) meesc, otc570

2011-01-20 Thread Reinhard Meyer
Dear Daniel Gorsulowski, > Hello Reinhard, > > Reinhard Meyer wrote: >> Dear Daniel Gorsulowski, ... >> The at91sam9260(9xe)ek board builds fine and works. > > I can confirm that. > >> Use that as a template or reference what to do. >> You should *only* need to adapt board/*/files and your config

Re: [U-Boot] [PATCH V3 05/11] I2C: mxc_i2c: address failure with mx35 processor

2011-01-20 Thread Heiko Schocher
Hello Stefano, just a question ... Stefano Babic wrote: > There is sporadic failures when more as one I2C slave > is on the bus and the processor tries to communicate > with more as one slave. > The problem was seen on a mx35pdk (two I2C slaves, > PMIC controller and CAN/RTC chip). > > The curre

Re: [U-Boot] [PATCH v3 1/2] armv7: add support for S5PC210 SoC

2011-01-20 Thread Minkyu Kang
Dear Wolfgang Denk, On 20 January 2011 22:31, Wolfgang Denk wrote: > Dear Minkyu Kang, > > In message <4d382f3e.6080...@samsung.com> you wrote: >> S5PC210 is a 32-bit RISC and Cortex-A9 Dual Core based micro-processor. > ... >> new file mode 100644 >> index 000..69011fc >> --- /dev/null >> ++

[U-Boot] [PATCH] mpc52xx, digsy_mtc_rev5: Fix Linux crash, if no Flash in bank 2

2011-01-20 Thread Heiko Schocher
If no Flash is connected to cs1, Linux crashes, because reg entries are not correct adapted. Following fix is needed: - swap base addresses in CONFIG_SYS_FLASH_BANKS_LIST, as flash bank 1 is on chipselect 0 and flash bank 2 on chipselect 1 - call fdt_fixup_nor_flash_size() from ft_board_setup(

Re: [U-Boot] [PATCH V3 04/11] I2C: mxc_i2c: get rid of __REG access

2011-01-20 Thread Heiko Schocher
Hello Stefano, Stefano Babic wrote: > This driver accesses to processor's register > via __REG macros, that are removed (or are planned > to be removed) and replaced by C structures. > This patches replaces all occurrencies of __REG macros. > > Signed-off-by: Stefano Babic > CC: Heiko Schocher

Re: [U-Boot] [PATCH V2 03/11] mxc_i2c: Add support for the i.MX35 processor

2011-01-20 Thread Heiko Schocher
Hello Stefano, Stefano Babic wrote: > Signed-off-by: Stefano Babic > CC: Heiko Schocher > --- > Changes: > > Wolfgang Denk: > - Do not use XXX in defines because are blocked by SPAM filters > > drivers/i2c/mxc_i2c.c |9 + > 1 files changed, 5 insertions(+), 4 deletions(-) A

Re: [U-Boot] [PATCH] net: ftmac100: remove unncessary volatiles

2011-01-20 Thread Po-Yu Chuang
Hi Sergei, On Thu, Jan 20, 2011 at 11:38 PM, Sergei Shtylyov wrote: > Hello. > > Po-Yu Chuang wrote: > >> From: Po-Yu Chuang > >> This patch also update get_timer() usage. > >   This seems like a material for a separate patch. OK, I will split this to 2 patches later. > [...] >> >> @@ -219,14

Re: [U-Boot] environmental "baudrate" not used at boot up

2011-01-20 Thread Aggrwal Poonam-B10812
> -Original Message- > From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] > On Behalf Of Wood Scott-B07421 > Sent: Thursday, January 20, 2011 1:28 AM > To: chr...@cyberswitching.com > Cc: u-boot@lists.denx.de > Subject: Re: [U-Boot] environmental "baudrate" not used at

[U-Boot] [PATCH v2] Net: Add Intel E1000 82574L PCIe card support

2011-01-20 Thread Roy Zang
Add Intel E1000 82574L PCIe card support. Test on MPC8544DS and MPC8572 board. Add the missing contact information for future support. Signed-off-by: Roy Zang Acked-by: Kumar Gala --- minor style clean up vs. v1 version. drivers/net/e1000.c | 33 + drivers/net

[U-Boot] [PATCH V4 0/4] Add basic NVIDIA Tegra2 SoC support

2011-01-20 Thread Tom Warren
This series of patches adds preliminary/baseline support for NVIDIA's Tegra2 SoC. Basic CPU (AVP), RAM and UART init are covered so that the system (Harmony or Seaboard) can boot to the U-Boot serial cmd prompt. Further support (for Cortex-A9 CPU(s), USB, SD/MMC, etc.) to follow. Changes for V2:

[U-Boot] [PATCH V4 4/4] arm: Tegra2: Add support for NVIDIA Seaboard board

2011-01-20 Thread Tom Warren
Signed-off-by: Tom Warren --- Changes for V2: - Remove mach-types.h change; wait for ARM kernel sync-up - Use board/nvidia instead of board/tegra MAINTAINERS|1 + board/nvidia/seaboard/Makefile | 50 boards.cfg

[U-Boot] [PATCH V4 3/4] arm: Tegra2: Add support for NVIDIA Harmony board

2011-01-20 Thread Tom Warren
Signed-off-by: Tom Warren --- Changes for V2: - Use board/nvidia/ instead of /board/tegra - Change nv-common.h config file to tegra2-common.h MAINTAINERS |4 + board/nvidia/harmony/Makefile | 50 boards.cfg |1 + i

[U-Boot] [PATCH V4 1/4] arm: Tegra2: Add basic NVIDIA Tegra2 SoC support

2011-01-20 Thread Tom Warren
Signed-off-by: Tom Warren --- Changes for V2: - Coding style cleanup - Move serial driver changes to separate patch - Use board/nvidia instead of board/tegra - Remove TRUE/FALSE defines - Use standard NS16550 registers/bit defines in UART init Changes for V

[U-Boot] [PATCH V4 2/4] serial: Add Tegra2 serial port support

2011-01-20 Thread Tom Warren
Signed-off-by: Tom Warren --- Changes for V2: - Move serial driver to separate patch common/serial.c |3 ++- include/serial.h |3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/common/serial.c b/common/serial.c index 051ae4e..8ebf9a5 100644 --- a/common/seria

Re: [U-Boot] powerpc-linux-gnu-ld: Warning: lib_powerpc/fpu/libpostpowerpcfpu.o uses hard float, libpost.o uses soft float

2011-01-20 Thread Kumar Gala
On Jan 20, 2011, at 3:06 PM, Scott Wood wrote: > On Thu, 20 Jan 2011 14:59:02 -0600 > Timur Tabi wrote: > >> Scott Wood wrote: >> >>> I'm not sure what you mean by "Kumar's >>> repository" (u-boot-mpc85xx.git?), >> >> Yes. >> >> but there hasn't been a >>> "lib_powerpc" for a while now. >>

Re: [U-Boot] [PATCH v3 1/4] arm: Tegra2: Add basic NVIDIA Tegra2 SoC support

2011-01-20 Thread Graeme Russ
On Fri, Jan 21, 2011 at 9:50 AM, Wolfgang Denk wrote: > Dear Tom Warren, > > In message you > wrote: >> >> I'll take a look at the ARM asm code generated, but you are probably right. >> But shouldn't the compiler have complained if I wasn't passing the >> struct address? > > I'm surprised about

Re: [U-Boot] USB storage performance EHCI question - ext2fs performance

2011-01-20 Thread Aaron Williams
I now have some more information on the performance issue. It appears to be filesystem related. If I format the drive as FAT32 I am getting a transfer rate of approximately 10MB/second. However, if I format it as ext3 I am seeing a transfer rate of only 101KB/second! The only difference is th

Re: [U-Boot] [PATCH 1/1] DaVinci: Fix DM365 & DM644X build error

2011-01-20 Thread Paulraj, Sandeep
> > Seems this is already fixed by commit > 51861a953aa10fde5c861ca022f0833f326e3041 which is in u-boot-ti/master, > right? > Yes that is correct I believe. Before my vacation I was getting the entire Davinci series of SOCs compiling as they were broken for various reasons and this is one of th

Re: [U-Boot] [PATCH v3 1/4] arm: Tegra2: Add basic NVIDIA Tegra2 SoC support

2011-01-20 Thread Wolfgang Denk
Dear Tom Warren, In message you wrote: > > I run checkpatch.pl (v 0.31) on every patch before I submit it, and I > did see 12 warnings but > no errors. The warnings were minor - new typedefs and volatile > structs. Could you please > provide the text of the checkpatch.pl output so I can see w

Re: [U-Boot] [PATCH v3 1/4] arm: Tegra2: Add basic NVIDIA Tegra2 SoC support

2011-01-20 Thread Wolfgang Denk
Dear Tom Warren, In message you wrote: > > I'll take a look at the ARM asm code generated, but you are probably right. > But shouldn't the compiler have complained if I wasn't passing the > struct address? I'm surprised about this, too. But then, current mainline code still has the horrible "

Re: [U-Boot] [PATCH v3 1/4] arm: Tegra2: Add basic NVIDIA Tegra2 SoC support

2011-01-20 Thread Wolfgang Denk
Dear Tom Warren, In message you wrote: ... > > Are all these uart functions board-specific? They look more > > CPU-specific. If that's the case they should be moved somewhere in > > arch/arm/*. Other boards that use the Tegra2 don't want to duplicate > > this code or link into Nvidia's board/

Re: [U-Boot] [PATCH 1/1] DaVinci: Fix DM365 & DM644X build error

2011-01-20 Thread Albert ARIBAUD
Le 20/01/2011 12:27, Mohammed Afzal a écrit : > DM365& DM644X builds 'davinci_emac_mii_mode_sel()', > which uses 'davinci_syscfg_regs' macro, and the > macro is valid iff CONFIG_SOC_DA8XX is defined. > > Fix: Before compiling 'davinci_emac_mii_mode_sel()', make sure that > CONFIG_SOC_DA8XX is defi

Re: [U-Boot] [PATCH v4 7/8] imximage: Add MX53 boot image support

2011-01-20 Thread Albert ARIBAUD
Le 18/01/2011 11:20, Stefano Babic a écrit : > On 01/18/2011 10:24 AM, Wolfgang Denk wrote: > >> It is not too late. I will not pull this into mainline as is. You >> can rebase your tree. > > No problem on my side. Albert should also drop this patch, because it is > already merged into u-boot-arm

Re: [U-Boot] powerpc-linux-gnu-ld: Warning: lib_powerpc/fpu/libpostpowerpcfpu.o uses hard float, libpost.o uses soft float

2011-01-20 Thread Scott Wood
On Thu, 20 Jan 2011 14:59:02 -0600 Timur Tabi wrote: > Scott Wood wrote: > > > I'm not sure what you mean by "Kumar's > > repository" (u-boot-mpc85xx.git?), > > Yes. > > but there hasn't been a > > "lib_powerpc" for a while now. > > Then what's this: > > http://git.denx.de/?p=u-boot/u-boot-

Re: [U-Boot] powerpc-linux-gnu-ld: Warning: lib_powerpc/fpu/libpostpowerpcfpu.o uses hard float, libpost.o uses soft float

2011-01-20 Thread Timur Tabi
Scott Wood wrote: > I'm not sure what you mean by "Kumar's > repository" (u-boot-mpc85xx.git?), Yes. but there hasn't been a > "lib_powerpc" for a while now. Then what's this: http://git.denx.de/?p=u-boot/u-boot-mpc85xx.git;a=tree;f=post/lib_powerpc;h=0cccba6be270011a259aef734f2637e8d72ec7a1;

Re: [U-Boot] [PATCH] remove (double) LED initialization in arm920t start.s

2011-01-20 Thread Albert ARIBAUD
Le 18/12/2010 13:08, Jens Scharsig a écrit : > * remove LED initialization in front of relocation and bss init > > Signed-off-by: Jens Scharsig > --- > > * prevents run C function on an uninitialized environment > > arch/arm/cpu/arm920t/start.S |3 --- > 1 files changed, 0 insertions(+), 3

Re: [U-Boot] powerpc-linux-gnu-ld: Warning: lib_powerpc/fpu/libpostpowerpcfpu.o uses hard float, libpost.o uses soft float

2011-01-20 Thread Scott Wood
On Thu, 20 Jan 2011 14:37:35 -0600 Timur Tabi wrote: > I'm trying to build Kumar's repository, and I'm getting this error. Is anyone > else seeing this? > > $ make P4080DS_config > awk '(NF && $1 !~ /^#/) { print $1 ": " $1 "_config; $(MAKE)" }' boards.cfg > > .boards.depend > Configuring for P

Re: [U-Boot] [PATCH] arm926ejs: timer: Replace bss variable by gdr

2011-01-20 Thread Albert ARIBAUD
Le 20/01/2011 21:43, Albert ARIBAUD a écrit : > Le 10/12/2010 10:33, Heiko Schocher a écrit : >> Reuse the gd->tbl value for timestamp and add gd->lastinc for lastinc bss >> values in the arm926ejs timers implementation. >> >> The usage of bss values in drivers before initialisation of bss is forbi

Re: [U-Boot] [PATCH] arm926ejs: timer: Replace bss variable by gdr

2011-01-20 Thread Albert ARIBAUD
Le 10/12/2010 10:33, Heiko Schocher a écrit : > Reuse the gd->tbl value for timestamp and add gd->lastinc for lastinc bss > values in the arm926ejs timers implementation. > > The usage of bss values in drivers before initialisation of bss is forbidden. > In that special case some data in .rel.dyn g

[U-Boot] powerpc-linux-gnu-ld: Warning: lib_powerpc/fpu/libpostpowerpcfpu.o uses hard float, libpost.o uses soft float

2011-01-20 Thread Timur Tabi
I'm trying to build Kumar's repository, and I'm getting this error. Is anyone else seeing this? $ make P4080DS_config awk '(NF && $1 !~ /^#/) { print $1 ": " $1 "_config; $(MAKE)" }' boards.cfg > .boards.depend Configuring for P4080DS board... $ make -s powerpc-linux-gnu-ld: Warning: lib_powerpc/

Re: [U-Boot] [PATCH] arm1136: timer: Replace bss variable by gd

2011-01-20 Thread Albert ARIBAUD
Le 19/12/2010 09:45, Heiko Schocher a écrit : > Hello Wolfgang, > > Wolfgang Denk wrote: >> Dear Albert& Heiko, >> >> In message<4d01e031.3090...@free.fr> you wrote: Reuse the gd->tbl value for timestamp and add gd->lastinc for lastinc bss values in the arm1136 timer driver for mx31 and

Re: [U-Boot] [PATCH v2 1/1] ARM: */start.S: code cleanup

2011-01-20 Thread Albert ARIBAUD
Le 18/01/2011 08:27, Andreas Bießmann a écrit : > Dear Jason Liu, > Dear Albert Aribaud, > > Am 17.01.2011 um 20:54 schrieb Jason Liu: > >> Hi, Albert, >> >> 2010/12/23 Jason Liu: >>> Remove the useless code from start.S >>> >>> Signed-off-by: Jason Liu >>> >>> --- >>> Changes for v2: >>> -Address

[U-Boot] [PATCH V4 11/11] Add support for Freescale's mx35pdk board.

2011-01-20 Thread Stefano Babic
The patch adds suupport for the Freescale's mx35pdk board (known as well as mx35_3stack). The board boots from the NOR flash. Following devices are supported: - two ethernet devices (FEC and SMC911x on debug board) - I2C - PMIC (MC13892) via I2C interface - UART - NOR flash (64MB) - NAND fla

[U-Boot] [PATCH V3 11/11] Add support for Freescale's mx35pdk board.

2011-01-20 Thread Stefano Babic
The patch adds suupport for the Freescale's mx35pdk board (known as well as mx35_3stack). The board boots from the NOR flash. Following devices are supported: - two ethernet devices (FEC and SMC911x on debug board) - I2C - PMIC (MC13892) via I2C interface - UART - NOR flash (64MB) - NAND fla

[U-Boot] [PATCH V3 08/11] SPI: mxc_spi: fix swapping bug and add missing swapping in unaligned rx case

2011-01-20 Thread Stefano Babic
From: Anatolij Gustschin We need to shift only one time in each cycle in the swapping loop for unaligned tx case. Currently two byte shift operations are performed in each loop cycle causing zero gaps in the transmited data, so not all data scheduled for transmition is actually transmited. The p

[U-Boot] [PATCH V3 05/11] I2C: mxc_i2c: address failure with mx35 processor

2011-01-20 Thread Stefano Babic
There is sporadic failures when more as one I2C slave is on the bus and the processor tries to communicate with more as one slave. The problem was seen on a mx35pdk (two I2C slaves, PMIC controller and CAN/RTC chip). The current driver uses the IIF bit in the status register to check if the bus is

[U-Boot] [PATCH V3 04/11] I2C: mxc_i2c: get rid of __REG access

2011-01-20 Thread Stefano Babic
This driver accesses to processor's register via __REG macros, that are removed (or are planned to be removed) and replaced by C structures. This patches replaces all occurrencies of __REG macros. Signed-off-by: Stefano Babic CC: Heiko Schocher --- Changes: - fix code styling issues

Re: [U-Boot] [PATCH v3 1/4] arm: Tegra2: Add basic NVIDIA Tegra2 SoC support

2011-01-20 Thread Peter Tyser
On Thu, 2011-01-20 at 09:41 -0700, Tom Warren wrote: > On Wed, Jan 19, 2011 at 5:04 PM, Peter Tyser wrote: > > Hi Tom, > > Some last minutes nits: > > > > It looks like some of the new functions can be declared statically. > > It'd be nice to do so where possible. > Which functions, Peter? Please

Re: [U-Boot] [PATCH v3 1/4] arm: Tegra2: Add basic NVIDIA Tegra2 SoC support

2011-01-20 Thread Tom Warren
Wolfgang, On Thu, Jan 20, 2011 at 1:40 AM, Wolfgang Denk wrote: > Dear Tom Warren, > > In message <1295471986-2395-2-git-send-email-twar...@nvidia.com> you wrote: >> Signed-off-by: Tom Warren > > checkpatch.pl reports: > >        total: 6 errors, 12 warnings, 1155 lines checked > >        /tmp/p

Re: [U-Boot] [PATCH v3 1/4] arm: Tegra2: Add basic NVIDIA Tegra2 SoC support

2011-01-20 Thread Tom Warren
Graeme, On Wed, Jan 19, 2011 at 5:20 PM, Graeme Russ wrote: > On Thu, Jan 20, 2011 at 8:19 AM, Tom Warren wrote: > >> + >> +/* >> + * Routine: uart_clock_init >> + * Description: init the PLL and clock for the UART in uart_num >> + */ >> +void uart_clock_init(int uart_num) >> +{ >> +       clk_r

Re: [U-Boot] [PATCH v3 1/4] arm: Tegra2: Add basic NVIDIA Tegra2 SoC support

2011-01-20 Thread Tom Warren
On Wed, Jan 19, 2011 at 5:04 PM, Peter Tyser wrote: > Hi Tom, > Some last minutes nits: > > It looks like some of the new functions can be declared statically. > It'd be nice to do so where possible. Which functions, Peter? Please point them out specifically, thanks. > > > >> --- /dev/null >> ++

[U-Boot] [PATCH 6/6] UBI: use mtd->writebufsize to set minimal I/O unit size

2011-01-20 Thread Holger Brunck
Previously we used mtd->writesize field to set UBI's minimal I/O unit size. This sometimes caused UBIFS recovery issues when mounting an uncleanly unmounted UBIFS partition on NOR flash since mtd->writesize is 1 byte for NOR flash. The MTD CFI driver however often performs writing multiple bytes in

[U-Boot] [PATCH 5/6] mtd: initialize writebufsize in the MTD object of a partition

2011-01-20 Thread Holger Brunck
Propagate the writebufsize to the partition's MTD object so that UBI can set correct value for it's minimal I/O size using the writebufsize field of MTD object of the partition. Signed-off-by: Holger Brunck --- drivers/mtd/mtdconcat.c |1 + drivers/mtd/mtdpart.c |1 + 2 files changed,

[U-Boot] [PATCH 3/6] mtd, nand: add mtd->writebufsize initialization

2011-01-20 Thread Holger Brunck
Initialize mtd->writebufsize to be equal to mtd->writesize. Signed-off-by: Holger Brunck --- drivers/mtd/nand/nand_base.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c index 3b96b0e..26ae720 100644 --- a/drive

[U-Boot] [PATCH 4/6] mtd, onenand: add mtd writebufsize initialization

2011-01-20 Thread Holger Brunck
Initialize mtd->writebufsize to be equal to mtd->writesize. Signed-off-by: Holger Brunck --- drivers/mtd/onenand/onenand_base.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/onenand/onenand_base.c b/drivers/mtd/onenand/onenand_base.c index 24e02c2..8881672

[U-Boot] [PATCH 2/6] cfi_mtd: add writebufsize initialization

2011-01-20 Thread Holger Brunck
Initialize mtd->writebufsize to the value obtained by by the CFI informations. Signed-off-by: Holger Brunck --- drivers/mtd/cfi_mtd.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/cfi_mtd.c b/drivers/mtd/cfi_mtd.c index cbcc165..29e32b2 100644 --- a/drivers

[U-Boot] [PATCH 1/6] mtd: add writebufsize field to mtd_info struct

2011-01-20 Thread Holger Brunck
This field will be used to indicate the write buffer size of the MTD device. UBI will set it's minimal I/O unit size (min_io_size) to the indicated write buffer size. By this change we intend to fix failed recovery of UBIFS partitions we currently observe on NOR flash when mounting the partition af

[U-Boot] [0/6] Patch serie UBI min I/O size fixes

2011-01-20 Thread Holger Brunck
This patch serie fixes a problem in the UBI layer. The min I/O size has currently a fixed value of 1 for NOR flashes. But for NOR flashes the min I/O size has to be equal to the size of the writebuffer of the flash. Therefore the mtd layer was enhanced with the writebuffer which was later on used i

Re: [U-Boot] [Patch v2] Fix hash table deletion to prevent lost entries

2011-01-20 Thread Peter Barada
On 01/19/2011 03:47 PM, Wolfgang Denk wrote: > Dear Peter Barada, > > In message <4d371208.3090...@logicpd.com> you wrote: The hash delete code is in error; instead of just removing the deleted key, it should instead allocate a new hashtable, hash all the keys into the new table exce

Re: [U-Boot] [PATCH v2 2/2] armv7: add support for s5pc210 universal board

2011-01-20 Thread Wolfgang Denk
Dear seedshope, In message <4d3841b2.8050...@gmail.com> you wrote: ... > > +int dram_init(void) > > +{ > > + gd->ram_size = PHYS_SDRAM_1_SIZE + PHYS_SDRAM_2_SIZE; > It is shoule to use get_ram_size() function This, like the others, are valid comments - but: Can you please explain why you have

Re: [U-Boot] U-boot Config Parameters on Compact Flash

2011-01-20 Thread Dach Miroslaw
Dear Wolfgang, Thank you again for your hints. >Then #define CONFIG_ENV_IS_NOWHERE > >> What would be than your suggestion >> to access (read/write) u-boot (parameters) environ variables? > >Reserve some space (like a tiny partition) somewhere on your CF card; >say 32 sectors for 16 kB environme

Re: [U-Boot] [PATCH] net: ftmac100: remove unncessary volatiles

2011-01-20 Thread Sergei Shtylyov
Hello. Po-Yu Chuang wrote: > From: Po-Yu Chuang > This patch also update get_timer() usage. This seems like a material for a separate patch. > Signed-off-by: Po-Yu Chuang > --- > drivers/net/ftmac100.c | 20 +--- > 1 files changed, 9 insertions(+), 11 deletions(-) > d

[U-Boot] [PATCH] net: ftmac100: remove unncessary volatiles

2011-01-20 Thread Po-Yu Chuang
From: Po-Yu Chuang This patch also update get_timer() usage. Signed-off-by: Po-Yu Chuang --- drivers/net/ftmac100.c | 20 +--- 1 files changed, 9 insertions(+), 11 deletions(-) diff --git a/drivers/net/ftmac100.c b/drivers/net/ftmac100.c index 2328cb5..787d69b 100644 --- a/d

Re: [U-Boot] [PATCH v2 2/2] armv7: add support for s5pc210 universal board

2011-01-20 Thread seedshope
On 01/13/2011 06:16 PM, Minkyu Kang wrote: > This patch adds support for Samsung s5pc210 universal board > > Signed-off-by: Minkyu Kang > Signed-off-by: Kyungmin Park > --- > v2 > remove debug message > > MAINTAINERS |5 +- > MAKEALL

Re: [U-Boot] U-boot Config Parameters on Compact Flash

2011-01-20 Thread Wolfgang Denk
Dear "Dach Miroslaw", In message <1b4f8000449511488d1a640dd6deca350392a...@mailbox0a.psi.ch> you wrote: > > >What do you mean my "u-boot parameters"? > > To be clear I mean u-boot parameters the environment variables which are > denied for example: > CFG_ENV_IS_IN_FLASH > or > CFG_ENV_IS_IN_EE

Re: [U-Boot] [PATCH v3 1/2] armv7: add support for S5PC210 SoC

2011-01-20 Thread Wolfgang Denk
Dear Minkyu Kang, In message <4d382f3e.6080...@samsung.com> you wrote: > S5PC210 is a 32-bit RISC and Cortex-A9 Dual Core based micro-processor. ... > new file mode 100644 > index 000..69011fc > --- /dev/null > +++ b/arch/arm/include/asm/arch-s5pc2xx/uart.h ... > +static int use_divslot = 0;

Re: [U-Boot] U-boot Config Parameters on Compact Flash

2011-01-20 Thread Dach Miroslaw
Hello Wolfgang, Thank you for your quick answer. >What do you mean my "u-boot parameters"? To be clear I mean u-boot parameters the environment variables which are denied for example: CFG_ENV_IS_IN_FLASH or CFG_ENV_IS_IN_EEPROM >Note however that the opposite direction is harder: there is no

[U-Boot] [PATCH v3 2/2] armv7: add support for s5pc210 universal board

2011-01-20 Thread Minkyu Kang
This patch adds support for Samsung s5pc210 universal board Signed-off-by: Minkyu Kang Signed-off-by: Kyungmin Park --- v3 remove config.mk don't add board to MAKEALL v2 remove debug message MAINTAINERS |5 +- board/samsung/universal_c210/Makefile

[U-Boot] [PATCH v3 1/2] armv7: add support for S5PC210 SoC

2011-01-20 Thread Minkyu Kang
S5PC210 is a 32-bit RISC and Cortex-A9 Dual Core based micro-processor. Signed-off-by: Minkyu Kang Signed-off-by: Kyungmin Park --- v3 support s5pc210 EVT1 cpu_id v2 fix typo: RSIC -> RISC, Coretex -> Cortex arch/arm/cpu/armv7/s5pc2xx/Makefile | 42 arch/arm/cpu/armv7/s5pc2x

Re: [U-Boot] [PATCH v2 1/2] armv7: add support for S5PC210 SoC

2011-01-20 Thread Minkyu Kang
On 13 January 2011 19:14, Minkyu Kang wrote: > S5PC210 is a 32-bit RISC and Cortex-A9 Dual Core based micro-processor. > > Signed-off-by: Minkyu Kang > Signed-off-by: Kyungmin Park > --- > v2 >  fixtypo: RSIC -> RISC, Coretex -> Cortex > >  arch/arm/cpu/armv7/s5pc2xx/Makefile           |   42 ++

Re: [U-Boot] U-boot Config Parameters on Compact Flash

2011-01-20 Thread Wolfgang Denk
Dear "Dach Miroslaw", In message <1b4f8000449511488d1a640dd6deca350392a...@mailbox0a.psi.ch> you wrote: > > Compact Flash has few partitions (ie. FAT and EXT2). > Is it possible to configure u-boot to access (ie. read/write) u-boot > parameters which are on Compact Flash as a file? What do you

Re: [U-Boot] Adding support for MX35

2011-01-20 Thread Wolfgang Denk
Dear Stefano Babic, In message <4d381387.50...@denx.de> you wrote: > > > [U-Boot] [PATCH V2 08/11] SPI: mxc_spi: fix swapping bug and add > > total: 0 errors, 1 warnings, 22 lines checked > > Braces, braces...do you agree to follow checkpatch's rule (no braces for > single statement) ? Try it ou

Re: [U-Boot] [PATCH V2 11/11] Add support for Freescale's mx35pdk board.

2011-01-20 Thread Wolfgang Denk
Dear Stefano Babic, In message <4d381237.9040...@denx.de> you wrote: > > >> + /* Print board revision */ > >> + puts(board_detect() ? "2.0" : "1.0"); > >> + > >> + /* Print CPU revision */ > >> + puts(" i.MX35 "); > > > > I mentioned this before: If you make board_detect() return 1 or 2, >

Re: [U-Boot] [PATCH V2 08/11] SPI: mxc_spi: fix swapping bug and add missing swapping in unaligned rx case

2011-01-20 Thread Wolfgang Denk
Dear Stefano Babic, In message <4d380e7f.60...@denx.de> you wrote: > > > [U-Boot] [PATCH V2 08/11] SPI: mxc_spi: fix swapping bug and add > > total: 0 errors, 1 warnings, 22 lines checked > > WARNING: braces {} are not necessary for single statement blocks > #31: FILE: drivers/spi/mxc_spi

[U-Boot] Wir bieten eine Stelle an

2011-01-20 Thread scissors2
Sehr geehrte Ich heibe Chris Collinson und ich habe ein Angebot fur Sie! Unser Unternehmen Jasckson Logistic sucht im Moment neue Arbeitskrafte! Wir haben Ihre Bewerbungsunterlagen bei uns vor einige Zeit liegen gefunden und jetzt mochten wir Ihnen eine Stelle von unseren AuBendienstvertreter

[U-Boot] U-boot Config Parameters on Compact Flash

2011-01-20 Thread Dach Miroslaw
Dear U-Boot Users, I am using successfully U-boot for many years. So far I was dealing with the system which has the Flash memory on board. The u-boot binary and u-boot config parameters were stored in Flash. Currently I am dealing with the new board which has Xilinx Virtex05 chip (with built i

Re: [U-Boot] [PATCH V2 01/11] Add support for MX35 processor

2011-01-20 Thread Wolfgang Denk
Dear Stefano Babic, In message <4d380c25.20...@denx.de> you wrote: > > >> + if (readl(&ccm->pdr3) & MXC_CCM_PDR3_UART_M_U) > >> + freq = get_mcu_main_clk(); > >> + else > >> + freq = decode_pll(readl(&ccm->ppctl), > >> + CONFIG_MX35_HCLK_FREQ); > > > > Braces

[U-Boot] [PATCH][v1] powerpc/85xx: Add SERDES support for P1010/P1014

2011-01-20 Thread Prabhakar Kushwaha
Add the ability to determine if a given IP block connected on SERDES is configured. This is useful for things like PCIe and SRIO since they are only ever connected on SERDES. Updated MPC85xx_PORDEVSR_IO_SEL & MPC85xx_PORDEVSR_IO_SEL_SHIFT Signed-off-by: Prabhakar Kushwaha --- Changes for v1: Inc

[U-Boot] [PATCH 1/1] DaVinci: Fix DM365 & DM644X build error

2011-01-20 Thread Mohammed Afzal
DM365 & DM644X builds 'davinci_emac_mii_mode_sel()', which uses 'davinci_syscfg_regs' macro, and the macro is valid iff CONFIG_SOC_DA8XX is defined. Fix: Before compiling 'davinci_emac_mii_mode_sel()', make sure that CONFIG_SOC_DA8XX is defined. Signed-off-by: Mohammed Afzal --- board/davinci/c

[U-Boot] [PATCH][v1] powerpc/85xx: Add SERDES support for P1010/P1014

2011-01-20 Thread Prabhakar Kushwaha
Add the ability to determine if a given IP block connected on SERDES is configured. This is useful for things like PCIe and SRIO since they are only ever connected on SERDES. Updated MPC85xx_PORDEVSR_IO_SEL & MPC85xx_PORDEVSR_IO_SEL_SHIFT Signed-off-by: Prabhakar Kushwaha --- Changes for v1: Inc

[U-Boot] [PATCH][v1] powerpc/85xx: Add SERDES support for P1010/P1014

2011-01-20 Thread Prabhakar Kushwaha
Add the ability to determine if a given IP block connected on SERDES is configured. This is useful for things like PCIe and SRIO since they are only ever connected on SERDES. Updated MPC85xx_PORDEVSR_IO_SEL & MPC85xx_PORDEVSR_IO_SEL_SHIFT Signed-off-by: Prabhakar Kushwaha Signed-off-by: Kumar Ga

[U-Boot] [PATCH][v1] powerpc/85xx: Add SERDES support for P1010/P1014

2011-01-20 Thread Prabhakar Kushwaha
Add the ability to determine if a given IP block connected on SERDES is configured. This is useful for things like PCIe and SRIO since they are only ever connected on SERDES. Updated MPC85xx_PORDEVSR_IO_SEL & MPC85xx_PORDEVSR_IO_SEL_SHIFT Signed-off-by: Prabhakar Kushwaha --- Changes for v1: Inc

[U-Boot] [PATCH v1] powerpc/85xx: Add support for Integrated Flash Controller (IFC)

2011-01-20 Thread Dipen Dudhat
The Integrated Flash Controller (IFC) is used to access the external NAND Flash, NOR Flash, EPROM, SRAM and Generic ASIC memories.Four chip selects are provided in IFC so that maximum of four Flash devices can be hooked, but only one can be accessed at a given time. Features supported by IFC are,

Re: [U-Boot] Adding support for MX35

2011-01-20 Thread Stefano Babic
On 01/20/2011 10:52 AM, Wolfgang Denk wrote: > Dear Stefano Babic, > > In message <1295513194-16158-1-git-send-email-sba...@denx.de> you wrote: >> Patchset V2 contain patches for SPI sent previously independently to ML >> and additional patches for I2C. > > I just learned that I was running an o

Re: [U-Boot] [PATCH V2 11/11] Add support for Freescale's mx35pdk board.

2011-01-20 Thread Stefano Babic
On 01/20/2011 10:41 AM, Wolfgang Denk wrote: > Dear Stefano Babic, > > In message <1295513194-16158-12-git-send-email-sba...@denx.de> you wrote: >> The patch adds suupport for the Freescale's mx35pdk board >> (known as well as mx35_3stack). > > Checkpatch says: > > [U-Boot] [PATCH V2 11/11

Re: [U-Boot] [PATCH V2 10/11] SPI: mxc_spi: replace fixed offsets with structures

2011-01-20 Thread Stefano Babic
On 01/20/2011 10:33 AM, Wolfgang Denk wrote: > Dear Stefano Babic, > > In message <1295513194-16158-11-git-send-email-sba...@denx.de> you wrote: >> This patch cleans driver code replacing all accesses >> to registers with fixed offsets with a corresponding >> structure. > > Checkpatch says: > >

Re: [U-Boot] [PATCH V2 08/11] SPI: mxc_spi: fix swapping bug and add missing swapping in unaligned rx case

2011-01-20 Thread Stefano Babic
On 01/20/2011 10:32 AM, Wolfgang Denk wrote: > Dear Stefano Babic, > > In message <1295513194-16158-9-git-send-email-sba...@denx.de> you wrote: >> From: Anatolij Gustschin >> >> We need to shift only one time in each cycle in the swapping loop >> for unaligned tx case. Currently two byte shift op

Re: [U-Boot] [PATCH V2 05/11] I2C: mxc_i2c: address failure with mx35 processor

2011-01-20 Thread Stefano Babic
On 01/20/2011 10:30 AM, Wolfgang Denk wrote: > Dear Stefano Babic, > > In message <1295513194-16158-6-git-send-email-sba...@denx.de> you wrote: >> There is sporadic failures when more as one I2C slave >> is on the bus and the processor tries to communicate >> with more as one slave. >> The problem

Re: [U-Boot] [PATCH V2 04/11] I2C: mxc_i2c: get rid of __REG access

2011-01-20 Thread Stefano Babic
On 01/20/2011 10:27 AM, Wolfgang Denk wrote: > Dear Stefano Babic, > > In message <1295513194-16158-5-git-send-email-sba...@denx.de> you wrote: >> This driver accesses to processor's register >> via __REG macros, that are removed (or are planned >> to be removed) and replaced by C structures. >> T

Re: [U-Boot] [PATCH V2 01/11] Add support for MX35 processor

2011-01-20 Thread Stefano Babic
On 01/20/2011 10:25 AM, Wolfgang Denk wrote: > Dear Stefano Babic, > > In message <1295513194-16158-2-git-send-email-sba...@denx.de> you wrote: >> The patch adds basic support for the Freescale's i.MX35 >> (arm1136 based) processor. >> >> Signed-off-by: Stefano Babic > > checkpatch says: > > [U

Re: [U-Boot] [PATCH] powerpc/85xx: Add SERDES support for P1010/P1014

2011-01-20 Thread Wolfgang Denk
Dear Prabhakar Kushwaha, In message <1295515858-4011-1-git-send-email-prabha...@freescale.com> you wrote: > Add the ability to determine if a given IP block connected on SERDES is > configured. This is useful for things like PCIe and SRIO since they are only > ever connected on SERDES. ... > +void

Re: [U-Boot] Adding support for MX35

2011-01-20 Thread Wolfgang Denk
Dear Stefano Babic, In message <1295513194-16158-1-git-send-email-sba...@denx.de> you wrote: > Patchset V2 contain patches for SPI sent previously independently to ML > and additional patches for I2C. I just learned that I was running an old version of checkpatch, which turned out some false pos

Re: [U-Boot] [PATCH] powerpc/85xx: Add support for Integrated Flash Controller (IFC)

2011-01-20 Thread Wolfgang Denk
Dear Dudhat Dipen-B09055, In message <57d3ab35efb0e542a4326dbd78e17e950a5...@039-sn1mpn1-005.039d.mgd.msft.net> you wrote: > > Please find my comment inline with your comment. Please do not full quote. > Checkpatch says: > > [Dudhat Dipen-B09055] Now all the architecture related header fil

Re: [U-Boot] [PATCH V2 11/11] Add support for Freescale's mx35pdk board.

2011-01-20 Thread Wolfgang Denk
Dear Stefano Babic, In message <1295513194-16158-12-git-send-email-sba...@denx.de> you wrote: > The patch adds suupport for the Freescale's mx35pdk board > (known as well as mx35_3stack). Checkpatch says: [U-Boot] [PATCH V2 11/11] Add support for Freescale's mx35pdk board. total:

Re: [U-Boot] [PATCH V2 10/11] SPI: mxc_spi: replace fixed offsets with structures

2011-01-20 Thread Wolfgang Denk
Dear Stefano Babic, In message <1295513194-16158-11-git-send-email-sba...@denx.de> you wrote: > This patch cleans driver code replacing all accesses > to registers with fixed offsets with a corresponding > structure. Checkpatch says: [U-Boot] [PATCH V2 10/11] SPI: mxc_spi: replace fixed

Re: [U-Boot] [PATCH V2 08/11] SPI: mxc_spi: fix swapping bug and add missing swapping in unaligned rx case

2011-01-20 Thread Wolfgang Denk
Dear Stefano Babic, In message <1295513194-16158-9-git-send-email-sba...@denx.de> you wrote: > From: Anatolij Gustschin > > We need to shift only one time in each cycle in the swapping loop > for unaligned tx case. Currently two byte shift operations are > performed in each loop cycle causing ze

[U-Boot] [PATCH] powerpc/85xx: Add SERDES support for P1010/P1014

2011-01-20 Thread Prabhakar Kushwaha
Add the ability to determine if a given IP block connected on SERDES is configured. This is useful for things like PCIe and SRIO since they are only ever connected on SERDES. Updated MPC85xx_PORDEVSR_IO_SEL & MPC85xx_PORDEVSR_IO_SEL_SHIFT Signed-off-by: Prabhakar Kushwaha Signed-off-by: Kumar Ga

Re: [U-Boot] [PATCH V2 05/11] I2C: mxc_i2c: address failure with mx35 processor

2011-01-20 Thread Wolfgang Denk
Dear Stefano Babic, In message <1295513194-16158-6-git-send-email-sba...@denx.de> you wrote: > There is sporadic failures when more as one I2C slave > is on the bus and the processor tries to communicate > with more as one slave. > The problem was seen on a mx35pdk (two I2C slaves, > PMIC controll

Re: [U-Boot] [PATCH V2 04/11] I2C: mxc_i2c: get rid of __REG access

2011-01-20 Thread Wolfgang Denk
Dear Stefano Babic, In message <1295513194-16158-5-git-send-email-sba...@denx.de> you wrote: > This driver accesses to processor's register > via __REG macros, that are removed (or are planned > to be removed) and replaced by C structures. > This patches replaces all occurrencies of __REG macros.

Re: [U-Boot] [PATCH V2 01/11] Add support for MX35 processor

2011-01-20 Thread Wolfgang Denk
Dear Stefano Babic, In message <1295513194-16158-2-git-send-email-sba...@denx.de> you wrote: > The patch adds basic support for the Freescale's i.MX35 > (arm1136 based) processor. > > Signed-off-by: Stefano Babic checkpatch says: [U-Boot] [PATCH V2 01/11] Add support for MX35 processor total:

Re: [U-Boot] P2020 L2 cache as SRAM

2011-01-20 Thread Fabian Cenedese
>> >We're trying to configure the PPC P2020 cpu to use the L2 cache >> >as SRAM so we can load the U-Boot code in there. However we >> >stumble into problems. Sometimes the cpu goes on trap when >> >trying to access this area. Sometimes there's no trap but we >> >seem to access a different area. T

Re: [U-Boot] [PATCH] powerpc/85xx: Add support for Integrated Flash Controller (IFC)

2011-01-20 Thread Wolfgang Denk
Dear Dipen Dudhat, In message <1295509580-28959-1-git-send-email-dipen.dud...@freescale.com> you wrote: > > The Integrated Flash Controller (IFC) is used to access the external > NAND Flash, NOR Flash, EPROM, SRAM and Generic ASIC memories.Four chip > selects are provided in IFC so that maximum

[U-Boot] [PATCH V2 11/11] Add support for Freescale's mx35pdk board.

2011-01-20 Thread Stefano Babic
The patch adds suupport for the Freescale's mx35pdk board (known as well as mx35_3stack). The board boots from the NOR flash. Following devices are supported: - two ethernet devices (FEC and SMC911x on debug board) - I2C - PMIC (MC13892) via I2C interface - UART - NOR flash (64MB) - NAND fla

[U-Boot] [PATCH V2 10/11] SPI: mxc_spi: replace fixed offsets with structures

2011-01-20 Thread Stefano Babic
This patch cleans driver code replacing all accesses to registers with fixed offsets with a corresponding structure. Signed-off-by: Stefano Babic --- arch/arm/include/asm/arch-mx31/mx31-regs.h | 11 +++ arch/arm/include/asm/arch-mx35/imx-regs.h | 12 arch/arm/include/asm/arch-mx5/imx-r

  1   2   >