Re: [U-Boot] [PATCH] mx1: add mx1/l support for mxc_i2c

2011-09-20 Thread Eric Jarrige
Hi Stafano, On 19 sept. 2011, at 22:59, stefano babic wrote: Am 19/09/2011 22:34, schrieb Eric Jarrige: On 19 sept. 2011, at 09:26, Stefano Babic wrote: On 09/19/2011 08:57 AM, Marek Vasut wrote: On Monday, August 22, 2011 10:56:43 PM Eric Jarrige wrote: #define mxc_get_clock

Re: [U-Boot] [PATCH] mx1: add mx1/l support for mxc_i2c

2011-09-19 Thread Eric Jarrige
Hi Stefano, On 19 sept. 2011, at 09:26, Stefano Babic wrote: On 09/19/2011 08:57 AM, Marek Vasut wrote: On Monday, August 22, 2011 10:56:43 PM Eric Jarrige wrote: Signed-off-by: Eric Jarrige eric.jarr...@armadeus.org Cc: Stefano Babic sba...@denx.de Cc: Heiko Schocher h...@denx.de @@ -94,6

Re: [U-Boot] [PATCH v2] add dm9000 eeprom read/write command

2011-08-31 Thread Eric Jarrige
On 31 août 2011, at 15:01, Stefano Babic wrote: Hi Eric, Sorry for the confusion, I did not understood that your remark was not related to the compilation flags. Now, I've checked how to have this U-Boot commands in the driver itself. I think it's doable if I can have a compilation

Re: [U-Boot] [PATCH v2] add dm9000 eeprom read/write command

2011-08-30 Thread Eric Jarrige
Hi Stefano, On 30 août 2011, at 11:47, Stefano Babic wrote: On 08/28/2011 11:47 PM, Eric Jarrige wrote: Signed-off-by: Eric Jarrige eric.jarr...@armadeus.org Signed-off-by: Stefano Babic sba...@denx.de Cc: Wolfgang Denk w...@denx.de Cc: Detlev Zundel d...@denx.de Changes for v2

[U-Boot] [PATCH 8/9 v2] DM9000: change some printf to use debug instead

2011-08-28 Thread Eric Jarrige
Signed-off-by: Eric Jarrige eric.jarr...@armadeus.org Cc: Wolfgang Denk w...@denx.de Cc: Detlev Zundel d...@denx.de Changes for v2: - Remove DM9000_ DEBUG macros and use debug() instead --- drivers/net/dm9000x.c | 97 +++-- 1 files changed

[U-Boot] [PATCH v2] add dm9000 eeprom read/write command

2011-08-28 Thread Eric Jarrige
Signed-off-by: Eric Jarrige eric.jarr...@armadeus.org Signed-off-by: Stefano Babic sba...@denx.de Cc: Wolfgang Denk w...@denx.de Cc: Detlev Zundel d...@denx.de Changes for v2: - remove DM9000 driver dependant compilation flag --- README|1 + common/Makefile

Re: [U-Boot] [PATCH 5/9] apf9328: add default board configuration file

2011-08-24 Thread Eric Jarrige
Dear Wolfgang, Dear Stefano, On 23 août 2011, at 13:26, Wolfgang Denk wrote: Dear Eric Jarrige, can you please mind your line length? It is strongly recommended that text lines should not exceed 70 characters or so. Thanks. I will take care of that. I do apologize for the inconvenient

Re: [U-Boot] [PATCH 5/9] apf9328: add default board configuration file

2011-08-24 Thread Eric Jarrige
Dear Wolfgang, On 24 août 2011, at 07:49, Wolfgang Denk wrote: Dear Eric Jarrige, In message d25738a8-8a7a-475a-95f5-8408c6463...@armadeus.org you wrote: Stefano is right. filesize and fileaddr are dynamic variables, thet get created and updated on the fly. It makes no sense to pre

Re: [U-Boot] [PATCH 8/9] DM9000: change some printf to use debug instead

