[U-Boot] [PATCH] powerpc: add support for the Freescale P1022DS reference board

Timur Tabi timur at freescale.com
Wed May 26 22:24:29 CEST 2010


Wolfgang Denk wrote:
> It appears you really haven't bothered checking. We have been using
> it on PowerPC since day 1 - for well over 10 years by now. On many,
> many systems. Get a clue!

I've looked at get_ram_size(), and I don't think I can use it.

We use phys_addr_t to represent DDR sizes, which is a 64-bit integer on the
P1022DS.  get_ram_size() takes a 'long' and returns a 'long', so it's not
capable of handling the amount of memory that we support on the board.

I can use get_ram_size() to test the lower 2GB of DDR, but I can't use it to
verify the amount of RAM in the system.

-- 
Timur Tabi
Linux kernel developer at Freescale


More information about the U-Boot mailing list