Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 11468
b: refs/heads/master
c: 3ab4240
h: refs/heads/master
v: v3
  • Loading branch information
Michael Ellerman authored and Stephen Rothwell committed Sep 23, 2005
1 parent 569aa12 commit dafe081
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4762713a93fa8706c31b0897c1340e7dc282d8fb
refs/heads/master: 3ab42407fe0628c7880b21eff057566390865319
20 changes: 15 additions & 5 deletions trunk/arch/ppc64/kernel/iSeries_setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -376,11 +376,6 @@ static void __init iSeries_init_early(void)
}
}

lmb_init();
lmb_add(0, systemcfg->physicalMemorySize);
lmb_analyze();
lmb_reserve(0, __pa(klimit));

/* Initialize machine-dependency vectors */
#ifdef CONFIG_SMP
smp_init_iSeries();
Expand Down Expand Up @@ -1039,9 +1034,24 @@ void dt_prop_empty(struct iseries_flat_dt *dt, char *name)

void build_flat_dt(struct iseries_flat_dt *dt)
{
u64 tmp[2];

dt_init(dt);

dt_start_node(dt, "");

dt_prop_u32(dt, "#address-cells", 2);
dt_prop_u32(dt, "#size-cells", 2);

/* /memory */
dt_start_node(dt, "memory@0");
dt_prop_str(dt, "name", "memory");
dt_prop_str(dt, "device_type", "memory");
tmp[0] = 0;
tmp[1] = systemcfg->physicalMemorySize;
dt_prop_u64_list(dt, "reg", tmp, 2);
dt_end_node(dt);

dt_end_node(dt);

dt_push_u32(dt, OF_DT_END);
Expand Down

0 comments on commit dafe081

Please sign in to comment.