Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 180921
b: refs/heads/master
c: 83f7a06
h: refs/heads/master
i:
  180919: 5fe3743
v: v3
  • Loading branch information
Grant Likely committed Dec 10, 2009
1 parent dc16779 commit 2a11256
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 17 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: f00abd94918c9780f9d2d961fc0e419c11457922
refs/heads/master: 83f7a06eb479e2aeb83536e77a2cb14cc2285e32
8 changes: 0 additions & 8 deletions trunk/arch/microblaze/kernel/prom.c
Original file line number Diff line number Diff line change
Expand Up @@ -155,14 +155,6 @@ static int __init early_init_dt_scan_chosen(unsigned long node,
return 1;
}

static u64 __init dt_mem_next_cell(int s, cell_t **cellp)
{
cell_t *p = *cellp;

*cellp = p + s;
return of_read_number(p, s);
}

static int __init early_init_dt_scan_memory(unsigned long node,
const char *uname, int depth, void *data)
{
Expand Down
8 changes: 0 additions & 8 deletions trunk/arch/powerpc/kernel/prom.c
Original file line number Diff line number Diff line change
Expand Up @@ -432,14 +432,6 @@ static int __init early_init_dt_scan_chosen(unsigned long node,
return 1;
}

static u64 __init dt_mem_next_cell(int s, cell_t **cellp)
{
cell_t *p = *cellp;

*cellp = p + s;
return of_read_number(p, s);
}

#ifdef CONFIG_PPC_PSERIES
/*
* Interpret the ibm,dynamic-memory property in the
Expand Down
8 changes: 8 additions & 0 deletions trunk/drivers/of/fdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,14 @@ int __init early_init_dt_scan_root(unsigned long node, const char *uname,
return 1;
}

u64 __init dt_mem_next_cell(int s, u32 **cellp)
{
u32 *p = *cellp;

*cellp = p + s;
return of_read_number(p, s);
}

/**
* unflatten_device_tree - create tree of device_nodes from flat blob
*
Expand Down
1 change: 1 addition & 0 deletions trunk/include/linux/of_fdt.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ extern void *of_get_flat_dt_prop(unsigned long node, const char *name,
extern int of_flat_dt_is_compatible(unsigned long node, const char *name);
extern unsigned long of_get_flat_dt_root(void);
extern void early_init_dt_check_for_initrd(unsigned long node);
extern u64 dt_mem_next_cell(int s, u32 **cellp);

/* Early flat tree scan hooks */
extern int early_init_dt_scan_root(unsigned long node, const char *uname,
Expand Down

0 comments on commit 2a11256

Please sign in to comment.