diff options
Diffstat (limited to 'arch/xtensa/platforms/xtfpga/setup.c')
| -rw-r--r-- | arch/xtensa/platforms/xtfpga/setup.c | 6 | 
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/xtensa/platforms/xtfpga/setup.c b/arch/xtensa/platforms/xtfpga/setup.c index 4b9951a4569..96ef8eeb064 100644 --- a/arch/xtensa/platforms/xtfpga/setup.c +++ b/arch/xtensa/platforms/xtfpga/setup.c @@ -60,7 +60,9 @@ void platform_restart(void)  			      "wsr	a2, icountlevel\n\t"  			      "movi	a2, 0\n\t"  			      "wsr	a2, icount\n\t" +#if XCHAL_NUM_IBREAK > 0  			      "wsr	a2, ibreakenable\n\t" +#endif  			      "wsr	a2, lcount\n\t"  			      "movi	a2, 0x1f\n\t"  			      "wsr	a2, ps\n\t" @@ -100,7 +102,7 @@ static void __init update_clock_frequency(struct device_node *node)  	}  	*(u32 *)newfreq->value = cpu_to_be32(*(u32 *)XTFPGA_CLKFRQ_VADDR); -	prom_update_property(node, newfreq); +	of_update_property(node, newfreq);  }  #define MAC_LEN 6 @@ -128,7 +130,7 @@ static void __init update_local_mac(struct device_node *node)  	memcpy(newmac->value, macaddr, MAC_LEN);  	((u8*)newmac->value)[5] = (*(u32*)DIP_SWITCHES_VADDR) & 0x3f; -	prom_update_property(node, newmac); +	of_update_property(node, newmac);  }  static int __init machine_setup(void)  |