Re: [U-Boot] [PATCH v2] board/linkstation/ide.c: Fix compile warning

2009-09-22 Thread Wolfgang Denk
Dear Guennadi Liakhovetski, In message you wrote: > On Tue, 22 Sep 2009, Wolfgang Denk wrote: > > > Dear Guennadi Liakhovetski, > > > > In message you wrote: > > > > > > I have the hardware, yes, and I even have something, that should be a > > > Jtag > > > cable for it... But I don't have n

Re: [U-Boot] [PATCH v2] board/linkstation/ide.c: Fix compile warning

2009-09-22 Thread Wolfgang Denk
In message <1252967162-15935-1-git-send-email...@denx.de> you wrote: > Fix warning: ide.c:60: warning: dereferencing type-punned pointer will > break strict-aliasing rules > > Signed-off-by: Wolfgang Denk > Cc: Guennadi Liakhovetski > > --- > v2: Better implementation as suggested by Scott Woo

Re: [U-Boot] [PATCH v2] board/linkstation/ide.c: Fix compile warning

2009-09-22 Thread Guennadi Liakhovetski
On Tue, 22 Sep 2009, Wolfgang Denk wrote: > Dear Guennadi Liakhovetski, > > In message you wrote: > > > > I have the hardware, yes, and I even have something, that should be a Jtag > > cable for it... But I don't have near 100% certainty, that if I brick it I > > will be able in reasonable ti

Re: [U-Boot] [PATCH v2] board/linkstation/ide.c: Fix compile warning

2009-09-22 Thread Wolfgang Denk
Dear Guennadi Liakhovetski, In message you wrote: > > I have the hardware, yes, and I even have something, that should be a Jtag > cable for it... But I don't have near 100% certainty, that if I brick it I > will be able in reasonable time to recover it... But, hey, that's what I > have that

Re: [U-Boot] [PATCH v2] board/linkstation/ide.c: Fix compile warning

2009-09-16 Thread Guennadi Liakhovetski
On Tue, 15 Sep 2009, Wolfgang Denk wrote: > Dear Guennadi Liakhovetski, > > In message you wrote: > > > > > pci_read_config_dword (devbusfn, PCI_BASE_ADDRESS_0, > > > -(u32 *) > > > &ide_bus_offset[0]); > > > - ide_bus_offse

Re: [U-Boot] [PATCH v2] board/linkstation/ide.c: Fix compile warning

2009-09-15 Thread Wolfgang Denk
Dear Guennadi Liakhovetski, In message you wrote: > > > pci_read_config_dword (devbusfn, PCI_BASE_ADDRESS_0, > > - (u32 *) > > &ide_bus_offset[0]); > > - ide_bus_offset[0] &= 0xfffe; > > +

Re: [U-Boot] [PATCH v2] board/linkstation/ide.c: Fix compile warning

2009-09-15 Thread Guennadi Liakhovetski
On Tue, 15 Sep 2009, Wolfgang Denk wrote: > Fix warning: ide.c:60: warning: dereferencing type-punned pointer will > break strict-aliasing rules > > Signed-off-by: Wolfgang Denk > Cc: Guennadi Liakhovetski > > --- > v2: Better implementation as suggested by Scott Wood in > http://thread.gm

[U-Boot] [PATCH v2] board/linkstation/ide.c: Fix compile warning

2009-09-14 Thread Wolfgang Denk
Fix warning: ide.c:60: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Wolfgang Denk Cc: Guennadi Liakhovetski --- v2: Better implementation as suggested by Scott Wood in http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/67840/focus=67891 bo