2011-08-24 Thread Eric Jarrige
Dear Wolfgang, On 24 août 2011, at 22:20, Wolfgang Denk wrote: Dear Eric Jarrige, In message 2b613989-addb-43d6-a8c3-a30d52452...@armadeus.org you wrote: I'am just wondering: I see that DM9000_DBG is used all over dm9000 code - do you know the reason why not just use debug()? dm9000

Re: [U-Boot] [PATCH 5/9] apf9328: add default board configuration file

2011-08-24 Thread Eric Jarrige
Dear Wolfgang, On 24 août 2011, at 08:34, Wolfgang Denk wrote: Dear Eric, In message 20110824054915.0860711f9...@gemini.denx.de I wrote: Sure, DHCP is the best *technical* solution. I meant for static IP address? Why does anybody need static IP addresses for the default case, i. e.

Re: [U-Boot] [PATCH 5/9] apf9328: add default board configuration file

2011-08-24 Thread Eric Jarrige
Hi Stefano, On 24 août 2011, at 08:22, Stefano Babic wrote: On 08/24/2011 06:56 AM, Eric Jarrige wrote: Dear Wolfgang, Dear Stefano, Hi Eric, We really need a set of default IP addresses for private network to simplify as much as possible the life of the armadeus project developers

Re: [U-Boot] [PATCH 5/9] apf9328: add default board configuration file

2011-08-23 Thread Eric Jarrige
Hi Stefano, On 23 août 2011, at 11:46, Stefano Babic wrote: sorry for my late answer. I have missed a point. No problem on my side - my answers are sometime even longer. Please drop fix ip address. They should not be part of mainline, Here, I have a problem as our documentation on

Re: [U-Boot] [PATCH] add dm9000 eeprom read/write command

2011-08-23 Thread Eric Jarrige
On 23 août 2011, at 16:21, Stefano Babic wrote: On 08/23/2011 03:42 PM, Mike Frysinger wrote: On Tuesday, August 23, 2011 01:15:25 Eric Jarrige wrote: On 22 août 2011, at 23:55, Mike Frysinger wrote: On Monday, August 22, 2011 17:37:42 Eric Jarrige wrote: +#if (!defined

[U-Boot] [PATCH] mx1: add mx1/l support for mxc_i2c

2011-08-22 Thread Eric Jarrige
Signed-off-by: Eric Jarrige eric.jarr...@armadeus.org Cc: Stefano Babic sba...@denx.de Cc: Heiko Schocher h...@denx.de --- drivers/i2c/mxc_i2c.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c index 89d1973..597e9ee

[U-Boot] [PATCH] add dm9000 eeprom read/write command

2011-08-22 Thread Eric Jarrige
Signed-off-by: Eric Jarrige eric.jarr...@armadeus.org Signed-off-by: Stefano Babic sba...@denx.de CC: Ben Warren biggerbadder...@gmail.com --- README|1 + common/Makefile |1 + common/cmd_dm9000ee.c | 84 + 3 files

Re: [U-Boot] [PATCH] add dm9000 eeprom read/write command

2011-08-22 Thread Eric Jarrige
Hi Mike, On 22 août 2011, at 23:55, Mike Frysinger wrote: On Monday, August 22, 2011 17:37:42 Eric Jarrige wrote: +#if (!defined(CONFIG_DM9000_NO_SROM) defined(CONFIG_DRIVER_DM9000)) why is this necessary ? -mike the methods dm9000_read_srom_word()/dm9000_write_srom_word() need

Re: [U-Boot] [PATCH 3/9] apf9328: Add Armadeus Project board APF9328

