aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf537/boards/stamp.c
diff options
context:
space:
mode:
authorMike Frysinger <michael.frysinger@analog.com>2007-11-15 08:21:20 -0500
committerBryan Wu <bryan.wu@analog.com>2007-11-15 08:21:20 -0500
commit9862cc5278aabd82230369a142c817e37a42caa3 (patch)
treef9ccb6f3dd824fd678448b286e48e74b175be620 /arch/blackfin/mach-bf537/boards/stamp.c
parent137b1529da492baa654c702ecb60bb950eccb98d (diff)
Blackfin arch: change get_bf537_ether_addr() to bfin_get_ether_addr() since this is not BF537 specific and to better match other Blackfin-specific conventions
Signed-off-by: Mike Frysinger <michael.frysinger@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'arch/blackfin/mach-bf537/boards/stamp.c')
-rw-r--r--arch/blackfin/mach-bf537/boards/stamp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c
index d35f9628972c..90de2182c8d6 100644
--- a/arch/blackfin/mach-bf537/boards/stamp.c
+++ b/arch/blackfin/mach-bf537/boards/stamp.c
@@ -737,9 +737,9 @@ void native_machine_restart(char *cmd)
737 * Currently the MAC address is saved in Flash by U-Boot 737 * Currently the MAC address is saved in Flash by U-Boot
738 */ 738 */
739#define FLASH_MAC 0x203f0000 739#define FLASH_MAC 0x203f0000
740void get_bf537_ether_addr(char *addr) 740void bfin_get_ether_addr(char *addr)
741{ 741{
742 *(u32 *)(&(addr[0])) = bfin_read32(FLASH_MAC); 742 *(u32 *)(&(addr[0])) = bfin_read32(FLASH_MAC);
743 *(u16 *)(&(addr[4])) = bfin_read16(FLASH_MAC + 4); 743 *(u16 *)(&(addr[4])) = bfin_read16(FLASH_MAC + 4);
744} 744}
745EXPORT_SYMBOL(get_bf537_ether_addr); 745EXPORT_SYMBOL(bfin_get_ether_addr);