summaryrefslogtreecommitdiffstats
path: root/board/Synology/common/Makefile
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2015-12-25 14:41:26 +0100
committerStefan Roese <sr@denx.de>2016-01-14 14:08:59 +0100
commita12d3e4c1e1bba7b8840165f61e732740731463c (patch)
treed0949bde4b57f78c9b39a9e7af906f870dfb4718 /board/Synology/common/Makefile
parentaefb8f4c3290dbfcc24c1da80b3dfa4f0d368512 (diff)
downloadtalos-obmc-uboot-a12d3e4c1e1bba7b8840165f61e732740731463c.tar.gz
talos-obmc-uboot-a12d3e4c1e1bba7b8840165f61e732740731463c.zip
mvebu: ds414: Implement Synology specific command set
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 <phil@nwl.cc> Acked-by: Stefan Roese <sr@denx.de> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board/Synology/common/Makefile')
-rw-r--r--board/Synology/common/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/board/Synology/common/Makefile b/board/Synology/common/Makefile
new file mode 100644
index 0000000000..e66aeb8467
--- /dev/null
+++ b/board/Synology/common/Makefile
@@ -0,0 +1,7 @@
+#
+# Copyright (C) 2015 Phil Sutter <phil@nwl.cc>
+#
+# SPDX-License-Identifier: GPL-2.0+
+#
+
+obj-y := cmd_syno.o
OpenPOWER on IntegriCloud