2011-08-17 Thread Eric Jarrige
Hi Higor, Hi Stefano, On 17 août 2011, at 09:31, Igor Grinberg wrote: On 08/12/11 09:49, Stefano Babic wrote: On 08/12/2011 01:41 AM, Eric Jarrige wrote: Hi Eric, +int board_init(void) +{ +gd-bd-bi_arch_number = CONFIG_MACH_TYPE; Is there no MACH_TYPE for this board

Re: [U-Boot] [PATCH 5/9] apf9328: add default board configuration file

2011-08-15 Thread Eric Jarrige
Hi Stefano, On 11 août 2011, at 11:21, Stefano Babic wrote: On 08/10/2011 10:33 PM, Eric Jarrige wrote: Signed-off-by: Eric Jarrige eric.jarr...@armadeus.org --- include/configs/apf9328.h | 1034 + 1 files changed, 1034 insertions(+), 0 deletions

Re: [U-Boot] [PATCH 8/9] DM9000: change some printf to use debug instead

2011-08-11 Thread Eric Jarrige
Hi Simon, Hi Detlev, Hi Simon, Dear Eric Jarrige, On 08/10/2011 10:33 PM, Eric Jarrige wrote: Signed-off-by: Eric Jarrigeeric.jarr...@armadeus.org Cc: Ben Warrenbiggerbadder...@gmail.com --- drivers/net/dm9000x.c |8 1 files changed, 4 insertions(+), 4 deletions

Re: [U-Boot] [PATCH 6/9] mx1: improve PLL freq computation

2011-08-11 Thread Eric Jarrige
Hi Stefano, On 11 août 2011, at 11:22, Stefano Babic wrote: On 08/10/2011 10:33 PM, Eric Jarrige wrote: Improve PLL freq computation by using the full resolution of the PLL registers Hi Eric, +return (2*(u64)sys_clk_freq * (mfi*(mfd+1) + mfn))/((mfd+1)*(pd+1)); +} -return

Re: [U-Boot] [PATCH 2/9] mx1: add i2c registers

2011-08-11 Thread Eric Jarrige
Hi Stefano, On 11 août 2011, at 10:52, Stefano Babic wrote: On 08/10/2011 10:33 PM, Eric Jarrige wrote: Add i2c registers for Freescale imx1/L/S Signed-off-by: Eric Jarrige eric.jarr...@armadeus.org Cc: Stefano Babic sba...@denx.de --- arch/arm/include/asm/arch-imx/imx-regs.h | 23

Re: [U-Boot] [PATCH 6/9] mx1: improve PLL freq computation

2011-08-11 Thread Eric Jarrige
Hi Stefano, On 11 août 2011, at 11:22, Stefano Babic wrote: On 08/10/2011 10:33 PM, Eric Jarrige wrote: Improve PLL freq computation by using the full resolution of the PLL registers Hi Eric, + return (2*(u64)sys_clk_freq * (mfi*(mfd+1) + mfn))/((mfd+1)*(pd+1)); +} - return

Re: [U-Boot] [PATCH 3/9] apf9328: Add Armadeus Project board APF9328

2011-08-11 Thread Eric Jarrige
Hi Stefano, On 08/10/2011 10:33 PM, Eric Jarrige wrote: Add Armadeus Project board APF9328 Signed-off-by: Eric Jarrige eric.jarr...@armadeus.org Signed-off-by: Nicolas Colombain nicolas.colomb...@armadeus.com Hi Eric, diff --git a/board/armadeus/apf9328/apf9328.c b/board/armadeus

[U-Boot] [PATCH 8/9] DM9000: change some printf to use debug instead

2011-08-10 Thread Eric Jarrige
Signed-off-by: Eric Jarrige eric.jarr...@armadeus.org Cc: Ben Warren biggerbadder...@gmail.com --- drivers/net/dm9000x.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/dm9000x.c b/drivers/net/dm9000x.c index b5c5573..9cd0195 100644 --- a/drivers/net

[U-Boot] [PATCH 6/9] mx1: improve PLL freq computation

2011-08-10 Thread Eric Jarrige
Improve PLL freq computation by using the full resolution of the PLL registers Signed-off-by: Eric Jarrige eric.jarr...@armadeus.org Cc: Stefano Babic sba...@denx.de --- arch/arm/cpu/arm920t/imx/speed.c | 29 +++-- 1 files changed, 11 insertions(+), 18 deletions

