[U-Boot] [PATCH v2 1/3] common: Display >=4GiB memory bank size

Simon Glass sjg at chromium.org
Wed Aug 5 18:58:39 CEST 2015


Hi Bin,

On 5 August 2015 at 08:38, Simon Glass <sjg at chromium.org> wrote:
>
> On 2 August 2015 at 21:33, Bin Meng <bmeng.cn at gmail.com> wrote:
> > bd->bi_dram[] has both start address and size defined as 32-bit,
> > which is not the case on some platforms where >=4GiB memory bank
> > is used. Change them to support such memory banks.
> >
> > Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> >
> > ---
> >
> > Changes in v2:
> > - Drop patches which are already applied
> > - Change start to phys_addr_t
> > - Change debug output to either %016llx or %08lx
> >
> >  common/board_f.c             | 9 ++++++++-
> >  include/asm-generic/u-boot.h | 4 ++--
> >  2 files changed, 10 insertions(+), 3 deletions(-)
>
> Acked-by: Simon Glass <sjg at chromium.org>

Unfortunately this one gives an error with grasshopper:

buildman grasshopper
boards.cfg is up to date. Nothing to do.
Building current source for 1 boards (1 thread, 32 jobs per thread)
     avr32:  +   grasshopper
+common/board_f.c: In function 'show_dram_config':
+common/board_f.c:211: warning: comparison is always false due to
limited range of data type

Can you please take a look?

Regards,
Simon


More information about the U-Boot mailing list