aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf537/boards/generic_board.c
diff options
context:
space:
mode:
authorMike Frysinger <michael.frysinger@analog.com>2007-11-22 03:07:03 -0500
committerBryan Wu <bryan.wu@analog.com>2007-11-22 03:07:03 -0500
commit137b1529da492baa654c702ecb60bb950eccb98d (patch)
treee51b79cb23e428eba0e3168b920ec623721886fa /arch/blackfin/mach-bf537/boards/generic_board.c
parentb33d51877726b066699b9ee40b5f512c77bdca38 (diff)
Blackfin arch: sharing the board-specific MAC function does not make sense so move it into board-specific files
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/generic_board.c')
-rw-r--r--arch/blackfin/mach-bf537/boards/generic_board.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf537/boards/generic_board.c b/arch/blackfin/mach-bf537/boards/generic_board.c
index ed0d26aa31ff..d9e48ba23de1 100644
--- a/arch/blackfin/mach-bf537/boards/generic_board.c
+++ b/arch/blackfin/mach-bf537/boards/generic_board.c
@@ -732,3 +732,10 @@ void native_machine_restart(char *cmd)
732 if ((bfin_read_SYSCR() & 0x7) == 0x3) 732 if ((bfin_read_SYSCR() & 0x7) == 0x3)
733 bfin_gpio_reset_spi0_ssel1(); 733 bfin_gpio_reset_spi0_ssel1();
734} 734}
735
736void get_bf537_ether_addr(char *addr)
737{
738 random_ether_addr(addr);
739 printk(KERN_WARNING "%s:%s: Setting Ethernet MAC to a random one\n", __FILE__, __func__);
740}
741EXPORT_SYMBOL(get_bf537_ether_addr);