Re: [U-Boot] [PATCH v3 19/21] Use uintptr_t for 32/64-bit compatibility

2011-10-13 Thread Mike Frysinger
On Tuesday 11 October 2011 01:41:07 Aaron Williams wrote: One of these daya I need to work on getting some of our patches back upstream since some of them are quite useful for other platforms as well. yeah, for things like changing pci drivers to use pci_virt_to_mem() or changing pointer

Re: [U-Boot] [PATCH v3 19/21] Use uintptr_t for 32/64-bit compatibility

2011-10-10 Thread Aaron Williams
Our OCTEON platform is a 64-bit SOC and we run it in the MIPS N32 ABI mode (64-bit registers, 32-bit address space). In our case we use virtual memory so we can move U-Boot to the top of memory which is often above 4GB. The only changes we had to make to U-Boot was that drivers need to use the

Re: [U-Boot] [PATCH v3 19/21] Use uintptr_t for 32/64-bit compatibility

2011-10-10 Thread Mike Frysinger
On Monday 10 October 2011 22:46:10 Aaron Williams wrote: Our OCTEON platform is a 64-bit SOC and we run it in the MIPS N32 ABI mode (64-bit registers, 32-bit address space). right, n32 == 32bit pointers, so i don't consider that a port with 64bit pointer issues rather see drivers better make

Re: [U-Boot] [PATCH v3 19/21] Use uintptr_t for 32/64-bit compatibility

2011-10-10 Thread Aaron Williams
On Monday, October 10, 2011 09:52:59 PM Mike Frysinger wrote: On Monday 10 October 2011 22:46:10 Aaron Williams wrote: Our OCTEON platform is a 64-bit SOC and we run it in the MIPS N32 ABI mode (64-bit registers, 32-bit address space). right, n32 == 32bit pointers, so i don't consider that

Re: [U-Boot] [PATCH v3 19/21] Use uintptr_t for 32/64-bit compatibility

2011-10-09 Thread Mike Frysinger
On Tuesday 04 October 2011 01:24:56 Simon Glass wrote: On Mon, Oct 3, 2011 at 11:57 AM, Mike Frysinger wrote: On Monday, September 26, 2011 20:10:53 Simon Glass wrote: --- a/common/cmd_mem.c +++ b/common/cmd_mem.c printf (\nMem error @ 0x%08X:

Re: [U-Boot] [PATCH v3 19/21] Use uintptr_t for 32/64-bit compatibility

2011-10-09 Thread Simon Glass
Hi Mike, On Sun, Oct 9, 2011 at 7:54 PM, Mike Frysinger vap...@gentoo.org wrote: On Tuesday 04 October 2011 01:24:56 Simon Glass wrote: On Mon, Oct 3, 2011 at 11:57 AM, Mike Frysinger wrote: On Monday, September 26, 2011 20:10:53 Simon Glass wrote: --- a/common/cmd_mem.c +++

Re: [U-Boot] [PATCH v3 19/21] Use uintptr_t for 32/64-bit compatibility

2011-10-03 Thread Mike Frysinger
On Monday, September 26, 2011 20:10:53 Simon Glass wrote: --- a/common/cmd_mem.c +++ b/common/cmd_mem.c printf (\nMem error @ 0x%08X: found %08lX, expected %08lX\n, - (uint)addr,

Re: [U-Boot] [PATCH v3 19/21] Use uintptr_t for 32/64-bit compatibility

2011-10-03 Thread Simon Glass
Hi Mike, On Mon, Oct 3, 2011 at 11:57 AM, Mike Frysinger vap...@gentoo.org wrote: On Monday, September 26, 2011 20:10:53 Simon Glass wrote: --- a/common/cmd_mem.c +++ b/common/cmd_mem.c                               printf (\nMem error @ 0x%08X:                                       found

[U-Boot] [PATCH v3 19/21] Use uintptr_t for 32/64-bit compatibility

2011-09-26 Thread Simon Glass
This fixes a few problems when building on 64-bit machines. Signed-off-by: Simon Glass s...@chromium.org --- common/cmd_mem.c |2 +- common/fdt_support.c |8 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/common/cmd_mem.c b/common/cmd_mem.c index