mirror of
https://github.com/qemu/qemu.git
synced 2024-12-15 23:43:31 +08:00
ppc/pnv: use IEC binary prefixes to represent sizes
Using IEC binary prefixes from qemu/units.h provides a more human-friendly value to size constants. Suggested-by: Eric Blake <eblake@redhat.com> Signed-off-by: Murilo Opsfelder Araujo <muriloo@linux.ibm.com> Message-Id: <20190225170155.1972-4-muriloo@linux.ibm.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
584ea7e76f
commit
b268a6162d
@ -47,11 +47,11 @@
|
||||
|
||||
#include <libfdt.h>
|
||||
|
||||
#define FDT_MAX_SIZE 0x00100000
|
||||
#define FDT_MAX_SIZE (1 * MiB)
|
||||
|
||||
#define FW_FILE_NAME "skiboot.lid"
|
||||
#define FW_LOAD_ADDR 0x0
|
||||
#define FW_MAX_SIZE 0x00400000
|
||||
#define FW_MAX_SIZE (4 * MiB)
|
||||
|
||||
#define KERNEL_LOAD_ADDR 0x20000000
|
||||
#define KERNEL_MAX_SIZE (256 * MiB)
|
||||
|
Loading…
Reference in New Issue
Block a user