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.imx5 | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'doc/README.imx5') diff --git a/doc/README.imx5 b/doc/README.imx5 index c5312b6..ea0e144 100644 --- a/doc/README.imx5 +++ b/doc/README.imx5 @@ -26,3 +26,15 @@ i.MX5x SoCs. 2.1 MAC Address: It is stored in the words 9 to 14 of fuse bank 1, using the natural MAC byte order (i.e. MSB first). + + This is an example how to program an example MAC address 01:23:45:67:89:ab + into the eFuses. Assure that the programming voltage is available and then + execute: + + => fuse prog -y 1 9 01 23 45 67 89 ab + + After programming a MAC address, consider locking the MAC fuses. This is + done by programming the MAC_ADDR_LOCK fuse, which is bit 4 of word 0 in + bank 1: + + => fuse prog -y 1 0 10 -- cgit v1.1