summaryrefslogtreecommitdiffstats
path: root/commands/mem.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/mem.c')
-rw-r--r--commands/mem.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/commands/mem.c b/commands/mem.c
index 8a4267cee4..bc84f6d56e 100644
--- a/commands/mem.c
+++ b/commands/mem.c
@@ -616,6 +616,7 @@ static struct memory_platform_data mem_dev_pdata = {
};
static struct device_d mem_dev = {
+ .id = -1,
.name = "mem",
.map_base = 0,
.size = ~0, /* FIXME: should be 0x100000000, ahem... */