Re: [U-Boot] [PATCH 3/6] mpc83xx: Add link vs. load address calculation

2010-11-23 Thread Joakim Tjernlund
Scott Wood wrote on 2010/11/23 21:17:12: > > On Tue, 23 Nov 2010 21:08:37 +0100 > Joakim Tjernlund wrote: > > > Scott Wood wrote on 2010/11/23 20:32:32: > > > On Tue, 23 Nov 2010 19:48:48 +0100 > > > Joakim Tjernlund wrote: > > > > > > > diff --git a/include/common.h b/include/common.h > > > >

Re: [U-Boot] [PATCH 3/6] mpc83xx: Add link vs. load address calculation

2010-11-23 Thread Scott Wood
On Tue, 23 Nov 2010 21:08:37 +0100 Joakim Tjernlund wrote: > Scott Wood wrote on 2010/11/23 20:32:32: > > On Tue, 23 Nov 2010 19:48:48 +0100 > > Joakim Tjernlund wrote: > > > > > diff --git a/include/common.h b/include/common.h > > > index 8bca04f..f257ea4 100644 > > > --- a/include/common.h >

Re: [U-Boot] [PATCH 3/6] mpc83xx: Add link vs. load address calculation

2010-11-23 Thread Joakim Tjernlund
Scott Wood wrote on 2010/11/23 20:32:32: > On Tue, 23 Nov 2010 19:48:48 +0100 > Joakim Tjernlund wrote: > > > diff --git a/include/common.h b/include/common.h > > index 8bca04f..f257ea4 100644 > > --- a/include/common.h > > +++ b/include/common.h > > @@ -94,6 +94,9 @@ typedef volatile unsigned ch

Re: [U-Boot] [PATCH 3/6] mpc83xx: Add link vs. load address calculation

2010-11-23 Thread Scott Wood
On Tue, 23 Nov 2010 19:48:48 +0100 Joakim Tjernlund wrote: > diff --git a/include/common.h b/include/common.h > index 8bca04f..f257ea4 100644 > --- a/include/common.h > +++ b/include/common.h > @@ -94,6 +94,9 @@ typedef volatile unsigned char vu_char; > #ifdef CONFIG_MPC83xx > #include >

[U-Boot] [PATCH 3/6] mpc83xx: Add link vs. load address calculation

2010-11-23 Thread Joakim Tjernlund
link_off calculates the difference between link address and actila load address. This is a must for true PIC u-boot. --- arch/powerpc/cpu/mpc83xx/start.S | 25 + include/common.h |5 + 2 files changed, 30 insertions(+), 0 deletions(-) diff --git a