hw/lm32: Use the IEC binary prefix definitions
commitfc0187cb7b94d30c801d73b52eca7fe60b177043
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 25 Jun 2018 12:42:19 +0000 (25 09:42 -0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 2 Jul 2018 13:41:15 +0000 (2 15:41 +0200)
treee956897f86c79821380daee449f891e1a399f9aa
parenta4ed5a3518a6e008625c552472d582fe99c2961d
hw/lm32: Use the IEC binary prefix definitions

It eases code review, unit is explicit.

Patch generated using:

  $ git grep -E '(1024|2048|4096|8192|(<<|>>).?(10|20|30))' hw/ include/hw/

and modified manually.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Acked-by: Michael Walle <michael@walle.cc>
Message-Id: <20180625124238.25339-28-f4bug@amsat.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/lm32/lm32_boards.c
hw/lm32/milkymist.c