From: Marek Behun <marek.behun@nic.cz>
To: u-boot@lists.denx.de
Subject: [PATCH v2 1/3] cmd: mvebu: Implement the Marvell hw_info command
Date: Sat, 27 Feb 2021 14:05:50 +0100 [thread overview]
Message-ID: <20210227140550.07302fb1@nic.cz> (raw)
In-Reply-To: <20210215195934.67034-2-luka.kovacic@sartura.hr>
Luka, Tom,
I am very against this.
there already is `mac` command in cmd/mac.c with following help
display and program the system ID and MAC addresses in EEPROM
[read|save|id|num|errata|date|ports|port_number]
mac read
- read EEPROM content into memory data structure
mac save
- save memory data structure to the EEPROM
mac id
- program system id per hard coded value
mac num string
- program system serial number to value string
mac errata string
- program errata data to value string
mac date YYMMDDhhmmss
- program date to string value YYMMDDhhmmss
mac ports N
- program the number of network ports to integer N
mac X string
- program MAC addr for port X [X=0,1..] to colon separated string"
Why introducing new, vendor specific commands, when we have a global
API for such a thing?
Marek
next prev parent reply other threads:[~2021-02-27 13:05 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-15 19:59 [PATCH v2 0/3] Add support for the GST ESPRESSOBin-Ultra board Luka Kovacic
2021-02-15 19:59 ` [PATCH v2 1/3] cmd: mvebu: Implement the Marvell hw_info command Luka Kovacic
2021-02-16 3:35 ` Tom Rini
2021-02-27 1:09 ` Pali Rohár
2021-02-28 21:54 ` Luka Kovacic
2021-03-01 15:17 ` Pali Rohár
2021-02-27 13:05 ` Marek Behun [this message]
2021-02-28 22:03 ` Luka Kovacic
2021-02-28 23:45 ` Heinrich Schuchardt
2021-02-15 19:59 ` [PATCH v2 2/3] arm: mvebu: mvebu_armada-37xx: Define the loadaddr environment variable Luka Kovacic
2021-02-27 0:38 ` Pali Rohár
2021-02-28 21:26 ` Luka Kovacic
2021-03-01 15:05 ` Pali Rohár
2021-02-15 19:59 ` [PATCH v2 3/3] arm: mvebu: Initial ESPRESSOBin-Ultra board support Luka Kovacic
2021-02-27 0:48 ` Pali Rohár
2021-02-27 13:24 ` Marek Behun
2021-02-28 21:38 ` Luka Kovacic
2021-03-01 15:41 ` Pali Rohár
2021-03-01 17:13 ` Marek Behun
2021-03-01 17:14 ` Marek Behun
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210227140550.07302fb1@nic.cz \
--to=marek.behun@nic.cz \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox