From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Tue, 22 Dec 2015 10:06:19 +0100 Subject: [U-Boot] [PATCH v2 8/8] common: Implement Synology specific command set In-Reply-To: <20151221232433.DB78761201@mail.nwl.cc> References: <1450740358-5014-1-git-send-email-phil@nwl.cc> <20151221232433.DB78761201@mail.nwl.cc> Message-ID: <5679128B.20500@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 22.12.2015 00:25, Phil Sutter wrote: > Synology keeps per item configuration in a dedicated 'partition' in SPI > flash, namely the one named 'vendor' in DTS file. It contains the two > NICs MAC addresses as well as the item's serial number. I didn't find a > way to have this information extracted automatically, therefore > implemented 'syno populate_env' command which extracts the three values > and puts them into environment. To make things permanent though, one has > to 'saveenv'. > > Another command is 'syno clk_gate', which allows to change the clock > gating which is done in DS414 board file. > > Signed-off-by: Phil Sutter All this is very board specific. So I suggest to move it into the board directory instead. Thanks, Stefan