Re: [U-Boot] [PATCH 7/8] net: emaclite: Free allocated space for device

2011-08-28 Thread Michal Simek
Mike Frysinger wrote: > On Friday, August 26, 2011 08:47:22 Michal Simek wrote: >> --- a/drivers/net/xilinx_emaclite.c >> +++ b/drivers/net/xilinx_emaclite.c >> @@ -356,8 +356,10 @@ int xilinx_emaclite_initialize (bd_t *bis, int >> base_addr) return -1; >> >> emaclite = calloc(1, sizeof(struct

Re: [U-Boot] [PATCH v3 1/3] net: Adds Fast Ethernet Controller driver for Armada100

2011-08-28 Thread Ajay Bhargav
- "Mike Frysinger" wrote: > On Monday, August 29, 2011 01:10:49 Ajay Bhargav wrote: > > - "Mike Frysinger" wrote: > > > On Friday, August 26, 2011 02:36:51 Ajay Bhargav wrote: > > > > +darmdfec = malloc(sizeof(struct armdfec_device)); > > > > +if (!darmdfec) > > > > +

Re: [U-Boot] [PATCH 1/8] net: emaclite: Change driver name and add address

2011-08-28 Thread Michal Simek
Mike Frysinger wrote: > On Friday, August 26, 2011 08:47:16 Michal Simek wrote: >> -sprintf(dev->name, "Xilinx_Emaclite"); >> +sprintf(dev->name, "Xelite.%x", base_addr); > > you calculated this down to the byte huh ;). i see it uses the full 16. Yes, I had to because eth_device has 16 c

Re: [U-Boot] [PATCH v3 1/3] net: Adds Fast Ethernet Controller driver for Armada100

2011-08-28 Thread Ajay Bhargav
- "Marek Vasut" wrote: > On Friday, August 26, 2011 08:36:51 AM Ajay Bhargav wrote: > > This patch adds support for Fast Ethernet Controller driver for > > Armada100 series. > > > > Signed-off-by: Ajay Bhargav > > Hi, please don't forget to CC me next time ;-) > Sure, I'll do that.. you

Re: [U-Boot] [PATCH v3 1/3] net: Adds Fast Ethernet Controller driver for Armada100

2011-08-28 Thread Mike Frysinger
On Monday, August 29, 2011 01:10:49 Ajay Bhargav wrote: > - "Mike Frysinger" wrote: > > On Friday, August 26, 2011 02:36:51 Ajay Bhargav wrote: > > > +darmdfec = malloc(sizeof(struct armdfec_device)); > > > +if (!darmdfec) > > > +goto error; > > > > if this fir

Re: [U-Boot] [PATCH v3 1/3] net: Adds Fast Ethernet Controller driver for Armada100

2011-08-28 Thread Ajay Bhargav
- "Mike Frysinger" wrote: > On Friday, August 26, 2011 02:36:51 Ajay Bhargav wrote: > > +static int add_del_hash_entry(struct armdfec_device *darmdfec, u32 > mach, > > + u32 macl, u32 rd, u32 skip, int del) > > +{ > > +u8 *last; > > local var ... > > >

[U-Boot] Generating random numbers

2011-08-28 Thread elison.ni...@gmail.com
Hi, I am trying to random my mac in u-boot on AT91RM9200 and AT91SAM9G45 processor. My purpose is that before a MAC is assigned to the board at production, the board should use a random MAC address (and random IP) and also that it shouldn't conflict with other devices on the same network. In lib_

Re: [U-Boot] [PATCH 1/2 v3] fdt: Add a do_fixup_by_path_string() function

2011-08-28 Thread Chunhe Lan
On Mon, 29 Aug 2011 02:15:15 +0800, Kumar Gala wrote: > > On Aug 17, 2011, at 1:24 AM, Chunhe Lan wrote: > >> The do_fixup_by_path_string() will set the specified >> node's property to the value contained in "status". >> It would just be a wrapper for do_fixup_by_path() >> that calls strlen on

Re: [U-Boot] [PATCH 2/2 v3] powerpc/p1023rds: Enable nand node and disable nor node

2011-08-28 Thread Chunhe Lan
On Mon, 29 Aug 2011 02:14:20 +0800, Kumar Gala wrote: > > On Aug 17, 2011, at 1:24 AM, Chunhe Lan wrote: > >> In the p1023rds, accessing exclusively nor flash or nand flash >> device by BR0/OR0. When booting from nor flash, nand node is >> disabled and nor node is enabled in the default dtb. So

[U-Boot] Hello

2011-08-28 Thread stella benson
Hello.. my name is stella i seek for a honest partner for friendship i hope you don't mind if you don't mind please reply me i will like to here form you ok so i can tell you more about myself and we can exchange picture too and share some other things with love___

[U-Boot] [PATCH 2/2] PXA: vpac270: Enable the new generic MMC driver

2011-08-28 Thread Marek Vasut
Signed-off-by: Marek Vasut --- board/vpac270/vpac270.c |8 include/configs/vpac270.h |3 ++- 2 files changed, 10 insertions(+), 1 deletions(-) diff --git a/board/vpac270/vpac270.c b/board/vpac270/vpac270.c index 43bbdff..d3f03c0 100644 --- a/board/vpac270/vpac270.c +++ b/board

[U-Boot] [PATCH 1/2] PXA: Add MMC driver using the generic MMC framework

2011-08-28 Thread Marek Vasut
Signed-off-by: Marek Vasut --- arch/arm/include/asm/arch-pxa/regs-mmc.h | 155 +++ drivers/mmc/Makefile |1 + drivers/mmc/pxa_mmc_gen.c| 442 ++ 3 files changed, 598 insertions(+), 0 deletions(-) create mode 100644 arc

[U-Boot] [PATCH] PXA: Cleanup serial_pxa

2011-08-28 Thread Marek Vasut
* Cleanup register definitions by introducing new regs-uart.h, compliant with rest of U-Boot. * Remove old register definitions from pxa-regs.h * Convert serial_pxa to new regs-uart.h * Cleanup serial_pxa Signed-off-by: Marek Vasut --- arch/arm/include/asm/arch-pxa/pxa-regs.h | 111 ---

Re: [U-Boot] [PATCH 1/5 V2] PXA: Cleanup serial_pxa

2011-08-28 Thread Marek Vasut
On Sunday, August 28, 2011 10:58:37 PM Wolfgang Denk wrote: > Dear Marek Vasut, > > In message <201108282048.02525.marek.va...@gmail.com> you wrote: > > > All in all, this is a terrible mess, and in violation of patch > > > submission rules. > > > > > > Please consider both patch series NAKed. >

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

2011-08-28 Thread Eric Jarrige
Signed-off-by: Eric Jarrige Signed-off-by: Stefano Babic Cc: Wolfgang Denk Cc: Detlev Zundel Changes for v2: - remove DM9000 driver dependant compilation flag --- README|1 + common/Makefile |1 + common/cmd_dm9000ee.c | 82 +

[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 Cc: Wolfgang Denk Cc: Detlev Zundel Changes for v2: - Remove DM9000_ DEBUG macros and use debug() instead --- drivers/net/dm9000x.c | 97 +++-- 1 files changed, 46 insertions(+), 51 deletions(-) diff --git a/dri

Re: [U-Boot] [PULL] U-Boot PXA

2011-08-28 Thread Marek Vasut
On Sunday, August 28, 2011 10:55:33 PM Wolfgang Denk wrote: > Dear Marek Vasut, > > In message <201108282049.02428.marek.va...@gmail.com> you wrote: > > > Again, what a mess... Why are you selecting just 3 commits from a 6 > > > patches series? This makes no sense. > > > > Because Albert wanted

Re: [U-Boot] [PATCH 1/5 V2] PXA: Cleanup serial_pxa

2011-08-28 Thread Wolfgang Denk
Dear Marek Vasut, In message <201108282048.02525.marek.va...@gmail.com> you wrote: > > > All in all, this is a terrible mess, and in violation of patch > > submission rules. > > > > Please consider both patch series NAKed. > > > > Can you just review this series and scrap the other one please?

Re: [U-Boot] [PULL] U-Boot PXA

2011-08-28 Thread Wolfgang Denk
Dear Marek Vasut, In message <201108282049.02428.marek.va...@gmail.com> you wrote: > > > Again, what a mess... Why are you selecting just 3 commits from a 6 > > patches series? This makes no sense. > > > Because Albert wanted me to send a pull rq with the PXA fixes. I don't know > if he > hand

Re: [U-Boot] [PATCH 3/3 v2] ARM: ARM926EJS - Add cache operations

2011-08-28 Thread Marek Vasut
On Friday, August 19, 2011 04:16:44 PM Aneesh V wrote: > On Friday 19 August 2011 06:25 PM, Marek Vasut wrote: > > On Friday, August 19, 2011 12:43:30 PM Aneesh V wrote: > >> Hi Marek, > >> > >> On Friday 19 August 2011 03:16 PM, Marek Vasut wrote: > >>> On Friday, August 19, 2011 11:37:29 AM Anee

Re: [U-Boot] [PULL] U-Boot PXA

2011-08-28 Thread Marek Vasut
On Sunday, August 28, 2011 12:20:34 PM Wolfgang Denk wrote: > Dear Marek Vasut, > > In message <201108280639.56242.marek.va...@gmail.com> you wrote: > > I prepared a branch for you to pull containing PXA fixes: > > > > Cheers > > > > The following changes since commit 6e8a3951f7656958cefccab5594

Re: [U-Boot] [PATCH 1/5 V2] PXA: Cleanup serial_pxa

2011-08-28 Thread Marek Vasut
On Sunday, August 28, 2011 12:16:18 PM Wolfgang Denk wrote: > Dear Marek Vasut, > [...] > > V2: Add missing regs-uart.h > > Your patch stacks are a mess. It's impossible for mne to tell what > you actually intend. Yes, it didn't work out a bit here. I tried to split the stuff so Albert can p

Re: [U-Boot] [PATCH 1/2 v3] fdt: Add a do_fixup_by_path_string() function

2011-08-28 Thread Kumar Gala
On Aug 17, 2011, at 1:24 AM, Chunhe Lan wrote: > The do_fixup_by_path_string() will set the specified > node's property to the value contained in "status". > It would just be a wrapper for do_fixup_by_path() > that calls strlen on the argument. > Fix where you break the line, should like more l

Re: [U-Boot] [PATCH 2/2 v3] powerpc/p1023rds: Enable nand node and disable nor node

2011-08-28 Thread Kumar Gala
On Aug 17, 2011, at 1:24 AM, Chunhe Lan wrote: > In the p1023rds, accessing exclusively nor flash or nand flash > device by BR0/OR0. When booting from nor flash, nand node is > disabled and nor node is enabled in the default dtb. So, when > booting from nand flash, nand node should be enabled and

[U-Boot] [PATCH 3/3] sc520: Create arch asm-offsets

2011-08-28 Thread Graeme Russ
Signed-off-by: Graeme Russ --- arch/x86/cpu/Makefile |3 ++ arch/x86/cpu/sc520/Makefile |2 + arch/x86/cpu/sc520/asm-offsets.c| 45 +++ arch/x86/cpu/sc520/sc520_car.S |3 +- arch/x86/cpu/start.S

[U-Boot] [PATCH 1/3] Makefile: Add generic build rules for include/asm/arch/asm-offsets.h

2011-08-28 Thread Graeme Russ
Add three features to the top-level makefile: - Add include/asm/arch/asm-offsets.h as a dependency of the 'depend' target to eliminate 'file does not exist' errors during dependency building - Skip generation of include/asm/arch/asm-offsets.h if the source file ($(CPUDIR)/$(SOC)/asm-off

[U-Boot] [PATCH 0/3] Makefile & x86 - Move to generic include/asm/arch/asm-offsets.h

2011-08-28 Thread Graeme Russ
This series creates build rules to create (and clean) include/asm/arch/asm-offsets.h from an asm-offsets.c file located in the SoC directory. In particular, the new rules will skip creating the asm-offsets.h file if the SoC does not have an asm-offsets.c file Big Fat Note: I have not tested this o

Re: [U-Boot] [RFC][PATCH] Pre-console buffer

2011-08-28 Thread Graeme Russ
Hi Wolfgang, On 28/08/11 20:08, Wolfgang Denk wrote: > Dear Graeme Russ, [snip] > >> So there are drivers that anticipate generating output before console is >> initialised - I think we should not put the onus on the driver and move >> these conditions to printf() in console.c - Unfortunately t

Re: [U-Boot] [PULL] U-Boot PXA

2011-08-28 Thread Wolfgang Denk
Dear Marek Vasut, In message <201108280639.56242.marek.va...@gmail.com> you wrote: > > I prepared a branch for you to pull containing PXA fixes: > > Cheers > > The following changes since commit 6e8a3951f7656958cefccab55945604a8bbc43e7: > > Merge branch 'master' of git://git.denx.de/u-boot (

Re: [U-Boot] [PATCH 1/5 V2] PXA: Cleanup serial_pxa

2011-08-28 Thread Wolfgang Denk
Dear Marek Vasut, In message <1314507088-1472-1-git-send-email-marek.va...@gmail.com> you wrote: > * Cleanup register definitions by introducing new regs-uart.h, compliant with > rest of U-Boot. > * Remove old register definitions from pxa-regs.h > * Convert serial_pxa to new regs-uart.h > * Cle

Re: [U-Boot] [RFC][PATCH] Pre-console buffer

2011-08-28 Thread Wolfgang Denk
Dear Graeme Russ, In message <4e5985c8.8020...@gmail.com> you wrote: > > > And this is actually wrong. If we can use the serial console for > > output, we definitely don;t want to use your buffer any more. > > Look closer - It's a diff weirdness - The actual code is: I see. Thanks for pointing