
26 May
2010
26 May
'10
10:24 p.m.
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