aboutsummaryrefslogtreecommitdiff
path: root/include/configs/mgsuvd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/mgsuvd.h')
-rw-r--r--include/configs/mgsuvd.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/configs/mgsuvd.h b/include/configs/mgsuvd.h
index fca2e551347..b862130ae68 100644
--- a/include/configs/mgsuvd.h
+++ b/include/configs/mgsuvd.h
@@ -211,6 +211,15 @@
#define CONFIG_ENV_OFFSET_REDUND (CONFIG_ENV_OFFSET+CONFIG_ENV_SECT_SIZE)
#define CONFIG_ENV_SIZE_REDUND (CONFIG_ENV_SIZE)
+/*
+ * How to get access to the slot ID. Put this here to make it easy
+ * to modify in a centralized location. This is used in the HDLC
+ * driver to set the MAC.
+*/
+#define CONFIG_SYS_SLOT_ID_BASE CONFIG_SYS_PIGGY_BASE
+#define CONFIG_SYS_SLOT_ID_OFF (0x07) /* register offset */
+#define CONFIG_SYS_SLOT_ID_MASK (0x3f) /* mask for slot ID bits */
+
/*-----------------------------------------------------------------------
* Cache Configuration
*/