[U-Boot] [PATCH 9/9] arm920t: Fix jump to the relocated board_init_r

2011-08-10 Thread Eric Jarrige
Jump to the relocated board_init_r according to the initial computation and remove computation against current PC addr as relocated address is already known and fixed. This helps to support CPU that miror flash to different address at power on boot such as Freescale iMX1/L Signed-off-by: Eric

[U-Boot] [PATCH 7/9] mx1: change a printf in speed.c to use debug instead

2011-08-10 Thread Eric Jarrige
Signed-off-by: Eric Jarrige eric.jarr...@armadeus.org Cc: Stefano Babic sba...@denx.de --- arch/arm/cpu/arm920t/imx/speed.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/cpu/arm920t/imx/speed.c b/arch/arm/cpu/arm920t/imx/speed.c index b1c2bd6..b8e42bf 100644

[U-Boot] [PATCH 2/9] mx1: add i2c registers

2011-08-10 Thread Eric Jarrige
Add i2c registers for Freescale imx1/L/S Signed-off-by: Eric Jarrige eric.jarr...@armadeus.org Cc: Stefano Babic sba...@denx.de --- arch/arm/include/asm/arch-imx/imx-regs.h | 23 +++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/arch/arm/include/asm/arch

[U-Boot] [PATCH 5/9] apf9328: add default board configuration file

2011-08-10 Thread Eric Jarrige
Signed-off-by: Eric Jarrige eric.jarr...@armadeus.org --- include/configs/apf9328.h | 1034 + 1 files changed, 1034 insertions(+), 0 deletions(-) create mode 100644 include/configs/apf9328.h diff --git a/include/configs/apf9328.h b/include/configs

[U-Boot] [PATCH 0/9] Series short description

2011-08-10 Thread Eric Jarrige
to the whole arm cpu family if some other CPU have the same behavior of mirroring the flash memory to a different address at power on reset. --- Eric Jarrige (9): mx1: export imx_gpio_mode() function mx1: add i2c registers apf9328: Add Armadeus Project board APF9328 apf9328

[U-Boot] [PATCH 4/9] apf9328: add apf9328 board in Makefile

2011-08-10 Thread Eric Jarrige
add apf9328 board definition in makefile, MAKEALL and MAINTAINERS list Signed-off-by: Eric Jarrige eric.jarr...@armadeus.org --- MAINTAINERS |4 MAKEALL |1 + boards.cfg |1 + 3 files changed, 6 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index

[U-Boot] [PATCH 1/9] mx1: export imx_gpio_mode() function

2011-08-10 Thread Eric Jarrige
Add imx_gpio_mode() to Freescale imx1/L/S public functions Signed-off-by: Eric Jarrige eric.jarr...@armadeus.org Cc: Stefano Babic sba...@denx.de --- arch/arm/include/asm/arch-imx/imx-regs.h |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/arch/arm/include/asm/arch

[U-Boot] [PATCH 3/9] apf9328: Add Armadeus Project board APF9328

2011-08-10 Thread Eric Jarrige
Add Armadeus Project board APF9328 Signed-off-by: Eric Jarrige eric.jarr...@armadeus.org Signed-off-by: Nicolas Colombain nicolas.colomb...@armadeus.com --- board/armadeus/apf9328/Makefile| 51 +++ board/armadeus/apf9328/apf9328.c | 91 ++ board/armadeus/apf9328

[U-Boot] [PATCH] fec_mx.c: Fix MX27 FEC logic to check validity of the MAC address in fuse

2010-04-15 Thread Eric Jarrige
Fix MX27 FEC logic to check validity of the MAC address in fuse. Only null (empty fuse) or invalid MAC address was retrieved from mx27 fuses before this change. Signed-off-by: Eric Jarrige jora...@armadeus.org --- diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c index 8c4ade5..d7706b5