ppc4xx: correct SDRAM controller warning message condition
commitd23ab92064dd40c668b55544b9b654591e8b963c
authorHollis Blanchard <hollis@penguinppc.org>
Thu, 5 Aug 2010 00:21:35 +0000 (4 17:21 -0700)
committerAlexander Graf <agraf@suse.de>
Thu, 26 Aug 2010 16:18:26 +0000 (26 18:18 +0200)
tree0b321d3e6e2ce04afc2491f6fd9c155b2cea59d1
parent52ba784d357fac20e137cf1393437437c43a3fc4
ppc4xx: correct SDRAM controller warning message condition

The message "Truncating memory to %d MiB to fit SDRAM controller limits"
should be displayed only when a user chooses an amount of RAM which
can't be represented by the PPC 4xx SDRAM controller (e.g. 129MB, which
would only be valid if the controller supports a bank size of 1MB).

Signed-off-by: Hollis Blanchard <hollis@penguinppc.org>
hw/ppc4xx_devs.c