diff options
| author | Esben Haabendal <EsbenHaabendal@gmail.com> | 2008-06-18 11:03:57 +0200 | 
|---|---|---|
| committer | Wolfgang Denk <wd@denx.de> | 2008-07-01 23:44:22 +0200 | 
| commit | ee4ae38342142237ca85913f88ee570c1eb5ca7c (patch) | |
| tree | ff00ce14e2bbb1283af98d0a8faf301264ea3818 | |
| parent | f6a69559d64498a04e1e0b087a9b920e5775f866 (diff) | |
| download | olio-uboot-2014.01-ee4ae38342142237ca85913f88ee570c1eb5ca7c.tar.xz olio-uboot-2014.01-ee4ae38342142237ca85913f88ee570c1eb5ca7c.zip | |
mpc8260: add fdt_fixup_ethernet support
Add support for updating mac-address and local-mac-address in fdt for
all MPC8260 targets.
Signed-off-by: Esben Haabendal <eha@doredevelopment.dk>
| -rw-r--r-- | cpu/mpc8260/cpu.c | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/cpu/mpc8260/cpu.c b/cpu/mpc8260/cpu.c index 414759e74..4d5d141ea 100644 --- a/cpu/mpc8260/cpu.c +++ b/cpu/mpc8260/cpu.c @@ -305,6 +305,11 @@ void ft_cpu_setup (void *blob, bd_t *bd)  {  	char * cpu_path = "/cpus/" OF_CPU; +#if defined(CONFIG_HAS_ETH0) || defined(CONFIG_HAS_ETH1) ||\ +    defined(CONFIG_HAS_ETH2) || defined(CONFIG_HAS_ETH3) +	fdt_fixup_ethernet(blob, bd); +#endif +  	do_fixup_by_path_u32(blob, cpu_path, "bus-frequency", bd->bi_busfreq, 1);  	do_fixup_by_path_u32(blob, cpu_path, "timebase-frequency", OF_TBCLK, 1);  	do_fixup_by_path_u32(blob, cpu_path, "clock-frequency", bd->bi_intfreq, 1); |