hw/nios2: Use the IEC binary prefix definitions
commita3c81ef934c1f60dd7aa3e71071492eda662facb
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 25 Jun 2018 12:42:17 +0000 (25 09:42 -0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 2 Jul 2018 13:41:15 +0000 (2 15:41 +0200)
tree6393f243816489a292882a35086ff5bd1a0fdd34
parenta4fb331dab20e3da6f0189f0cbb02208673f7cfd
hw/nios2: 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>
Message-Id: <20180625124238.25339-26-f4bug@amsat.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/nios2/boot.c