mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 00:32:04 +02:00
SPEAr: Place ethaddr write and read within CONFIG_CMD_NET
ethaddr can be optionally read from i2c memory. So, chip_config command supports reading/writing hw mac id into i2c memory. Placing this code within CONFIG_CMD_NET as this would only be needed when network interface is configured Signed-off-by: Vipin Kumar <vipin.kumar@st.com> Signed-off-by: Amit Virdi <amit.virdi@st.com> Signed-off-by: Stefan Roese <sr@denx.de>
This commit is contained in:
committed by
Albert ARIBAUD
parent
70fdbefc6c
commit
8026b1e42f
@@ -46,3 +46,11 @@ Further options
|
||||
make FLASH=PNOR (supported by SPEAr310 and SPEAr320)
|
||||
- This option generates a uboot image that supports emi controller for
|
||||
CFI compliant parallel NOR flash
|
||||
|
||||
Mac id storage and retrieval in spear platforms
|
||||
|
||||
Please read doc/README.enetaddr for the implementation guidelines for mac id
|
||||
usage. Basically, environment has precedence over board specific storage. The
|
||||
ethaddr beeing used for the network interface is always taken only from
|
||||
environment variables. Although, we can check the mac id programmed in i2c
|
||||
memory by using chip_config command
|
||||
|
Reference in New Issue
Block a user