-
- Downloads
imx: refactor imx_get_mac_from_fuse
Move imx_get_mac_from_fuse to a new mac.c for i.MX6/7. Since fuse regs structure are different for i.MX6/7, use mac address offset in code and define a new local struture imx_mac_fuse. Also sort the config order. Signed-off-by:Peng Fan <peng.fan@nxp.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <fabio.estevam@nxp.com> Reviewed-by:
Stefano Babic <sbabic@denx.de>
Showing
- arch/arm/mach-imx/Makefile 2 additions, 1 deletionarch/arm/mach-imx/Makefile
- arch/arm/mach-imx/mac.c 61 additions, 0 deletionsarch/arm/mach-imx/mac.c
- arch/arm/mach-imx/mx6/soc.c 0 additions, 34 deletionsarch/arm/mach-imx/mx6/soc.c
- arch/arm/mach-imx/mx7/soc.c 0 additions, 32 deletionsarch/arm/mach-imx/mx7/soc.c
Loading
Please register or sign in to comment