From 95c69223f99425ec1a91ca0cb18b7ecadfba3a5d Mon Sep 17 00:00:00 2001 From: Olaf Mandel Date: Thu, 28 May 2015 14:59:18 +0200 Subject: imx: fec: add MAC reading from eFuses to README Extend the documentation of the fec_mxc configuration by describing its ability to read the ethaddr MAC address from the SoC eFuses. Also add an example how to program the fuses for an imx5 to clarify the byte order. Cc: Stefano Babic Cc: Marek Vasut Signed-off-by: Olaf Mandel --- doc/README.fec_mxc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'doc/README.fec_mxc') diff --git a/doc/README.fec_mxc b/doc/README.fec_mxc index 72a1d595f5..30e05da574 100644 --- a/doc/README.fec_mxc +++ b/doc/README.fec_mxc @@ -1,7 +1,8 @@ U-boot config options used in fec_mxc.c CONFIG_FEC_MXC - Selects fec_mxc.c to be compiled into u-boot. + Selects fec_mxc.c to be compiled into u-boot. Can read out the + ethaddr from the SoC eFuses (see below). CONFIG_MII Must be defined if CONFIG_FEC_MXC is defined. @@ -25,3 +26,9 @@ CONFIG_FEC_MXC_NO_ANEG CONFIG_FEC_MXC_PHYADDR Optional, selects the exact phy address that should be connected and function fecmxc_initialize will try to initialize it. + + +Reading the ethaddr from the SoC eFuses: +if CONFIG_FEC_MXC is defined and the U-Boot environment does not contain the +ethaddr variable, then its value gets read from the corresponding eFuses in +the SoC. See the README files of the specific SoC for details. -- cgit v1.2.3