diff options
author | Scott Wood <scottwood@freescale.com> | 2007-09-24 22:09:11 +0200 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-10-03 03:48:43 +0200 |
commit | 27ff35d9026b5d41d66ed95b65d7819db4cf5fb1 (patch) | |
tree | 5f19e6fa083770e4540ae507099cf463e34342da /arch/powerpc/boot/ops.h | |
parent | [POWERPC] boot: Simplify gunzip_finish (diff) | |
download | linux-27ff35d9026b5d41d66ed95b65d7819db4cf5fb1.tar.xz linux-27ff35d9026b5d41d66ed95b65d7819db4cf5fb1.zip |
[POWERPC] bootwrapper: Factor out dt_set_mac_address()
This allows callers to set addresses one at a time when that would be more
convenient.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/boot/ops.h')
-rw-r--r-- | arch/powerpc/boot/ops.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/boot/ops.h b/arch/powerpc/boot/ops.h index f639fcab2c44..e948e57abef8 100644 --- a/arch/powerpc/boot/ops.h +++ b/arch/powerpc/boot/ops.h @@ -161,6 +161,7 @@ static inline void *find_node_by_devtype(const void *prev, void dt_fixup_memory(u64 start, u64 size); void dt_fixup_cpu_clocks(u32 cpufreq, u32 tbfreq, u32 busfreq); void dt_fixup_clock(const char *path, u32 freq); +void dt_fixup_mac_address(u32 index, const u8 *addr); void __dt_fixup_mac_addresses(u32 startindex, ...); #define dt_fixup_mac_addresses(...) \ __dt_fixup_mac_addresses(0, __VA_ARGS__, NULL) |