spapr_nvram: Correct max nvram size
commit4e2ca12785dc94f4b0abd532cacc44386ee14506
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Fri, 4 Apr 2014 07:26:26 +0000 (4 18:26 +1100)
committerAlexander Graf <agraf@suse.de>
Mon, 16 Jun 2014 11:24:26 +0000 (16 13:24 +0200)
treebe7e9c27cca728c14d182ad68715bed709583b58
parentd5843485894e30133ee0f70deda0f1118e539be4
spapr_nvram: Correct max nvram size

Currently it is UINT16_MAX*16 = 65536*16 = 1048560 which is not
a round number and therefore a bit confusing.

This defines MAX_NVRAM_SIZE precisely as 1MB.

Suggested-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/nvram/spapr_nvram.c