mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-09 20:18:54 -04:00
FEC: Move imx_get_mac_from_fuse() definition to fec_mxc.h
Signed-off-by: Marek Vasut <marek.vasut@gmail.com> Cc: Ben Warren <biggerbadderben@gmail.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Wolfgang Denk <wd@denx.de> Cc: Detlev Zundel <dzu@denx.de>
This commit is contained in:
parent
17fb268cf7
commit
8edcc6f221
@ -36,7 +36,6 @@
|
|||||||
#ifndef __ASSEMBLY__
|
#ifndef __ASSEMBLY__
|
||||||
#ifdef CONFIG_FEC_MXC
|
#ifdef CONFIG_FEC_MXC
|
||||||
extern void mx25_fec_init_pins(void);
|
extern void mx25_fec_init_pins(void);
|
||||||
extern void imx_get_mac_from_fuse(unsigned char *mac);
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Clock Control Module (CCM) registers */
|
/* Clock Control Module (CCM) registers */
|
||||||
|
@ -34,7 +34,6 @@ extern void mx27_uart1_init_pins(void);
|
|||||||
|
|
||||||
#ifdef CONFIG_FEC_MXC
|
#ifdef CONFIG_FEC_MXC
|
||||||
extern void mx27_fec_init_pins(void);
|
extern void mx27_fec_init_pins(void);
|
||||||
extern void imx_get_mac_from_fuse(unsigned char *mac);
|
|
||||||
#endif /* CONFIG_FEC_MXC */
|
#endif /* CONFIG_FEC_MXC */
|
||||||
|
|
||||||
#ifdef CONFIG_MXC_MMC
|
#ifdef CONFIG_MXC_MMC
|
||||||
|
@ -178,8 +178,6 @@
|
|||||||
#if !(defined(__KERNEL_STRICT_NAMES) || defined(__ASSEMBLY__))
|
#if !(defined(__KERNEL_STRICT_NAMES) || defined(__ASSEMBLY__))
|
||||||
#include <asm/types.h>
|
#include <asm/types.h>
|
||||||
|
|
||||||
extern void imx_get_mac_from_fuse(unsigned char *mac);
|
|
||||||
|
|
||||||
enum mxc_main_clocks {
|
enum mxc_main_clocks {
|
||||||
CPU_CLK,
|
CPU_CLK,
|
||||||
AHB_CLK,
|
AHB_CLK,
|
||||||
|
@ -282,8 +282,6 @@
|
|||||||
#if !(defined(__KERNEL_STRICT_NAMES) || defined(__ASSEMBLY__))
|
#if !(defined(__KERNEL_STRICT_NAMES) || defined(__ASSEMBLY__))
|
||||||
#include <asm/types.h>
|
#include <asm/types.h>
|
||||||
|
|
||||||
extern void imx_get_mac_from_fuse(unsigned char *mac);
|
|
||||||
|
|
||||||
#define __REG(x) (*((volatile u32 *)(x)))
|
#define __REG(x) (*((volatile u32 *)(x)))
|
||||||
#define __REG16(x) (*((volatile u16 *)(x)))
|
#define __REG16(x) (*((volatile u16 *)(x)))
|
||||||
#define __REG8(x) (*((volatile u8 *)(x)))
|
#define __REG8(x) (*((volatile u8 *)(x)))
|
||||||
|
@ -32,6 +32,8 @@
|
|||||||
#ifndef __FEC_MXC_H
|
#ifndef __FEC_MXC_H
|
||||||
#define __FEC_MXC_H
|
#define __FEC_MXC_H
|
||||||
|
|
||||||
|
void imx_get_mac_from_fuse(unsigned char *mac);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Layout description of the FEC
|
* Layout description of the FEC
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user