]> git.proxmox.com Git - mirror_qemu.git/commit
ppc/e500: drop RAM size fixup
authorIgor Mammedov <imammedo@redhat.com>
Wed, 19 Feb 2020 16:09:32 +0000 (11:09 -0500)
committerPatchew Importer <importer@patchew.org>
Wed, 19 Feb 2020 16:49:59 +0000 (16:49 +0000)
commit3538e846cb8dad0912d1d9faf305d599879d3ad9
treefa87439f8022d6d07003d773a354a611efdbd513
parentec88838cdc77ad1699f9b44aba20fc23ff3ca484
ppc/e500: drop RAM size fixup

If user provided non-sense RAM size, board will complain and
continue running with max RAM size supported.
Also RAM is going to be allocated by generic code, so it won't be
possible for board to fix things up for user.

Make it error message and exit to force user fix CLI,
instead of accepting non-sense CLI values.

While at it, replace usage of global ram_size with
machine->ram_size

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200219160953.13771-59-imammedo@redhat.com>
hw/ppc/e500.c